/*
Theme Name: Micahguru Blog
Theme URI: https://micahguru.com
Author: Your Name
Description: Custom theme for Micahguru Blog
Version: 1.0
*/

/* Reset and Base Styles */
:root {
    --primary-blue: #0052FF;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #fff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    background-color: #fff;
    color: var(--text-dark);
}

html {
    scroll-behavior: smooth;
}

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

/* Header Base Styles */
.site-header {
  background: var(--white);
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation Styles */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-blue);
}

/* Services Dropdown Styles */
.services-dropdown .dropdown-menu {
  position: absolute;
  top: 60px;
  left: 0%;
  width: 1200px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 350px 1fr;
  padding: 0;
  z-index: 1000;
  margin: auto;
  transform: translateY(10px);
}

.services-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
}

/* Business Formation Section */
.business-formation-section {
  background: #f8fafc;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.business-formation-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-blue);
}

.business-formation-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.business-formation-section p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
  flex-grow: 1;
}

.form-company-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0052ff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  transition: background-color 0.2s;
  margin-top: auto; 
}

.form-company-btn:hover {
  background: #0045d1;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  margin-top: auto; 
  
}

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

/* Services Grid */
.services-content {
  padding: 24px;
}

.services-header {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.service-item:hover {
  background: #f8fafc;
}

.service-item svg {
  width: 20px;
  height: 20px;
  color: #666;
}

.service-item.coming-soon {
  opacity: 0.7;
  cursor: default;
}

.coming-soon-label {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

/* Contact Section */
.contact-section {
  grid-column: 1 / -1;
  border-top: 1px solid #eee;
  margin-top: 24px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666;
  font-size: 14px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-dropdown .dropdown-menu {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    flex-direction: column;
    gap: 16px;
  }
}




/* Featured Posts Section */
.featured-posts {
    padding: 2rem 0;
    overflow: hidden; /* Prevent horizontal scrollbar during hover */
}

.container {
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 90%; /* Add a max-width for larger screens */
    transition: max-width 0.3s ease; /* Smooth transition for container width */
}

.featured-grid {
    display: flex;
    gap: 1rem;
    margin: auto;
    transition: all 0.3s ease;
}

/* Featured Card Styles */
.featured-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0; /* Allow shrinking below content size */
    height:370px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    /*transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/
    opacity: 0.7;
}

/* Hover Effects */
.featured-card.hovered {
    flex: 1.5; /* Increase width on hover */
    z-index: 1; /* Ensure hovered card is on top */
}
.featured-card:hover img {
    transform: scale(1);
    opacity: 0.9;
}

/* Gradient Overlay */
.featured-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0) 100%
    );
}

.category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: #1F2937;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.category-tag2 {    
    position: absolute;    
    top: 1rem;    
    left: 1rem;    
    background: white;    
    color: #1F2937;    
    padding: 0.25rem 0.75rem;    
    border-radius: 4px;    
    font-size: 0.875rem;    
    font-weight: 500;    
    z-index: 2;
    margin-bottom: 10rem;
}

.featured-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 2;
}

.featured-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* CTA Card Styles */
.cfa-card {
    background-color: #2C6EFF;
    border-radius: 1rem;
    padding: 0.7rem;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 3/4;
    flex: 1;
    min-width: 0; /* Allow shrinking below content size */
    height: 370px;
}

.cfa-card img {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
}

