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

:root {
    --primary: #006ce6;
    --secondary: #00c2ff;
    --bg-white: #ffffff;
    --bg-light: #f5f9ff;
    --bg-card: #ffffff;
    --text-main: #1a2b3c;
    --text-dim: #5a6b7c;
    --border: #e1e8f0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* UI Elements */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    overflow: hidden;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 108, 230, 0.2);
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 108, 230, 0.3);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Parallax Section */
.parallax-banner {
    height: 400px;
    background-image: url('../assets/parallax_bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 108, 230, 0.4); /* Overlay for readability */
}

.parallax-banner .container {
    position: relative;
    z-index: 1;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
}

/* Status Badges */
.badge {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-high { background: #e6fffa; color: #00b386; }
.badge-mid { background: #fffaf0; color: #d69e2e; }
.badge-warn { background: #fff5f5; color: #ed8936; }
.badge-low { background: #fff5f5; color: #e53e3e; }

/* Profile/Book Section */
.profile-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.book-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    margin-top: 20px;
}

/* Form Styles */
form input, form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 15px;
    background: #fff;
}

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

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    section { padding: 60px 0; }
}
