/* Base Styles */
:root {
    --primary-color: #00aeef;
    --primary-dark: #0092cc;
    --secondary-color: #ffc20e;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f1f1f1;
    --gray: #dddddd;
    --gray-dark: #aaaaaa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin-top:-10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
  }
  

  /* View All Stories Button */
.view-all-stories {
    position: fixed;
    top: 100px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 900;
  }
  
  .view-all-stories i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
  }
  
  .view-all-stories:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .view-all-stories:hover i {
    transform: translateX(-3px);
  }
  
  /* Responsive styles for the button */
  @media (max-width: 768px) {


    .view-all-stories {
      margin-top:10px;
      top: 80px;
      left: 20px;
      padding: 0.6rem 1rem;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .view-all-stories {
      margin-top:10px;
      left: 15px;
      padding: 0.5rem 0.8rem;
    }
    
    .view-all-stories span {
      display: none;
    }
    
    .view-all-stories i {
      margin: 0;
    }
  }

  

  /* Header & Navigation */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
  }
  
  header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(0, 174, 239, 0.95);
    backdrop-filter: blur(10px);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
  }
  
  .logo {
    display: flex;
    align-items: center;
    color: var(--white);
  }
  
  .logo img {
    height: 40px;
    margin-right: 1rem;
  }
  
  .logo span {
    margin-left: -7px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
  }
  
  .logo span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .logo:hover span::after {
    width: 100%;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 2px 0;
    transition: var(--transition);
  }
  
  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }
  
    .nav-links {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: var(--primary-color);
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      transition: var(--transition);
    }
  
    .nav-links.active {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  
    .nav-links li {
      margin: 1rem 0;
    }
  }
  

/* Blog Post Layout */
.blog-post {
    padding: 8rem 0 5rem; /* Remove horizontal padding */
    max-width: 1100px; /* Reduce max-width for better readability */
    margin: 0 auto;
  }
  
  .post-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 0 auto; 
    width: 100%; 
  }
  
  /* Post Header */
  .post-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077b6 100%);
    color: var(--white);
    position: relative;
  }
  
  .post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
  }
  
  .post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    justify-content: center; /* Center the items horizontally */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }
  
  .post-category {
    color: var(--secondary-color);
    font-weight: 600;
  }
  
  .post-header h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .post-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
  }
  














  /* Image and Caption Styles */

  

  

  
  

























  /* Featured Image */
  .featured-image {
    margin: 2rem -3rem;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  
  .featured-image img {

    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .featured-image:hover img {
    transform: scale(1.02);
  }

  .featured-image:hover .image-caption {
    transform: translateY(0);
  }

  .image-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    color: var(--white);
    padding: 1rem;
    font-size: 0.9rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  /* Post Introduction */
  .post-introduction {
    padding: 3rem;
    background: white;
  }
  
  .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
  }
  
  /* Key Takeaways */
  .key-takeaways {
    margin-top:100px;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
    margin: 0 3rem 3rem;
    border-radius: var(--border-radius);
  }
  
  .key-takeaways h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .key-takeaways li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .key-takeaways li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  /* Post Sections */
  .post-section {
    padding: 3rem;
    border-bottom: 1px solid var(--gray);
  }
  
  .post-section h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .post-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }
  
  /* Info Box */
  .info-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    border-left: 4px solid var(--primary-color);
  }
  
  .info-icon {
    font-size: 2rem;
    color: var(--primary-color);
  }
  
  .info-content h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .info-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .info-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  /* Stat Grid */
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
  }
  
  .stat-item:hover {
    transform: translateY(-5px);
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
  }
  
  /* Action Points */
  .action-points {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
  }
  
  .action-points h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .action-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .action-points li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
  }
  
  .action-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
  }
  
  /* Quote Block */
  .quote-block {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    position: relative;
  }
  
  .quote-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    opacity: 0.2;
    font-family: Georgia, serif;
  }
  
  .quote-block p {
    margin-top:20px;
    margin-left:25px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  
  .quote-block cite {
    margin-left:20px;
    font-style: normal;
    opacity: 0.8;
  }
  
  /* Image Grid */
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  
  .grid-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .grid-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }
  
  
  .grid-image:hover img {
    transform: scale(1.05);
  }
  
  .grid-image figcaption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    color: var(--white);
    padding: 0.8rem;
    font-size: 0.9rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .grid-image:hover figcaption {
    transform: translateY(0);
  }

  
  /* Key Points */
  .key-points {
    margin: 2rem 0;
  }
  
  .points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .point-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
  }
  
  .point-item:hover {
    transform: translateY(-5px);
  }
  
  .point-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .point-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
  }
  
  /* Alert Box */
  .alert-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .alert-box i {
    font-size: 2rem;
    color: #ffc107;
  }
  
  .alert-content h4 {
    color: #856404;
    margin-bottom: 0.5rem;
  }
  
  /* Action Steps */
  .action-steps {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
  }
  
  .action-steps ol {
    padding-left: 2rem;
    margin: 1rem 0;
  }
  
  .action-steps li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
  }
  
  /* Impact Stats */
  .impact-stats {
    margin: 2rem 0;
  }
  
  .stat-row {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .stat .label {
    color: var(--text-light);
    font-size: 1.1rem;
  }
  
  /* Solution Box */
  .solution-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
  }
  
  .solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .solution-item {
    text-align: center;
  }
  
  .solution-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  /* Highlight Box */
  .highlight-box {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
  }
  
  .highlight-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }
  
  .highlight-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
  }
  
  .highlight-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  /* Action Box */
  .action-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
  }
  
  .action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .action-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
  }
  
  .action-item:hover {
    transform: translateY(-5px);
  }
  
  .action-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  /* Post Footer */
  .post-footer {
    padding: 3rem;
    background: var(--background-light);
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .tag {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
  }
  
  .share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .share-button:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--white);
  }
  
  /* Author Box */
  .author-box {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
  }
  
  .author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .author-info h4 {
    margin-bottom: 0.5rem;
  }
  
  .author-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  /* Related Posts */
  .related-posts {
    margin-top: 3rem;
  }
  
  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .related-post {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
  }
  
  .related-post:hover {
    transform: translateY(-5px);
  }
  
  .related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .related-post h4 {
    padding: 1rem;
    margin: 0;
  }
  
  .related-post .post-date {
    padding: 0 1rem 1rem;
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  /* Sidebar */
  .post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
  
  .sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
  }
  
  .sidebar-widget h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
  }
  
  .sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }
  
  .sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .sidebar-form input {
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
  }
  
  .recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .recent-posts li {
    margin-bottom: 1rem;
  }
  
  .recent-posts a {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
  }
  
  .recent-posts img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
  }
  
  .recent-posts h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .recent-posts span {
    font-size: 0.9rem;
    color: var(--text-light);
  }
  
  .categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .categories li {
    margin-bottom: 0.8rem;
  }
  
  .categories a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: color 0.3s ease;
  }
  
  .categories a:hover {
    color: var(--primary-color);
  }
  
  .categories span {
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .blog-post {
      grid-template-columns: 1fr;
    }
  
    .post-sidebar {
      position: static;
    }
  }
  
  /* Additional Responsive Styles */
