/* Global Styles */
:root {
    /*--primary-color: #4a6bff;*/
    --primary-color: #4f494b;
    --secondary-color: #4f494b;
    /*--secondary-color: #ff6b6b;*/
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #3a5bef;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background-color: #ff5a5a;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: #777;
    font-size: 18px;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 600;
    position: relative;
}

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

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

.btn-contact {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: #3a5bef;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background-color: #f9f9f9;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
}

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

.hero-image {
    flex: 1;
    text-align: right;
}

/* Services Section */
.services {
    background-color: #fff;
}

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

.service-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

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

.about-text {
    flex: 1;
}

.about-text .section-header {
    text-align: left;
}

.about-text .section-header h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 20px;
    color: #777;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 6px;
    box-shadow: var(--box-shadow);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 6px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-item.active {
    opacity: 1;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 3%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 30px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    min-width: 350px;
    flex: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

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

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

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-size: 14px;
}

/* Blog Section */
.blog {
    background-color: #f9f9f9;
}

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

.blog-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

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

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    color: #777;
    margin-bottom: 15px;
}

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

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

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

.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 6px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

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

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

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    color: #777;
}

/* Form validation styles */
.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.05);
}

#form-errors {
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
}

#form-errors p {
    margin: 5px 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 70px 0 0;
}

.footer a, .footer p {
    color: #aaaaaa;
}

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

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #aaa;
    margin-top: 10px;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a,
.footer-services ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
    margin-bottom: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: #3a5bef;
}

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

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

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

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

.footer-bottom p {
    color: #aaa;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #aaa;
    font-size: 14px;
}

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

/* Blog Category Page Styles */
.blog-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.blog-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

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

.category-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.blog-item {
    display: flex;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-item-image {
    flex: 0 0 35%;
    overflow: hidden;
}

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

.blog-item:hover .blog-item-image img {
    transform: scale(1.05);
}

.blog-item-content {
    flex: 1;
    padding: 30px;
}

.blog-item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-item-date {
    color: var(--primary-color);
}

.blog-item-category {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
}

.blog-item-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-item-content h3 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.blog-item-content h3 a:hover {
    color: var(--primary-color);
}

.blog-item-content p {
    color: #777;
    margin-bottom: 20px;
}

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

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 3%;
    color: var(--dark-color);
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pagination a.next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

.pagination a.next i {
    margin-left: 5px;
}

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

.blog-categories {
    background-color: #fff;
    padding-top: 0;
}

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

.category-card {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.category-card p {
    color: #777;
    margin-bottom: 20px;
}

.category-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.category-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Article Detail Page Styles */
.article-detail {
    padding-top: 100px;
}

.article-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 16px;
}

.article-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.article-header h1 {
    font-size: 42px;
    line-height: 1.3;
    max-width: 800px;
}

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

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
}

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

.article-content {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.article-intro {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

.article-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

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

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

.article-content ul li,
.article-content ol li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-tip {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.article-tip h4 {
    display: flex;
    align-items: center;
    color: var(--success-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.article-tip h4 i {
    margin-right: 10px;
}

.article-image {
    margin: 30px 0;
}

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

.image-caption {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

.article-quote {
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    border-radius: 5px;
}

.article-quote blockquote {
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: #555;
}

.article-cta {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
    text-align: center;
    margin: 40px 0;
}

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

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

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

.sidebar-widget {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.author-info {
    text-align: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 3%;
    margin: 0 auto 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.author-info p {
    color: #777;
    font-size: 14px;
}

.categories-widget ul li {
    margin-bottom: 10px;
}

.categories-widget ul li a {
    color: #555;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    align-items: center;
    gap: 15px;
}

.recent-post img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
}

.recent-post-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.recent-post-content h4 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 12px;
    color: #777;
}

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

.article-tags h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.tag {
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.article-share {
    margin-bottom: 50px;
}

.article-share h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.share-button i {
    margin-right: 10px;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.email {
    background-color: #777;
}

.share-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.related-articles {
    margin-bottom: 50px;
}

.related-articles h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.article-comments {
    margin-bottom: 50px;
}

.article-comments h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.comment.reply {
    margin-left: 50px;
    background-color: #f0f0f0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 3%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-meta h4 {
    font-size: 18px;
}

.comment-date {
    font-size: 14px;
    color: #777;
}

.comment-content p {
    margin-bottom: 15px;
    color: #555;
}

.reply-button {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.comment-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
}

.comment-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text .section-header {
        text-align: center;
    }

    .about-text .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-item-image {
        flex: 0 0 200px;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        margin-top: 50px;
    }

    .about-image {
        width: 100%;
    }
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Service Icon Animation */
.service-icon {
    transition: transform 0.5s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background-color: rgba(74, 107, 255, 0.2);
}

/* Hero Section Animation */
.hero-content h1 {
    position: relative;
    overflow: hidden;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f9f9f9, transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Testimonial Animation */
.testimonial {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

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

/* Form Animation */
.form-group input,
.form-group select,
.form-group textarea {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: scale(1.02);
}

/* Button Animation */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Social Media Icons Animation */
.social-media a {
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.social-media a:nth-child(1) {
    --i: 0;
}

.social-media a:nth-child(2) {
    --i: 1;
}

.social-media a:nth-child(3) {
    --i: 2;
}

.social-media a:nth-child(4) {
    --i: 3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .testimonial-slider {
        flex-direction: column;
    }

    .testimonial {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h3::after,
    .footer-services h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-newsletter form {
        max-width: 400px;
        margin: 0 auto 20px;
    }

    .social-media {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

.me-3 {
    margin-right: 1rem !important;
}
