/* 
* Financial Literacy for New Canadians
* Main Stylesheet
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #bbdefb;
    --secondary-color: #ff8f00;
    --secondary-dark: #ef6c00;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #e1e5ea;
    --success-color: #4caf50;
    --warning-color: #ffc107;
    --error-color: #f44336;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-transform: capitalize;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ===== What You'll Learn Section ===== */
.what-you-learn {
    background-color: var(--bg-color);
    text-align: center;
}

.what-you-learn h2 {
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.what-you-learn h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.learn-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.learn-card .icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.learn-card .icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
}

.learn-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* ===== Latest Posts Section ===== */
.latest-posts {
    background-color: var(--bg-light);
    text-align: center;
}

.latest-posts h2 {
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.latest-posts h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    overflow: hidden;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.view-all {
    margin-top: 3rem;
}

/* ===== Tip of the Day ===== */
.tip-of-day {
    background-color: var(--bg-color);
}

.tip-card {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.tip-card h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tip-content {
    display: flex;
    align-items: flex-start;
}

.tip-icon {
    margin-right: 1.5rem;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.tip-icon svg {
    color: white;
}

.tip-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* ===== Testimonials ===== */
.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
}

.testimonial-slider::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin-right: 2rem;
    scroll-snap-align: start;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    text-align: left;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: var(--primary-light);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    text-align: left;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== Newsletter ===== */
.newsletter {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
}

.newsletter-form button:hover {
    background-color: var(--secondary-dark);
}

/* ===== Footer ===== */
footer {
    background-color: #263238;
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons svg {
    color: white;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact svg {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: white;
}

/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1 1 100%;
}

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

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-accept:hover {
    background-color: #3d8b40;
}

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

.btn-customize:hover {
    background-color: var(--primary-dark);
}

.btn-decline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-decline:hover {
    background-color: var(--bg-light);
}

.cookie-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: underline;
    margin-left: auto;
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--primary-light);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Blog Page Styles ===== */
.blog-content {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.blog-post {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-image {
    height: 350px;
}

.blog-post .post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.blog-post h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.blog-post ul, .blog-post ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-form input {
    flex-grow: 1;
    padding: 0.75rem;
    border: none;
    outline: none;
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--primary-dark);
}

.categories-widget ul {
    list-style: none;
    padding: 0;
}

.categories-widget li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
}

.popular-post .post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.popular-post .post-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.popular-post .post-info a {
    color: var(--text-color);
}

.popular-post .post-info a:hover {
    color: var(--primary-color);
}

.popular-post .date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.subscribe-widget p {
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
}

/* ===== Resources Page Styles ===== */
.resources-section {
    padding: 5rem 0;
}

.resources-section:nth-child(odd) {
    background-color: var(--bg-light);
}

.resources-section h2 {
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.resources-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.resource-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    background-color: var(--primary-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.resource-icon svg {
    color: var(--primary-dark);
}

.resource-content h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.resource-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.glossary-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.glossary-search {
    margin-bottom: 2rem;
}

.glossary-search input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.glossary-term {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.glossary-term h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.glossary-term p {
    margin-bottom: 0;
    color: var(--text-light);
}

.glossary-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.btn-pagination {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-pagination:hover, .btn-pagination.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-pagination:last-child {
    width: auto;
    padding: 0 1rem;
}

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

.institution-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.institution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.institution-card h3 {
    margin: 1.5rem 0 0.8rem;
    color: var(--primary-dark);
}

.institution-card p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.institution-card .btn {
    margin-bottom: 1.5rem;
}

.resources-cta {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===== About Page Styles ===== */
.about-story {
    padding: 5rem 0;
}

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

.about-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.our-mission {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.mission-content h2 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.mission-value {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-value .icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.mission-value .icon svg {
    color: var(--primary-dark);
}

.mission-value h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.team-section {
    padding: 5rem 0;
    text-align: center;
}

.team-section h2 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.team-member {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-dark);
}

.team-member p {
    margin: 0 1.5rem;
    color: var(--text-light);
}

.team-member p:nth-of-type(1) {
    color: var(--secondary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links a:hover svg {
    color: white;
}

.social-links svg {
    color: var(--primary-dark);
}

.achievements {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.achievements h2 {
    color: white;
    margin-bottom: 3rem;
}

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

.stat-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
}

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

.partners {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.partners h2 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.about-cta {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

/* ===== Contact Page Styles ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.contact-info > p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item .icon {
    margin-right: 1.5rem;
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-item .icon svg {
    color: var(--primary-dark);
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-form-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-last-child(3),
.form-group:nth-last-child(2),
.form-group:last-child {
    grid-column: span 2;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.map-section h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.map-container {
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
    text-align: center;
}

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

.faq-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .tip-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tip-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-last-child(3),
    .form-group:nth-last-child(2),
    .form-group:last-child {
        grid-column: span 1;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .cookie-link {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .post-image {
        height: 180px;
    }
    
    .resource-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item .icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-connect {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
