@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);
  }