@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Source+Sans+3:wght@400;600&family=Fira+Mono&display=swap');

:root {
 --primary-color: #1E3A5F; /* academic navy */
 --secondary-color: #10B981; /* success green */
 --accent-color: #F59E0B; /* highlight amber */
 --creative-color: #8B5CF6; /* creative violet */
 --bg-light: #FFFBEB; /* paper cream */
 --bg-white: #ffffff;
 --text-dark: #1E293B;
 --text-light: #475569;
 --text-muted: #64748B;
 --border-color: #E2E8F0;
 --chalk-color: #F8FAFC;

 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
 --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
 --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);

 --font-heading: 'Nunito', sans-serif;
 --font-body: 'Source Sans 3', sans-serif;
 --font-mono: 'Fira Mono', monospace;
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.7;
 color: var(--text-dark);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 font-weight: 800;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
 color: var(--secondary-color);
 text-decoration: none;
 transition: var(--transition);
}
a:hover {
 color: var(--primary-color);
}

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

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.rounded-image {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 transition: var(--transition);
 box-shadow: var(--shadow-sm);
}

.header.scrolled {
 background-color: rgba(255, 255, 255, 0.98);
 box-shadow: var(--shadow-md);
}

.announcement-bar {
 background-color: var(--primary-color);
 color: white;
 text-align: center;
 padding: 8px 0;
 font-size: 0.9rem;
 font-weight: 600;
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-family: var(--font-heading);
 font-size: 1.75rem;
 font-weight: 800;
 color: var(--primary-color);
}
.nav-logo:hover {
 color: var(--secondary-color);
}

.nav-menu {
 display: flex;
}
.nav-list {
 display: flex;
 align-items: center;
 list-style: none;
 gap: 32px;
}

.nav-link {
 font-weight: 600;
 font-size: 1rem;
 color: var(--text-dark);
 position: relative;
 padding: 5px 0;
}

.nav-link::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--secondary-color);
 transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
 width: 100%;
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: 16px;
}

.nav-btn {
 padding: 8px 16px;
 font-size: 0.9rem;
}

.nav-toggle {
 display: none;
 font-size: 1.5rem;
 background: none;
 border: none;
 cursor: pointer;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 margin: 5px;
 background: var(--primary-color);
 transition: all 0.3s;
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 70vh;
 display: flex;
 align-items: center;
 justify-content: center;
 background-size: cover;
 background-position: center;
 padding: 100px 0;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: rgba(30, 58, 95, 0.7);
}

.hero-content {
 position: relative;
 text-align: center;
 color: white;
 z-index: 2;
}

.hero-title {
 color: white;
 text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
 font-size: 1.25rem;
 max-width: 700px;
 margin: 0 auto 30px;
 line-height: 1.6;
}

.hero-buttons {
 display: flex;
 justify-content: center;
 gap: 16px;
 flex-wrap: wrap;
}

/* Buttons */
.btn {
 display: inline-block;
 font-weight: 600;
 text-align: center;
 vertical-align: middle;
 cursor: pointer;
 border: 2px solid transparent;
 padding: 12px 28px;
 font-size: 1rem;
 border-radius: var(--radius-md);
 transition: var(--transition);
}

.btn-primary {
 background-color: var(--accent-color);
 color: var(--text-dark);
 border-color: var(--accent-color);
}
.btn-primary:hover {
 background-color: #d97706;
 border-color: #d97706;
 color: var(--bg-white);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}

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

.section a > .btn-secondary {
 color: var(--primary-color);
 border-color: var(--primary-color);
}

.section a > .btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
}

.btn-lg {
 padding: 15px 35px;
 font-size: 1.1rem;
}

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

.section-header {
 text-align: center;
 margin-bottom: 50px;
 max-width: 750px;
 margin-left: auto;
 margin-right: auto;
}

.section-label {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 700;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.15rem; color: var(--text-light); }

/* Grid Layout */
.grid-2 { display: grid; gap: 40px; }
.grid-3 { display: grid; gap: 30px; }
.grid-4 { display: grid; gap: 20px; }

@media(min-width: 768px) {
 .grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center;}
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
 .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Sticky Note Cards */
.card-sticky-note {
 padding: 30px;
 border-radius: 4px 4px 20px 4px;
 box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
 transition: var(--transition);
 position: relative;
}
.card-sticky-note:hover {
 transform: rotate(1deg) translateY(-5px);
 box-shadow: 8px 8px 20px rgba(0,0,0,0.15);
}