.cfa-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cfa-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cfa-button {
    background: white;
    color: #2563EB;
    padding: 0.55rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.cfa-button:hover {
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.25rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .featured-grid {
        flex-wrap: wrap;
    }
    .featured-card, .cfa-card {
        flex-basis: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .featured-card, .cfa-card {
        flex-basis: 100%;
    }
    
    .featured-card,
    .cfa-card {
        aspect-ratio: 16/9;
    }

    .featured-card.hovered {
        flex: 1; /* Reset growth on mobile */
    }
}

/* Touch device support */
@media (hover: none) {
    .featured-card.hovered {
        flex: 1;
    }

    .featured-card:active {
        flex: 1.1;
    }
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
    padding: 32px 0;
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.search-container {
    position: relative;
    margin-bottom: 24px;
}

.search-field {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--gray-100);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 26%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.category-nav ul {
    list-style: none;
}

.category-item {
    margin-bottom: 8px;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.category-item a:hover {
    color: var(--text-dark);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: opacity 0.1s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(100px);
    animation-fill-mode: both;
    will-change: opacity, transform;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: #0052FF;*/
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-in-out;
  color: white;
}
.blog-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card:hover::before {
  opacity: 1;
  animation: borderAnimation 2s linear infinite;
}

/*@keyframes borderAnimation {*/
/*  0% {*/
/*    clip-path: inset(0 0 98% 0);*/
/*  }*/
/*  25% {*/
/*    clip-path: inset(0 98% 0 0);*/
/*  }*/
/*  50% {*/
/*    clip-path: inset(98% 0 0 0);*/
/*  }*/
/*  75% {*/
/*    clip-path: inset(0 0 0 98%);*/
/*  }*/
/*  100% {*/
/*    clip-path: inset(0 0 98% 0);*/
/*  }*/
/*}*/

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    transition: transform 0.5s ease-in-out;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.1) rotate(2deg);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    /*background: var(--primary-blue);*/
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.category-tag2 {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-content h2 {
    margin: 0 0 12px 0;
    font-size: 20px;
    line-height: 1.4;
}

.blog-card-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-card-content p {
    color: var(--gray-600);
    margin: 0 0 16px 0;
    line-height: 1.6;
}



/* Magical sparkle effect */
.blog-card::after {
  content: "✨";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 24px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transform: rotate(0deg);
   color: white;
}

.blog-card:hover::after {
  opacity: 1;
  top: 10px;
  right: 10px;
  transform: rotate(360deg);
  color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.page-numbers.current {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-numbers:hover:not(.current):not(.dots):not(:disabled) {
    background-color: var(--gray-100);
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 12px;
}

.page-numbers:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
    background-color: var(--gray-100);
    padding: 64px 0;
    margin-top: 64px;
    font-family: Arial, sans-serif;
}

.container {
    margin: 0 auto;
    padding: 0 16px;
}

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

.footer-widget h4 {
    color: var(--text-dark);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-widget ul li a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    /*border-top: 1px solid var(--gray-300);*/
    padding-top: 32px;
    text-align: center;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 16px;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    margin: 0 8px;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer-disclaimer {
    color: var(--gray-600);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 16px;
}

.footer-disclaimer p {
    margin: 8px 0;
}

/* Footer Banner Styles */
/*.footer-banner {*/
/*    position: relative;*/
/*background-image: linear-gradient(*/
/*    to right,*/
/*    rgba(29, 78, 216, 0.95),*/
/*    rgba(30, 64, 175, 0.95)*/
/*),*/
/*url('<?php echo get_template_directory_uri(); ?>/assets/images/background.jpeg');*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    border-radius: 1rem;*/
/*    margin: 4rem auto;*/
/*    max-width: 1200px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 3rem;*/
/*    overflow: hidden;*/
/*}*/


/* Profile Stack Styles */

.top-footer{
    max-width: 90%;
    margin: 3rem 8rem auto;
}
.profile-stack {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 110px;
    height: 220px;
    border-radius: 25px;
    border: 2px solid white;
    background-size: cover;
    background-position: center;
    margin-right: -55px; /* Adjust this value to control overlap */
    transition: transform 0.3s ease;
    position: relative; /* Required for z-index to work */
}

.profile-image:hover {
    transform: translateY(-5px);
    z-index: 1; /* Bring the hovered image to the front */
}
/* Ensure the first image is on top, the second below it, and so on */
.profile-image:nth-child(1) {
    z-index: 3;
}

.profile-image:nth-child(2) {
    z-index: 2;
}

.profile-image:nth-child(3) {
    z-index: 1;
}

/* Banner Content Styles */
.banner-content {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2.5rem;
    align-items: center; /* Center content horizontally */
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: center; /* Center the heading text */
}

.banner-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-align: center; /* Center the paragraph text */
}

/* Get Started Button Styles */
.get-started-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #2563EB;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* Remove margin-left: auto */
}

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

.get-started-btn svg {
    transition: transform 0.3s ease;
}

.get-started-btn:hover svg {
    transform: translate(2px, -2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .profile-stack {
        justify-content: center;
        margin-right: 0;
    }

    .get-started-btn {
        margin: 1rem auto 0;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .profile-image {
        width: 48px;
        height: 48px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-bottom: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Filter Buttons */
.category-filter-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--gray-600);
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.category-filter-btn:hover {
    background-color: var(--gray-100);
    color: var(--text-dark);
}

.category-filter-btn.active {
    background-color: var(--primary-blue);
    color: white;
}

.category-filter-btn svg {
    transition: transform 0.2s;
}

.category-filter-btn:hover svg,
.category-filter-btn.active svg {
    transform: translateX(4px);
}

.category-filter-btn.active svg {
    stroke: white;
}

/* Blog Card Transitions */
.blog-card {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

/* No Posts Message */
#no-posts-message {
    text-align: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: 8px;
    color: var(--gray-600);
}

/* Loading indicator */
.loading {
    text-align: center;
    padding: 20px;
}

.loading:after {
    content: ' .';
    animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}


/* Blog Detail Page Styles */
.blog-detail-layout {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-post {
  position: relative;
}

.back-button {
  display: inline-flex;
  align-items: center;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 24px;
}

.back-button svg {
  margin-right: 8px;
}


.post-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.author-info {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 16px;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 500;
  color: var(--text-dark);
}

.post-date {
  color: var(--text-light);
  font-size: 14px;
}

.featured-image {
  margin-bottom: 48px;
  border-radius: 12px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-content-wrapper {
  display: grid;
  max-width: 90%;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  margin: 0 auto;
  padding: 20px 30px;
  
}

.detail-category-tag {
  background: var(--primary-blue);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/*.back-button {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 2px;*/
/*  color: var(--gray-600);*/
/*  text-decoration: none;*/
/*  font-size: 14px;*/
/*  transition: color 0.2s;*/
/*  background-color: red;*/
/*}*/

.post-content {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 1rem;
}

.spaceGiver{
    margin-bottom: 2rem;
}

.get-started-section,
.benefits-section {
  margin-bottom: 48px;
}

.table-of-contents {
  position: sticky;
  top: 100px;
}

.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.toc-nav a {
  display: block;
  padding: 8px 0;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.toc-nav a:hover {
  color: var(--primary-blue);
}

.dream-business-card {
  background-color: #f8f9ff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.card-3d-graphic {
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
}

.block-image {
  width: 100%;
  height: 100%;
  /*object-fit: contain;*/
}

.dream-business-card h3 {
  color: #0052ff;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 24px;
  text-align: center;
}

.get-started-button {
  display: inline-block;
  background-color: #0052ff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  width: calc(100% - 48px);
  transition: background-color 0.2s ease;
}

.get-started-button:hover {
  background-color: #0045d1;
}

.cta-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 48px;
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-content {
  max-width: 1500px;
}

.cta-text h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-button {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 24px;
}

.cta-images {
  display: flex;
  gap: 16px;
}

.cta-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
  }

  .table-of-contents {
    display: none;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 36px;
  }

  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .cta-images {
    margin-top: 24px;
  }
}

/* Blog Detail Styles */
.blog-detail {
  padding-top: 2rem;
}

.container {
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 0 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 2rem;
}

.back-button svg {
  width: 24px;
  height: 24px;
}

.blog-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.blog-detail-content {
  padding-right: 2rem;
}

.category-tag {
  display: inline-block;
  color: #0052ff;
  backround: white;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.category-tag2 {
  display: inline-block;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.post-title {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.post-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.post-date {
  font-size: 0.875rem;
  color: #666;
}

.featured-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .blog-detail-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-detail-content {
    padding-right: 0;
  }

  .post-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

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

  .post-description {
    font-size: 1rem;
  }
}



/* Header and Navigation Styles */
.site-header,
.hero-section {
    position: relative;
    background-color: #ffffff;
    background-image: 
        linear-gradient(#e5e7eb 1px, transparent 1px),
        linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 85px 88px;
    background-position: center center;
}

/* Header Styles */
.site-header {
    padding: 1rem 0;
    /*border-bottom: 0px solid rgba(229, 231, 235, 0.5);*/
}


.header-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-link {
    z-index: 1000;
}

.site-logo {
    height: 50px;
    width: auto;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1F2937;
    margin: 5px 0;
    transition: 0.3s;
}

/* Navigation Wrapper */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Navigation Links */
.nav-link {
    color: #1F2937;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #2563EB;
}

/* Dropdown Styles */
/*.dropdown-container {*/
/*    position: relative;*/
/*}*/

/*.dropdown-menu {*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 0;*/
/*    background: white;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);*/
/*    padding: 0.5rem 0;*/
/*    min-width: 200px;*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*    transform: translateY(10px);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.dropdown-container:hover .dropdown-menu {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    transform: translateY(0);*/
/*}*/

/*.dropdown-item {*/
/*    display: block;*/
/*    padding: 0.5rem 1rem;*/
/*    color: #1F2937;*/
/*    text-decoration: none;*/
/*    transition: background-color 0.2s;*/
/*}*/

/*.dropdown-item:hover {*/
/*    background-color: #F3F4F6;*/
/*    color: #2563EB;*/
/*}*/

/* Incorporate Button */
.incorporate-button {
    background-color: #2563EB;
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.incorporate-button:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.incorporate-button svg {
    transition: transform 0.3s ease;
}
.incorporate-button:hover svg {
    transform: translate(2px, -2px);
}


/* Hero Section Styles */
.hero-section {
    padding: 2.1rem 0;
    text-align: center;
}

.hero-title {
    font-family: 'Inter sans-serif', cursive; 
    color: #2563EB;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: #1F2937;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    word-spacing: 5px;
}

.hero-description {
    color: #6B7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .main-navigation {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .dropdown-container {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown-container.active .dropdown-menu {
        display: block;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    /* Animated hamburger to X */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Mobile Incorporate Button */
    .incorporate-button {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
}

.menu-overlay.active {
    display: block;
}

.footer {
    padding: 40px 30px;
    background: white;
    max-width: 90%;
    margin: 0 auto;
}

.logo {
    margin-bottom: 40px;
}

.logo img {
    height: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #0044ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px ;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-right: 20px;
}

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

.social-icons a {
    color: #666;
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

.lower-footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.lower-footer-content {
    flex: 1;
    max-width: 800px;
}

.lower-footer p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

.trademark {
    font-style: italic;
}

.climate-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.badge-icon {
    width: 35px;
    height: 35px;
}

.badge-text {
    color: #333;
    font-size: 17px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .climate-badge {
        align-self: flex-start;
    }
}



/* Existing styles... */

/* Table of Contents Styles */
.toc-container {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.toc-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333;
}

.toc-list,
.toc-list-sidebar {
  list-style-type: none;
  padding-left: 0;
}

.toc-list li,
.toc-list-sidebar li {
  margin-bottom: 10px;
}

.toc-list a,
.toc-list-sidebar a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.toc-list a:hover,
.toc-list-sidebar a:hover {
  color: #007bff;
}

.toc-list a.active,
.toc-list-sidebar a.active {
  font-weight: bold;
  color: #007bff;
  border-left: 3px solid #007bff;
  padding-left: 10px;
}

.toc-h2 {
  padding-left: 0;
}
.toc-h3 {
  padding-left: 20px;
}
.toc-h4 {
  padding-left: 40px;
}

.table-of-contents-sidebar {
  position: sticky;
  top: 20px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.table-of-contents-sidebar h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #333;
}

@media (max-width: 768px) {
  .table-of-contents-sidebar {
    display: none;
  }
}

/* Post Content Wrapper Styles */
.post-content-wrapper {
  display: flex;
  gap: 30px;
}

.post-content {
  flex: 1;
}

.post-sidebar {
  width: 300px;
}

@media (max-width: 1024px) {
  .post-content-wrapper {
    flex-direction: column;
  }

  .post-sidebar {
    width: 100%;
  }
}

/* Add these styles to your existing CSS */

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.no-results-content {
  max-width: 500px;
  animation: fadeIn 0.5s ease-out;
}

.search-illustration {
  position: relative;
  margin-bottom: 2rem;
}

.search-icon {
  color: #6366f1;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
}

.pulse-circle {
  animation: pulse 2s ease-in-out infinite;
}

.search-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.wave {
  position: absolute;
  border: 2px solid #6366f1;
  border-radius: 50%;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wave1 {
  animation: wave 2s infinite;
}
.wave2 {
  animation: wave 2s infinite 0.6s;
}
.wave3 {
  animation: wave 2s infinite 1.2s;
}

.no-results h2 {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.no-results .description {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.suggestion-chip {
  background: #f3f4f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #4b5563;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-chip:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-1px);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.action-buttons button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.try-again-btn {
  background: #6366f1;
  color: white;
}

.try-again-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.browse-all-btn {
  background: #f3f4f6;
  color: #4b5563;
}

.browse-all-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

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

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

@keyframes pulse {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes wave {
  0% {
    width: 40px;
    height: 40px;
    opacity: 0.8;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .no-results {
    padding: 1.5rem;
    min-height: 300px;
  }

  .no-results h2 {
    font-size: 1.5rem;
  }

  .no-results .description {
    font-size: 1rem;
  }

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

  .action-buttons button {
    width: 100%;
    justify-content: center;
  }

  .search-icon {
    width: 80px;
    height: 80px;
  }
}







