/* Global Styles */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #0d47a1;
    --primary-light: #64b5f6;
    --secondary-color: #4caf50;
    --secondary-dark: #388e3c;
    --secondary-light: #81c784;
    --text-color: #333;
    --text-light: #666;
    --text-dark: #111;
    --light-bg: #f8f9fa;
    --white: #fff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

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

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

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

.center {
    text-align: center;
}

section {
    padding: 80px 0;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    max-height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* What You Will Learn Section */
.what-you-learn {
    background-color: var(--light-bg);
}

.what-you-learn h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.learn-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.learn-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.learn-item .icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.learn-item h3 {
    margin-bottom: 10px;
}

/* Featured Posts Section */
.featured-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: var(--white);
}

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

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

.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: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

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

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

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

.terminology h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.term {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.term:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.term h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/5.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--gray-800);
    color: var(--gray-300);
    padding: 70px 0 20px;
}

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

.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p svg {
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--gray-800);
    color: var(--white);
    padding: 15px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 280px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.cookie-btn.customize {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--gray-400);
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-link {
    color: var(--primary-light);
    margin-left: 10px;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/4.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

/* Blog Page Styles */
.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 80px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post:last-child {
    margin-bottom: 0;
}

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

.blog-post .post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.blog-post h2 {
    margin-bottom: 10px;
}

.blog-post h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.blog-post p {
    margin-bottom: 15px;
}

.blog-post ul,
.blog-post ol {
    margin-bottom: 20px;
}

.blog-post li {
    margin-bottom: 8px;
}

.blog-post blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    background-color: var(--gray-100);
    font-style: italic;
}

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

.mission-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.values-list li {
    display: flex;
    margin-bottom: 20px;
}

.value-icon {
    color: var(--primary-color);
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.value-text {
    flex: 1;
}

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

.about-history {
    background-color: var(--light-bg);
}

.about-history h2 {
    text-align: center;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

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

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 11px;
    top: 5px;
}

.timeline-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-section {
    background-color: var(--white);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

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

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

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

.team-member h3,
.team-member p {
    padding: 0 20px;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p:last-of-type {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.social-links a {
    color: var(--gray-600);
}

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

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

.achievements h2 {
    color: var(--white);
    margin-bottom: 50px;
}

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

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1.2rem;
}

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

.partners h2 {
    margin-bottom: 15px;
}

.partners p {
    max-width: 700px;
    margin: 0 auto 40px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 80%;
    max-height: 60px;
}

/* Contact Page Styles */
.contact-content {
    background-color: var(--white);
}

.contact-info-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 30px;
}

.info-items {
    margin-top: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    color: var(--primary-color);
    margin-right: 20px;
}

.info-details h3 {
    margin-bottom: 5px;
}

.social-connect {
    margin-top: 40px;
}

.contact-form form {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.contact-map {
    background-color: var(--light-bg);
}

.contact-map h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

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

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.faq-item {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-600);
}

.modal-icon {
    color: var(--success);
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        order: -1;
    }
    
    .contact-info-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card .post-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
}