.note-yellow { background: #FEF3C7; }
.note-green { background: #D1FAE5; }
.note-violet { background: #E9D5FF; }

.card-sticky-note::before {
 content: '';
 position: absolute;
 top: 0;
 right: 0;
 border-width: 0 30px 30px 0;
 border-style: solid;
 border-color: #fff #fff rgba(0,0,0,0.1) rgba(0,0,0,0.1);
 background: rgba(0,0,0,0.1);
 box-shadow: -1px 1px 2px rgba(0,0,0,0.1);
 border-radius: 0 0 0 5px;
}

.card-sticky-note .card-icon {
 color: var(--primary-color);
 margin-bottom: 1rem;
}
.card-sticky-note .card-icon svg {
 width: 40px;
 height: 40px;
}
.card-sticky-note .card-title {
 font-size: 1.3rem;
}
.card-sticky-note .card-text {
 color: var(--text-light);
 margin-bottom: 1.5rem;
}
.card-sticky-note .card-link {
 font-weight: 700;
 color: var(--primary-color);
}
.card-sticky-note .card-link:hover {
 text-decoration: underline;
}

/* Pencil Stroke Divider */
.pencil-stroke-divider {
 border: 0;
 height: 15px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='15'%3E%3Cpath d='M0 5 Q 25 10, 50 5 T 100 5' stroke='%23D1D5DB' stroke-width='2' fill='none'/%3E%3C/svg%3E");
 background-repeat: repeat-x;
 background-position: center;
 margin: 40px 0;
}

/* Notebook Background */
.bg-light-notebook {
 background-color: var(--bg-light);
 background-image: linear-gradient(rgba(30, 95, 58, 0.05) 1px, transparent 1px);
 background-size: 100% 2em;
 line-height: 2em;
}
.bg-light-notebook .section {
 padding-top: 80px; padding-bottom: 80px;
}
.bg-light-notebook p, .bg-light-notebook li {
 line-height: inherit;
}

/* Category Cards */
.category-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 text-align: center;
 transition: var(--transition);
}
.category-card:hover {
 transform: translateY(-10px);
 box-shadow: var(--shadow-lg);
}
.category-card-img {
 width: 100%;
 height: 180px;
 object-fit: cover;
}
.category-card-title {
 padding: 20px;
 font-size: 1.25rem;
 margin: 0;
}

/* Chalkboard Section */
.section-chalkboard {
 background-color: #333D29;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23414833' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
 color: var(--chalk-color);
}
.section-chalkboard .section-label.chalk {
 background-color: rgba(255,255,255,0.1);
 color: var(--accent-color);
 border: 1px solid var(--accent-color);
}
.section-chalkboard .section-title.chalk-title, .section-chalkboard .section-subtitle.chalk-subtitle {
 color: var(--chalk-color);
}
.section-chalkboard .section-subtitle.chalk-subtitle {
 color: #cbd5e1;
}

.trust-icons {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 40px;
 margin-top: 50px;
 text-align: center;
}
.trust-item h3 {
 color: var(--chalk-color);
 font-size: 1.3rem;
}
.trust-item p {
 color: #9ca3af;
}
.trust-icon {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: rgba(255,255,255,0.05);
 border: 2px solid rgba(255,255,255,0.1);
 display: flex;
 justify-content: center;
 align-items: center;
 margin: 0 auto 15px;
 color: var(--secondary-color);
}
.trust-icon svg { width: 30px; height: 30px; }

/* Testimonials */
.testimonials .testimonial-card {
 background-color: var(--bg-light);
 padding: 30px;
 border-radius: var(--radius-lg);
 border-left: 5px solid var(--accent-color);
 box-shadow: var(--shadow-sm);
}
.testimonial-text {
 font-style: italic;
 color: var(--text-light);
 margin-bottom: 20px;
 position: relative;
 padding-left: 20px;
}
.testimonial-text::before {
 content: '“';
 position: absolute;
 left: 0;
 top: -10px;
 font-size: 3rem;
 color: var(--accent-color);
 font-family: serif;
}
.testimonial-author {
 display: flex;
 align-items: center;
 gap: 15px;
}
.testimonial-img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
}
.author-name { margin-bottom: 0; }
.author-title { font-size: 0.9rem; color: var(--text-muted); }

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 border-radius: var(--radius-lg);
 padding: 60px 40px;
 text-align: center;
}
.cta-content { color: white; }
.cta-title { color: white; margin-bottom: 1rem; }
.cta-text { margin-bottom: 2.5rem; font-size: 1.1rem; opacity: 0.9; }

/* Footer */
.footer {
 background-color: var(--primary-color);
 color: #A0B2C9;
 padding: 60px 0 30px;
 margin-top: 80px;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 1rem; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; }

