@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f75815; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;  /* The default color of the main navmenu links */
  --nav-hover-color: #f75815; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f75815; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }
  

/*--------------------------------------------------------------
# Featured Posts Section
--------------------------------------------------------------*/
.featured-posts {
    overflow: hidden;
    position: relative;
  }
  
  .featured-posts .blog-posts-slider .swiper-wrapper {
    height: auto !important;
  }
  
  .featured-posts .blog-post-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
  }
  
  @media (max-width: 1200px) {
    .featured-posts .blog-post-item {
      height: 450px;
    }
  }
  
  @media (max-width: 991px) {
    .featured-posts .blog-post-item {
      height: 400px;
    }
  }
  
  @media (max-width: 768px) {
    .featured-posts .blog-post-item {
      height: 450px;
    }
  }
  
  .featured-posts .blog-post-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .featured-posts .blog-post-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  }
  
  .featured-posts .blog-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--contrast-color);
    z-index: 2;
  }
  
  @media (max-width: 1200px) {
    .featured-posts .blog-post-content {
      padding: 25px;
    }
  }
  
  @media (max-width: 991px) {
    .featured-posts .blog-post-content {
      padding: 25px;
    }
  }
  
  @media (max-width: 768px) {
    .featured-posts .blog-post-content {
      padding: 30px;
    }
  }
  
  .featured-posts .blog-post-content .post-meta {
    margin-bottom: 15px;
    font-size: 14px;
  }
  
  .featured-posts .blog-post-content .post-meta span {
    display: inline-block;
    margin-right: 20px;
  }
  
  .featured-posts .blog-post-content .post-meta span i {
    margin-right: 5px;
    font-size: 16px;
  }
  
  .featured-posts .blog-post-content .post-meta span:last-child {
    margin-right: 0;
  }
  
  .featured-posts .blog-post-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--contrast-color);
    line-height: 1.3;
  }
  
  @media (max-width: 1200px) {
    .featured-posts .blog-post-content h2 {
      font-size: 20px;
    }
  }
  
  @media (max-width: 991px) {
    .featured-posts .blog-post-content h2 {
      font-size: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .featured-posts .blog-post-content h2 {
      font-size: 22px;
    }
  }
  
  .featured-posts .blog-post-content h2 a {
    color: var(--contrast-color);
    transition: 0.3s;
  }
  
  .featured-posts .blog-post-content h2 a:hover {
    color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  }
  
  .featured-posts .blog-post-content p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.9;
  }
  
  @media (max-width: 768px) {
    .featured-posts .blog-post-content p {
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-line-clamp: 3;
    }
  }
  
  .featured-posts .blog-post-content .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--contrast-color);
    font-weight: 500;
    transition: 0.3s;
  }
  
  .featured-posts .blog-post-content .read-more i {
    margin-left: 8px;
    font-size: 14px;
    transition: 0.3s;
  }
  
  .featured-posts .blog-post-content .read-more:hover {
    color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  }
  
  .featured-posts .blog-post-content .read-more:hover i {
    transform: translateX(5px);
  }

  /*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-details .hero-img {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
}

.blog-details .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details .hero-img .meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.blog-details .hero-img .meta-overlay .meta-categories .category {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .hero-img .meta-overlay .meta-categories .category:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.blog-details .hero-img .meta-overlay .meta-categories .divider {
  color: var(--contrast-color);
  margin: 0 0.75rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time {
  color: var(--contrast-color);
  font-size: 0.9rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time i {
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .blog-details .hero-img {
    height: 350px;
    margin-top: -30px;
    margin-bottom: 2rem;
  }
}

.blog-details .article-content {
  padding: 0 1rem;
}

.blog-details .article-content .content-header {
  margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-content .content-header .title {
    font-size: 2rem;
  }
}

.blog-details .article-content .content-header .author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-content .content-header .author-info .author-details .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-content .content-header .author-info .author-details .info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-content .content-header .author-info .author-details .info .role {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
  margin-right: 0.3rem;
}

.blog-details .article-content .content-header .author-info .post-meta .divider {
  margin: 0 0.75rem;
}

.blog-details .article-content .content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.blog-details .article-content .content .lead {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.blog-details .article-content .content h2 {
  font-size: 2rem;
  color: var(--heading-color);
  margin: 3rem 0 1.5rem;
}

.blog-details .article-content .content p {
  margin-bottom: 1.5rem;
}

.blog-details .article-content .content ul {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

.blog-details .article-content .content ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.blog-details .article-content .content .content-image {
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-content .content .content-image.right-aligned {
  float: right;
  max-width: 450px;
  margin: 1rem 0 2rem 2rem;
}

@media (max-width: 768px) {
  .blog-details .article-content .content .content-image.right-aligned {
    float: none;
    max-width: 100%;
    margin: 2rem 0;
  }
}

.blog-details .article-content .content .content-image img {
  width: 100%;
  height: auto;
}

.blog-details .article-content .content .content-image figcaption {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.blog-details .article-content .content .highlight-box {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.blog-details .article-content .content .highlight-box h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.blog-details .article-content .content .highlight-box .trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-content .content .highlight-box .trend-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.blog-details .article-content .content .highlight-box .trend-list li i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.blog-details .article-content .content .highlight-box .trend-list li span {
  color: var(--heading-color);
  font-weight: 500;
}

.blog-details .article-content .content .content-grid {
  margin: 3rem 0;
}

.blog-details .article-content .content .content-grid .info-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-details .article-content .content .content-grid .info-card:hover {
  transform: translateY(-5px);
}

.blog-details .article-content .content .content-grid .info-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.blog-details .article-content .content .content-grid .info-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-details .article-content .content .content-grid .info-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-details .article-content .content blockquote {
  position: relative;
  margin: 3rem 0;
  padding: 2rem 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.blog-details .article-content .content blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-content .content blockquote p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--heading-color);
  margin: 0 0 1rem;
  position: relative;
}

.blog-details .article-content .content blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  display: block;
}

.blog-details .article-content .meta-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: grid;
  gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-details .article-content .meta-bottom .social-links {
  display: flex;
  gap: 1rem;
}

.blog-details .article-content .meta-bottom .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-content .meta-bottom .social-links a i {
  font-size: 1.2rem;
}
