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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #34495e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.primary-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-block {
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-text-block h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.tip-of-day {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.tip-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
    align-items: center;
}

.tip-icon {
    font-size: 60px;
    color: var(--accent-color);
}

.tip-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tip-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.beginners-section {
    padding: 80px 0;
}

.beginners-block h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.beginner-item {
    text-align: center;
    padding: 30px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.beginner-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.beginner-item i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.beginner-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.beginner-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.featured-boards {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.board-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.board-info {
    padding: 25px;
}

.board-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.board-info p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-preview {
    padding: 80px 0;
}

.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.secondary-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

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

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-col p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-col i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept-all {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.cookie-btn.accept-all:hover {
    background-color: #c0392b;
}

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

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

.cookie-btn.decline {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.cookie-btn.decline:hover {
    background-color: #ccc;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.cookie-options {
    margin-bottom: 30px;
}

.cookie-options label {
    display: block;
    margin-bottom: 20px;
    cursor: pointer;
}

.cookie-options input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-desc {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-left: 25px;
    margin-top: 5px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.page-header-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.page-header-section h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-light);
}

.blog-listing {
    padding: 80px 0;
}

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

.post-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-date {
    display: inline-block;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-content h2 a {
    color: var(--primary-color);
}

.post-content h2 a:hover {
    color: var(--secondary-color);
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-link:hover {
    color: #c0392b;
}

.story-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.story-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 0;
}

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

.team-member {
    text-align: center;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.values-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.values-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.value-item {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block h2,
.contact-form-block h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-info-block p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 30px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.info-details p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.thank-you-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-box {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 10001;
    max-width: 500px;
}

.modal-box i {
    font-size: 80px;
    color: #27ae60;
    margin-bottom: 20px;
}

.modal-box h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-box p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.modal-close-btn {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background-color: #c0392b;
}

.post-single {
    padding: 60px 0;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.post-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-light);
    font-size: 15px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-featured-image {
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-body h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.post-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.post-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
}

.back-to-blog:hover {
    color: #c0392b;
}

@media (max-width: 768px) {
    .primary-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-text-block h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .tip-card {
        flex-direction: column;
        text-align: center;
    }
    
    .about-flex {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .boards-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 32px;
    }
    
    .post-body h2 {
        font-size: 26px;
    }
}