@media (max-width: 768px) {
  body {
    margin-left: 0;
    margin-top: 0;
    padding: 0 15px; /* Add padding instead of margin for mobile */
  }

  .blog-post {
    padding: 6rem 0 3rem;
  }

  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-subtitle {
    font-size: 1.1rem;
  }

  .featured-image {
    margin: 2rem 0; /* Remove negative margins on mobile */
  }

  .key-takeaways {
    margin: 2rem 0; /* Adjust margins for mobile */
    padding: 1.5rem;
  }

  .quote-block {
    padding: 2rem;
  }

  .quote-block p {
    font-size: 1.2rem;
  }

  .stat-grid,
  .points-grid,
  .action-grid,
  .solution-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    flex-direction: column;
  }

  .stat {
    margin-bottom: 1.5rem;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .tags {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .post-header {
    padding: 2rem 1.5rem;
  }

  .post-section {
    padding: 2rem 1.5rem;
  }

  .action-points,
  .highlight-box,
  .solution-box {
    padding: 1.5rem;
  }

  .author-box {
    padding: 1.5rem;
  }

  .grid-image img {
    height: 200px; /* Reduce image height on smaller screens */
  }

  .stat-number {
    font-size: 2rem;
  }

  .action-item {
    padding: 1.5rem;
  }
}

/* Fix for long content */
.post-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  display:block;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure tables can scroll horizontally if needed */
table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}



/* Footer Styles */
footer {
    position:fixed;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077b6 100%);
    color: var(--white);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .footer-logo {
    flex-shrink: 0;
  }
  
  .footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
  }
  
  .footer-logo:hover img {
    transform: scale(1.05);
  }
  
  .footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-logo span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .footer-logo:hover span::after {
    width: 100%;
  }
  
  .footer-links {
    display: flex;
    gap: 4rem;
    flex-grow: 1;
    justify-content: flex-end;
  }
  
  .footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .footer-column:hover h4::after {
    width: 50px;
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column ul li {
    margin-bottom: 0.8rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  
  .footer-column ul li:hover {
    transform: translateX(5px);
  }
  
  .footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
  }
  
  .footer-column a:hover {
    opacity: 1;
    color: var(--secondary-color);
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .social-links i {
    width: 20px;
    transition: transform 0.3s ease;
  }
  
  .social-links a:hover i {
    transform: scale(1.2);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
  }
  
  .footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      gap: 2rem;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 2rem;
    }
  
    .image-grid {
      grid-template-columns: 1fr;
    }
  }


  /* Author Box */
.author-box {
  display: flex;
  gap: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0; /* Prevent image from shrinking */
}

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

.author-info {
  flex: 1;
}

.author-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.author-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.author-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Responsive styles for author box */
@media (max-width: 768px) {
  .author-box {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .author-image {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
  }

  .author-image {
    margin-bottom: 1rem;
  }

  .author-info h4 {
    font-size: 1.1rem;
  }

  .author-role {
    font-size: 0.85rem;
  }

  .author-bio {
    font-size: 0.9rem;
  }
}
