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

:root {
    --primary-color: #c41e3a;
    --secondary-color: #003366;
    --accent-color: #f0f0f0;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-color: #dddddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

.site-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.primary-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hero-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-heading {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.main-content {
    padding: 60px 0;
}

.daily-tip-block {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border-left: 5px solid var(--warning-color);
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tip-heading {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.tip-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.intro-content-block h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.intro-content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.intro-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    margin-bottom: 60px;
}

.grid-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    line-height: 1.7;
}

.recent-posts-preview {
    margin-bottom: 60px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-preview-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-info {
    padding: 20px;
}

.post-info h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.4;
}

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

.post-excerpt {
    margin: 15px 0;
    line-height: 1.7;
    color: #555;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.cta-feedback {
    margin: 60px 0;
}

.feedback-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.feedback-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feedback-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.why-choose {
    margin-bottom: 60px;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.reason-block {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.reason-block h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.reason-block p {
    line-height: 1.7;
}

.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.reg-number {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

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

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: var(--white);
    padding: 25px;
    z-index: 10000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    margin-bottom: 10px;
}

.cookie-text p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cookie-link {
    color: var(--warning-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

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

.decline-btn {
    background-color: #dc3545;
    color: var(--white);
}

.customize-btn {
    background-color: #6c757d;
    color: var(--white);
}

.page-header-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-main-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
}

.blog-container {
    margin-bottom: 60px;
}

.blog-post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.blog-post-item:hover {
    box-shadow: var(--shadow-hover);
}

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

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

.post-title-main a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.4;
}

.post-title-main a:hover {
    color: var(--primary-color);
}

.post-meta-info {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.post-description {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.btn-read-article {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.about-content-main h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-content-main p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-img-style {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.team-section {
    margin-bottom: 60px;
}

.team-intro-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

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

.team-member-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

.member-bio {
    line-height: 1.7;
    color: #555;
}

.values-section {
    margin-bottom: 60px;
}

.value-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-info-section {
    margin-bottom: 60px;
}

.contact-details-box {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.contact-item {
    text-align: left;
}

.contact-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-form {
    background: var(--white);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-textarea {
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.contact-info-sidebar {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
}

.contact-info-sidebar h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-block p {
    line-height: 1.7;
}

.map-section {
    margin-bottom: 60px;
}

.map-placeholder {
    background: var(--light-bg);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.map-note {
    color: #666;
    font-style: italic;
}

.faq-contact {
    margin-bottom: 60px;
}

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

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

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    line-height: 1.7;
}

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

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

.modal-content {
    background: var(--white);
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--success-color);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.modal-footer {
    padding: 20px;
    text-align: center;
}

.btn-modal-close {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.article-page {
    padding: 40px 0;
}

.article-header {
    margin-bottom: 30px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

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

.article-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #666;
}

.article-featured-image {
    margin-bottom: 40px;
}

.featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.article-content {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.lead-paragraph {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.7;
}

.article-content h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-footer {
    max-width: 800px;
    margin: 0 auto;
}

.author-info {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.author-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.article-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.article-cta h3 {
    margin-bottom: 15px;
}

.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h4 {
    padding: 20px;
    color: var(--secondary-color);
}

.related-item a {
    text-decoration: none;
}

.back-to-blog {
    text-align: center;
    margin: 40px 0;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 968px) {
    .hero-heading {
        font-size: 2rem;
    }

    .intro-section,
    .about-intro,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .grid-three-cols,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .grid-two-cols,
    .footer-grid,
    .contact-info-grid,
    .faq-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-item {
        grid-template-columns: 1fr;
    }

    .primary-navigation ul {
        gap: 15px;
    }

    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .site-name {
        font-size: 1.2rem;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}