.footer-heading {
 font-size: 1rem;
 font-weight: 700;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 1px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact-item a { color: #A0B2C9; font-size: 0.95rem; }
.footer-links a:hover, .footer-contact-item a:hover { color: white; }

.footer-contact-item {
 display: flex;
 gap: 12px;
 margin-bottom: 15px;
 font-size: 0.95rem;
 align-items: flex-start;
}
.footer-icon {
 flex-shrink: 0;
 width: 20px;
 height: 20px;
 margin-top: 3px;
 color: var(--secondary-color);
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 30px;
 margin-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.footer-copyright { color: #718096; }
.footer-legal a { color: #718096; margin-left: 20px; }
.footer-legal a:hover { color: white; }

/* About Page Specific */
.page-header-section {
 padding: 120px 0 60px;
 background-color: var(--bg-light);
}
.page-title { font-size: 3.5rem; }
.page-subtitle { font-size: 1.25rem; color: var(--text-light); max-width: 600px; margin: 0 auto;}

.about-image-container { position: relative; }
.checklist {
 list-style: none;
 padding-left: 0;
 margin-top: 20px;
}
.checklist li {
 position: relative;
 padding-left: 28px;
 margin-bottom: 10px;
}
.checklist li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 2px;
 color: var(--secondary-color);
 font-weight: bold;
}
.team-card {
 background-color: var(--bg-light);
 border-radius: var(--radius-lg);
 padding: 30px;
 text-align: center;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-white);
 box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.team-name { font-size: 1.4rem; }
.team-title { font-weight: 600; color: var(--secondary-color); margin-bottom: 10px; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); }

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 50px auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 3px;
 background-color: rgba(255,255,255,0.2);
 top: 0;
 bottom: 0;
 left: 40px;
}
.timeline-item {
 padding: 10px 40px 30px 90px;
 position: relative;
}
.timeline-number {
 position: absolute;
 left: 0;
 top: 10px;
 width: 80px;
 height: 80px;
 border-radius: 50%;
 background-color: var(--accent-color);
 color: var(--primary-color);
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 2rem;
 font-family: var(--font-heading);
 font-weight: 800;
 border: 5px solid #333D29;
 z-index: 1;
}
.timeline-content h3 { color: white;}
.timeline-content p { color: #cbd5e1; }

/* Resurse Page */
.card-article {
 display: flex;
 flex-direction: column;
}

.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.card-body {
 padding: 25px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.article-category {
 font-size: 0.8rem;
 font-weight: 700;
 color: var(--creative-color);
 text-transform: uppercase;
 margin-bottom: 10px;
}
.card-article .card-text {
 flex-grow: 1;
}
.card-article .btn-secondary {
 margin-top: auto;
 align-self: flex-start;
}

/* Contact Page */
.contact-grid {
 display: grid;
 gap: 50px;
}
@media(min-width: 992px) {
 .contact-grid { grid-template-columns: 2fr 1.5fr; }
}

.form-group { margin-bottom: 20px; }
.form-label {
 display: block;
 font-weight: 600;
 margin-bottom: 5px;
}
.form-control {
 width: 100%;
 padding: 12px 15px;
 border-radius: var(--radius-md);
 border: 1px solid var(--border-color);
 font-family: var(--font-body);
 font-size: 1rem;
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}
textarea.form-control { resize: vertical; }
.contact-details-container {
 background-color: var(--bg-light);
 padding: 30px;
 border-radius: var(--radius-lg);
}
.contact-info-card {
 display: flex;
 flex-direction: column;
 gap: 25px;
}
.contact-item { display: flex; gap: 15px; }
.contact-icon-wrapper {
 background-color: var(--primary-color);
 color: white;
 width: 45px;
 height: 45px;
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-shrink: 0;
}
.contact-icon-wrapper svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--text-light); }
.contact-item a { color: var(--primary-color); font-weight: 600; }

.map-section { padding-top: 0; }
.map-container {
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

/* Legal Pages */
.legal-page { padding-bottom: 80px; }
.legal-content {
 max-width: 800px;
 background: white;
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
}
.legal-content h2 { margin-top: 30px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-light); }
.legal-content ul { margin-left: 20px; margin-top: 10px; margin-bottom: 10px; }
.legal-content a { font-weight: 600; }
.cookie-table {
 width: 100%;
 margin-top: 20px;
 border-collapse: collapse;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--primary-color);
 color: white;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 flex-wrap: wrap;
}
.cookie-banner p { margin: 0; max-width: 70%; }
.cookie-banner .cookie-buttons { display: flex; gap: 10px; }
.cookie-banner .btn-primary { background-color: var(--accent-color); color: var(--primary-color); border: none;}
.cookie-banner .btn-secondary { color: white; border-color: white;}

/* Responsive */
@media (max-width: 992px) {
 .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
 .nav-menu {
 position: fixed;
 top: 110px;
 left: -100%;
 width: 100%;
 background-color: var(--bg-white);
 padding: 30px;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
 }
 .nav-menu.active {
 left: 0;
 }
 .nav-list {
 flex-direction: column;
 gap: 25px;
 }
 .nav-toggle {
 display: block;
 }
 .grid-2, .grid-3 { grid-template-columns: 1fr; }
 .reverse-on-mobile { display: flex; flex-direction: column-reverse; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-contact-item { justify-content: center; }
 .footer-bottom { flex-direction: column; gap: 15px; }
 .cookie-banner { flex-direction: column; text-align: center; }
 .cookie-banner p { max-width: 100%; margin-bottom: 15px; }

}