/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #10B981;
    --dark: #1F2937;
    --light: #F9FAFB;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Font loading moved to HTML for better performance */

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    font-size: 16px;
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0;
    font-weight: 700;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg');
    opacity: 0.1;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
    background-color: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero .btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services h2, .why-us h2, .latest-articles h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.services h2::after, .why-us h2::after, .latest-articles h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.services-grid, .features, .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card, .feature, .article-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-card h3, .feature h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.service-card h3::after, .feature h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.service-card p, .feature p {
    color: var(--gray);
    font-size: 1rem;
}

.services .btn, .latest-articles .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
}

/* Why Us Section */
.why-us {
    background-color: var(--light-gray);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.feature {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    transition: var(--transition);
}

.feature h3 {
    color: var(--dark);
    font-size: 1.4rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta-pattern.svg');
    opacity: 0.1;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

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

.cta p {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn {
    background-color: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Latest Articles */
.article-card {
    overflow: hidden;
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.article-card h3 {
    font-size: 1.3rem;
    margin-top: 10px;
}

.article-card h3 a {
    color: var(--dark);
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

.article-card .read-more {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.article-card .read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.article-card .read-more:hover::after {
    margin-left: 8px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-section p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Blog Styles */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.blog-meta .category {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-meta .date, .blog-meta .author {
    display: flex;
    align-items: center;
}

.blog-meta .date::before, .blog-meta .author::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--gray);
    border-radius: 50%;
    margin-right: 8px;
}

/* Blog Post Page */
.blog-post {
    padding: 60px 0;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-featured-image img {
    width: 100%;
    border-radius: 0;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-content ul li, .blog-content ol li {
    margin-bottom: 10px;
    color: var(--gray);
}

.blog-content ul {
    list-style: disc;
}

.blog-content ol {
    list-style: decimal;
}

/* Info and Quote Boxes */
.info-box, .quote-box, .cta-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: 8px;
}

.info-box {
    background-color: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--primary);
}

.quote-box {
    background-color: rgba(16, 185, 129, 0.05);
    border-left: 4px solid var(--secondary);
    font-style: italic;
}

.quote-box blockquote {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.quote-box cite {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: normal;
    font-weight: 500;
}

.cta-box {
    background-color: var(--light-gray);
    text-align: center;
    padding: 40px;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-box .btn {
    margin-top: 20px;
}

/* Author, Share, and Related Posts */
.blog-author, .blog-share, .related-posts, .blog-comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 30px;
}

.blog-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.blog-share h3, .related-posts h3, .blog-comments h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.share-buttons a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.share-buttons .facebook {
    background-color: #1877F2;
}

.share-buttons .twitter {
    background-color: #1DA1F2;
}

.share-buttons .linkedin {
    background-color: #0A66C2;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.related-post {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(99, 102, 241, 0.05);
}

.related-post h4 {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--dark);
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

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

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Newsletter */
.newsletter {
    background-color: var(--light-gray);
    text-align: center;
    padding: 60px 0;
}

.newsletter h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 25px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 15px;
}

/* Services Page */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.page-header h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-detailed .service-item {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.services-detailed .service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.services-detailed .service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.service-description ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-description ul li {
    margin-bottom: 10px;
    color: var(--gray);
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-item .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.social-media h4 {
    margin-bottom: 15px;
}

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

.social-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* FAQ Section */
.faq-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

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

.faq-item p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

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

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission, .vision, .values {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.values ul {
    list-style: disc;
    padding-left: 20px;
}

.values ul li {
    margin-bottom: 10px;
    color: var(--gray);
}

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

.team-member {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.team-member h4 {
    margin: 20px 0 5px;
    font-size: 1.2rem;
}

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

.team-member p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
}

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

.achievement {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(99, 102, 241, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

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

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

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

/* Blog Page */
.blog-filters {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.filter-categories h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

.categories li a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--light-gray);
    color: var(--gray);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.categories li a:hover, .categories li a.active {
    background-color: var(--primary);
    color: var(--white);
}

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

.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

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

.blog-card-link {
    display: block;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.blog-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover:before {
    opacity: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray);
    position: relative;
}

.blog-meta .category {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.blog-card .read-more {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    transition: var(--transition);
}

.blog-card .read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.blog-card:hover .read-more::after {
    margin-left: 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--white);
    color: var(--gray);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

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

.pagination .next::after {
    content: '→';
    margin-left: 5px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Page Load Animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Scroll Reveal Animation */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards Animation */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

/* Form Styles Enhancement */
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.success-message {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 30px;
    margin: 20px 0;
    border-radius: 12px;
    color: var(--dark);
    animation: fadeIn 0.5s ease-out;
    text-align: center;
    position: relative;
}

.success-message h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.success-message p {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 10px auto;
    animation: scaleIn 0.5s ease-out;
}

.error-message {
    color: #e11d48;
    font-size: 0.85rem;
    margin-top: 5px;
    animation: fadeIn 0.3s ease-out;
}

input.error, textarea.error, select.error {
    border-color: #e11d48;
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item h3 {
    position: relative;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin 0.3s ease;
    margin-bottom: 0;
}

.faq-item.active p {
    max-height: 500px;
    margin-bottom: 15px;
}

/* Navigation Enhancement */
nav ul li a {
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    transform: translateY(-2px);
}

/* Contact Form Enhancement */
.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

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

.contact-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(to right bottom, var(--white), var(--light));
    border-top: 5px solid var(--primary);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--light);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:hover, 
.form-group textarea:hover, 
.form-group select:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

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

/* Media Queries */
@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services h2, .why-us h2, .latest-articles h2, .cta h2 {
        font-size: 1.8rem;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid, .features, .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: 8px;
    }
    
    .blog-author {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        justify-content: center;
    }
}