/**
* Template Name: FlexStart
* Template URL: https://bootstrapmade.com/flexstart-bootstrap-startup-template/
* Updated: Nov 01 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# 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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #012970; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #4154f1; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --accent-color-rgb: 0, 123, 255;
  --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: #012970;  /* The default color of the main navmenu links */
  --nav-hover-color: #4154f1; /* 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: #4154f1; /* 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);
}

/* PHP Email Form Messages
------------------------------*/
.php-email .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-loading 1s linear infinite;
}

@keyframes php-email-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 40px;
}

.header .logo {
  line-height: 1;
  transition: transform 0.3s ease;
}

.header .logo:hover {
  transform: translateY(-2px);
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
  transition: filter 0.3s ease;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 15px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 500;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 12px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
  }

  .navmenu a::before,
  .navmenu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--nav-hover-color);
  }

  .navmenu a::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .navmenu a::after {
    right: 50%;
    transform: translateX(50%);
  }

  .navmenu a:hover::before,
  .navmenu a:hover::after,
  .navmenu .active::before,
  .navmenu .active::after {
    width: 50%;
  }

  .navmenu a i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navmenu li:hover > a i {
    transform: rotate(180deg);
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    transform: translateY(-2px);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 15px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    z-index: 99;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .navmenu .dropdown:hover ul li {
    transform: translateX(0);
    opacity: 1;
  }

  .navmenu .dropdown ul a {
    padding: 12px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0 8px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: rgba(255, 255, 255, 0.08);
    padding-left: 25px;
    transform: translateX(5px);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    transform: translateY(0);
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
    transform: translateX(-20px);
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
    transform: translateX(0);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 9999;
  }

  .mobile-nav-toggle:hover {
    color: var(--nav-hover-color);
    transform: scale(1.1);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 20px 20px;
    padding: 15px 0;
    margin: 0;
    border-radius: 16px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-20px);
    opacity: 0;
  }

  .mobile-nav-active .navmenu ul {
    transform: translateY(0);
    opacity: 1;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0 8px;
  }

  .navmenu a i {
    font-size: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  }

  .navmenu a i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.05);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.05);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 32px;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/* Listing Dropdown - Desktop */
@media (min-width: 1200px) {
  .navmenu .listing-dropdown {
    position: static;
  }

  .navmenu .listing-dropdown ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .listing-dropdown ul li {
    flex: 1;
  }

  .navmenu .listing-dropdown ul li a,
  .navmenu .listing-dropdown ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
    background-color: var(--nav-dropdown-background-color);
  }

  .navmenu .listing-dropdown ul li a:hover,
  .navmenu .listing-dropdown ul li .active,
  .navmenu .listing-dropdown ul li .active:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: var(--nav-dropdown-background-color);
  }

  .navmenu .listing-dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/* Enhanced Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999;
  }

  .mobile-nav-toggle:hover {
    transform: scale(1.1);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .navmenu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
  }

  .navmenu a:hover::after {
    width: 100%;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a:hover i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    animation: slideDown 0.3s ease-out forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    animation: fadeIn 0.3s ease-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    animation: rotateIn 0.3s ease-out;
  }

  @keyframes rotateIn {
    from {
      transform: rotate(-180deg);
    }
    to {
      transform: rotate(0);
    }
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.4s ease-out;
  }

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

  /* Ripple effect for menu items */
  .navmenu a {
    position: relative;
    overflow: hidden;
  }

  .navmenu a span {
    position: relative;
    z-index: 1;
  }

  .navmenu a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 100%);
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  .navmenu a:active::before {
    width: 300px;
    height: 300px;
    opacity: 0.2;
  }

  /* Smooth scroll for dropdown menus */
  .navmenu .dropdown ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .navmenu .dropdown>.dropdown-active {
    max-height: 500px;
  }
}

/*--------------------------------------------------------------
# Menambah Top Bar diatas Navbar
--------------------------------------------------------------*/
/* Adjust top bar and header spacing */
.top-bar {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  width: 100%;
  z-index: 998;
}

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

.top-bar .contact-info,
.top-bar .email-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.top-bar .contact-info i,
.top-bar .email-info i {
  color: #ffffff;
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.top-bar .contact-info:hover i,
.top-bar .email-info:hover i {
  transform: scale(1.1);
}

.top-bar .contact-info span, 
.top-bar .email-info span {
  color: #ffffff;
  margin-right: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* .top-bar, .header {
      height: 60px;
  }
  
  .header {
      top: 60px;
  } */

  .top-bar {
    padding: 5px 15px;
  }

  .top-bar .container-fluid {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    max-width: 100%;
  }

  .top-bar .contact-info, 
  .top-bar .email-info {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-bar .contact-info i, 
  .top-bar .email-info i {
    margin-right: 5px;
  }
}

/* Top Bar Hide/Show Animation */
.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Language Selector
--------------------------------------------------------------*/  
.language-selector-container {
  position: relative;
  margin-left: 20px;
}

.language-select {
  appearance: none;
  padding: 10px 35px 10px 15px;
  font-size: 14px;
  border: 2px solid var(--nav-color);
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  min-width: 150px;
  color: var(--nav-color);
  font: var(--nav-font);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-select:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.language-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.2);
}

.language-selector-container::after {
  content: '▼';
  font-size: 10px;
  color: var(--nav-color);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.language-selector-container:hover::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Mengatur tampilan di HP */
@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .language-selector-container {
    order: 2;
    margin: 0 15px 0 0;
    padding: 4px 8px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Dark mode support */
/* @media (prefers-color-scheme: dark) {
  .language-select {
      background-color: #1a202c;
      color: #fff;
      border-color: #4a5568;
  }
  
  .language-select:hover {
      border-color: #718096;
  }
  
  .language-selector-container::after {
      color: #cbd5e0;
  }
} */


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Footer Base */
.footer {
  color: #444444;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

/* Footer Top Section */
.footer .footer-top {
  padding: 70px 0 50px;
  position: relative;
}

/* About Section */
.footer .footer-about {
  margin-bottom: 30px;
}

.footer .footer-about a {
  color: #333333;
  font-size: 26px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer .footer-about a:hover {
  color: var(--heading-color);
  transform: translateY(-2px);
}

.footer .footer-contact {
  margin-top: 20px;
}

.footer .footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: slideInRight 0.5s ease forwards;
}

.footer .footer-contact p strong {
  margin-right: 10px;
  color: var(--heading-color);
  font-weight: 600;
}

.footer .footer-contact p span {
  transition: all 0.3s ease;
}

.footer .footer-contact p:hover span {
  color: #007bff;
  transform: translateX(5px);
}

.whatsapp-link { /* Warna hijau khas WhatsApp */
  font-weight: bold;
  font-size: 13px !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Links Section */
.footer h4 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background: #007bff;
  transition: width 0.3s ease;
}

.footer-links:hover h4::after {
  width: 50px;
}

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

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

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0;
  animation: slideInUp 0.5s ease forwards;
  animation-delay: calc(0.1s * var(--item-index, 0));
}

.footer .footer-links ul li i {
  font-size: 12px;
  color: #007bff;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer .footer-links ul li:hover i {
  transform: translateX(5px);
}

.footer .footer-links ul li a {
  color: #666666;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer .footer-links ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #007bff;
  transition: width 0.3s ease;
}

.footer .footer-links ul li:hover a {
  color: #007bff;
  padding-left: 5px;
}

.footer .footer-links ul li:hover a::before {
  width: 100%;
}

/* Social Links */
.footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #007bff;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: calc(0.1s * var(--item-index, 0));
}

.footer .social-links a:hover {
  color: #ffffff;
  background: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Copyright Section */
.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
}

.footer .copyright p {
  margin: 0;
  font-size: 15px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.footer .copyright strong {
  color: var(--heading-color);
  font-weight: 700;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer .footer-top {
    padding: 50px 0 30px;
    margin-left: 10px;
  }
  
  .footer .social-links {
    justify-content: center;
  }
  
  .footer h4 {
    margin-left: 15px;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Scroll Progress Button
--------------------------------------------------------------*/

.scroll-progress {
  position: fixed; /* Tetap menggunakan fixed */
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  pointer-events: auto; /* Memastikan bisa diklik */
  background: transparent; /* Tidak memblok konten di belakangnya */
}

.scroll-progress i {
  position: absolute;
  font-size: 24px;
  color: #0d6efd;
  z-index: 100;
}

.progress-ring {
  transform: rotate(-90deg);
  position: relative; /* Tambahkan ini */
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s;
  transform-origin: 50% 50%;
}

/*--------------------------------------------------------------
# Rounded Image Values
--------------------------------------------------------------*/

.circle-image {
  border-radius: 25px;
  object-fit: cover; /* Agar gambar tidak terdistorsi */
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

#pagination li a.disabled {
  color: #ccc;
  pointer-events: none;
}

.category-filter.active {
    color: #007bff;
    font-weight: bold;
}

.content-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
}

.content-item.hidden {
  display: none;
}

/*--------------------------------------------------------------
# Add Icon WhatsApp kiri bawah -main
--------------------------------------------------------------*/

/* Wrapper for floating buttons */
.floating-buttons-main {
  position: fixed;
  left: 20px;
  bottom: 20px;
  transform: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Show animation for the wrapper */
.floating-buttons-main.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* WhatsApp Button */
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Icon styling with vibration animation */
.whatsapp-button i {
  font-size: 24px;
  margin-right: 10px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: vibrate 1.5s ease-in-out 5s infinite;
}

/* Vibration animation */
@keyframes vibrate {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg) scale(1.1); }
  20% { transform: rotate(8deg) scale(1.1); }
  30% { transform: rotate(-6deg) scale(1.1); }
  40% { transform: rotate(4deg) scale(1.1); }
  50% { transform: rotate(-2deg) scale(1.1); }
  60% { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(0deg); }
}

/* Hover effects */
.whatsapp-button:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-button:hover i {
  /* Pause vibration animation on hover and add hover animation instead */
  animation: none;
  transform: scale(1.2) rotate(-10deg);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(var(--accent-color-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0);
  }
}

/* Apply pulse animation */
.whatsapp-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50px;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Click effect */
.whatsapp-button:active {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Entry animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-buttons-main.show .whatsapp-button {
  animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/*--------------------------------------------------------------
# Add Icon WhatsApp kiri bawah -all page
--------------------------------------------------------------*/
/* Fixed Positioning Wrapper */
body .floating-buttons {
  position: fixed !important;
  left: 30px !important;
  bottom: 30px !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 99999 !important;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* WhatsApp Button Base Styling */
.floating-buttons .whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Icon Styling with Vibration */
.floating-buttons .whatsapp-button i {
  font-size: 24px;
  margin-right: 10px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: vibrate 1.5s ease-in-out 5s infinite;
}

/* Vibration Animation */
@keyframes vibrate {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg) scale(1.1); }
  20% { transform: rotate(8deg) scale(1.1); }
  30% { transform: rotate(-6deg) scale(1.1); }
  40% { transform: rotate(4deg) scale(1.1); }
  50% { transform: rotate(-2deg) scale(1.1); }
  60% { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(0deg); }
}

/* Hover Effects */
.floating-buttons .whatsapp-button:hover {
  color: var(--contrast-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.floating-buttons .whatsapp-button:hover i {
  animation: none;
  transform: scale(1.2) rotate(-10deg);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(var(--accent-color-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0);
  }
}

/* Apply Pulse Effect */
.floating-buttons .whatsapp-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50px;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Click Effect */
.floating-buttons .whatsapp-button:active {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Entry Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply Entry Animation */
.floating-buttons {
  animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Ensure Consistent Display Across Pages */
@media screen and (max-width: 768px) {
  body .floating-buttons {
    left: 15px !important;
    bottom: 15px !important;
  }
  
  .floating-buttons .whatsapp-button {
    padding: 10px 16px;
  }
  
  .floating-buttons .whatsapp-button i {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
/* Page Title Base Styling */
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

/* Heading Section */
.page-title .heading {
  padding: 100px 0 80px;
  position: relative;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--background-color), transparent 40%),
    var(--background-color)
  );
}

/* Animated Border Top */
.page-title .heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in srgb, var(--default-color), transparent 70%),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* Title Animation */
.page-title .heading h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(
    45deg,
    var(--heading-color),
    color-mix(in srgb, var(--heading-color), transparent 30%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleFadeIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle Animation */
.page-title .heading p {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  animation: subtitleFadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes subtitleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumb Navigation */
.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Breadcrumb List */
.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  animation: breadcrumbFadeIn 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes breadcrumbFadeIn {
  to {
    opacity: 1;
  }
}

/* Breadcrumb Items */
.page-title nav ol li {
  position: relative;
  transition: all 0.3s ease;
}

.page-title nav ol li a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.page-title nav ol li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.page-title nav ol li a:hover {
  color: var(--accent-color);
}

.page-title nav ol li a:hover::after {
  width: 100%;
}

/* Breadcrumb Separators */
.page-title nav ol li+li {
  padding-left: 15px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Current Page Indicator */
.page-title nav ol li.current {
  color: var(--accent-color);
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-title .heading {
    padding: 60px 0 40px;
  }

  .page-title .heading h1 {
    font-size: 32px;
  }

  .page-title .heading p {
    font-size: 16px;
  }

  .page-title nav ol {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 98px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 56px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
/* Section Title */
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Animasi Fade In Up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sub-Title (Small Title) */
.section-title h2 {
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 10px 24px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
  transition: transform 0.3s ease-in-out;
}

/* Hover effect untuk judul kecil */
.section-title h2:hover {
  transform: scale(1.05);
}

/* Main Title */
.section-title p {
  color: var(--heading-color);
  margin: 15px 0 0 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--heading-font);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* Underline efek untuk judul utama */
.section-title p::after {
  content: "";
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scaleUp 1s ease-in-out infinite alternate;
}

/* Animasi underline */
@keyframes scaleUp {
  from {
    width: 50px;
  }
  to {
    width: 80px;
  }
}

/* Highlight untuk bagian dari judul */
.section-title p .description-title {
  color: var(--accent-color);
  transition: color 0.3s ease-in-out;
}

.section-title p .description-title:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0;
  display: flex;
  align-items: center;
  background: url(../img/hero-bg.jpg) top center no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 75%);
  z-index: 0; /* Menurunkan z-index overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.text-wrapper {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 20px 0 40px;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: var(--accent-color);
  color: var(--contrast-color) !important; /* Memastikan warna teks tetap */
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-get-started span {
  position: relative; /* Memastikan teks tetap di atas efek hover */
  z-index: 2;
}

.btn-get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: 1; /* Memastikan efek gradient di bawah teks */
}

/* Menambahkan hover effect yang lebih jelas */
.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-get-started:hover::before {
  transform: translateX(100%);
}

.btn-get-started i {
  margin-left: 8px;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-get-started:hover i {
  transform: translateX(5px);
}

/* Animated background shapes */
.shape {
  position: absolute;
  background: rgba(255,255,255,0.15); /* Meningkatkan opacity */
  border-radius: 50%;
  z-index: 1; /* Mengubah z-index agar di atas overlay */
  backdrop-filter: blur(5px); /* Menambah efek blur */
  border: 1px solid rgba(255,255,255,0.2); /* Menambah border tipis */
}

.shape-1 {
  width: 300px;
  height: 300px;
  right: -150px;
  top: -150px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation: float 12s ease-in-out infinite;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 50%;
  right: 10%;
  animation: float 10s ease-in-out infinite;
}

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

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .text-wrapper {
    margin: 0 auto;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* General Styling */
.about {
  padding: 80px 0;
}

.about .container {
  max-width: 1200px;
}

/* Styling untuk Gambar */
.about .about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  transition: transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about .about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
}

/* Styling untuk Konten */
.about .content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.about .content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.about .content .about-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.about .content .about-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  display: block;
  margin: 8px auto;
  transition: width 0.3s ease-in-out;
}

.about .content .about-title:hover::after {
  width: 100px;
}

/* Styling untuk Tombol */
.about .content .btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #4de750, #007BFF); /* Gunakan warna langsung */
  color: #fff;
  padding: 15px 40px;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.4s;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.about .content .btn-read-more i {
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.3s ease-in-out;
}

.about .content .btn-read-more:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #007BFF, #4de750); /* Warna berubah saat hover */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Styling untuk Nama Perusahaan */
.about .content .company-name {
  color: #28a745;
  font-weight: 700;
}

/* Styling untuk Logo Perusahaan */
.about .content .herbivor-logo {
  max-width: 120px;
  transition: transform 0.3s ease-in-out;
}

.about .content .herbivor-logo:hover {
  transform: scale(1.1);
}


/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/
.values .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 30px;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease-in-out;
  height: 100%;
  border: 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.values .card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, rgba(0,0,0,0) 70%);
  transition: all 0.6s ease-in-out;
}

.values .card:hover::before {
  top: 0;
  left: 0;
}

.values .card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  transition: color 0.3s ease-in-out;
}

.values .card:hover {
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.values .card i {
  font-size: 5rem;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.values .card:hover i {
  transform: scale(1.15) rotate(5deg);
  color: #ffc107;
}

.values .card p {
  font-size: 16px;
  transition: color 0.3s ease-in-out;
}

.values .card:hover p {
  color: var(--heading-color);
}


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: all 0.3s ease; /* Transisi halus saat hover */
}

.stats .stats-item:hover {
  background-color: var(--accent-color); /* Ubah warna latar belakang saat hover */
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan yang lebih besar saat hover */
  transform: translateY(-5px); /* Gerakkan sedikit ke atas untuk efek angkat */
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  transition: color 0.3s ease; /* Transisi halus pada ikon */
}

.stats .stats-item:hover i {
  color: var(--surface-color) !important; /* Ubah warna ikon saat hover */
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
  transition: color 0.3s ease; /* Transisi halus pada angka */
}

.stats .stats-item:hover span {
  color: var(--surface-color); /* Ubah warna angka saat hover */
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  transition: color 0.3s ease; /* Transisi halus pada teks */
}

.stats .stats-item:hover p {
  color: #ffffff; /* Ubah warna teks saat hover */
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
/* Features Section */
/* Container utama */
.features {
  padding: 60px 0;
}

.features .image-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.features .best-seller-img {
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.features .image-container:hover .best-seller-img {
  transform: scale(1.05);
}

/* Styling untuk Judul di Section */
.feature-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
  margin-top: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Efek underline */
.feature-section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.4s ease-out;
}

/* Saat elemen muncul di viewport */
.feature-section-title.appear {
  opacity: 1;
  transform: translateY(0);
}

.feature-section-title.appear::after {
  width: 80px; /* Perbesar garis bawah saat muncul */
}

/* Description for first item */
.features .text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent-color);
  opacity: 0; /* Mulai dengan transparan */
  transform: translateX(-30px); /* Mulai dengan efek slide dari kiri */
  animation: fadeInLeftSlide 0.8s ease-out forwards;
}

/* Animasi Fade-in + Slide */
@keyframes fadeInLeftSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mengatur layout agar gambar berada di sebelah kanan dan teks di kiri */
.features .row.align-items-center:first-of-type {
  flex-direction: row-reverse; /* Membalikkan posisi */
}

/* Feature Box */
.features .feature-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.features .feature-box::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 123, 255, 0.1), rgba(255, 102, 0, 0.1));
  transition: width 0.4s ease-in-out;
  left: 0;
  top: 0;
}

.features .feature-box:hover::before {
  width: 100%;
}

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

/* Icon Wrapper */
.features .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #FF6600, #007BFF);
  color: #fff;
  font-size: 24px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 15px;
  transition: all 0.3s;
}

.features .feature-box:hover .icon-wrapper {
  transform: rotate(360deg);
}

.features .feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
/* Clients Section */
.faq {
  background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.2), transparent);
}
/* FAQ Section */
.faq .faq-container {
  background: #f8f9fa; /* Warna latar belakang lebih soft */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq .faq-container .faq-item {
  position: relative;
  padding: 15px 20px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.faq .faq-container .faq-item:hover {
  background: #007BFF;
  transform: scale(1.02);
  box-shadow: 0px 5px 20px rgba(0, 123, 255, 0.15);
}

/* Question Text */
.faq .faq-container .faq-item h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3:hover {
  color: #ffff;
}

/* Expandable Answer Section */
.faq .faq-container .faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  padding: 10px 0;
}

/* Toggle Icon */
.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  transition: transform 0.3s ease-in-out;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: #ffffff;
}

/* Active State - When FAQ is Expanded */
.faq .faq-container .faq-active {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
}

.faq .faq-container .faq-active h3 {
  color: #fff;
}

.faq .faq-container .faq-active .faq-content {
  max-height: 500px;
  opacity: 1;
  padding: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  transition: transform 0.3s ease-in-out;
  color: #ffffff !important;
}


/*--------------------------------------------------------------
# Product Section
--------------------------------------------------------------*/
.product .product-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.product .product-filters li {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 25px;
  background-color: rgba(var(--accent-color-rgb), 0.1);
}

.product .product-filters li:hover,
.product .product-filters li.filter-active {
  color: #fff;
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

/* Desktop layout */
@media (min-width: 768px) {
  .product .product-filters li {
    margin: 0 12px;
  }
}

/* Mobile layout */
@media (max-width: 767px) {
  .product .product-filters {
    max-width: 100%;
    padding: 0 15px;
    gap: 10px;
  }
  
  .product .product-filters li {
    width: calc(33.33% - 10px); /* 3 items per row with gap */
    font-size: 16px;
    padding: 8px 12px;
  }
  
  /* Force last 2 items to take specific widths */
  .product .product-filters li:nth-last-child(-n+2) {
    width: calc(50% - 10px); /* 2 items in last row */
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .product .product-filters li {
    font-size: 14px;
    padding: 6px 10px;
  }
}

.product .product-content {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.product .product-content img {
  transition: transform 0.4s ease-in-out, filter 0.3s ease-in-out;
  width: 100%;
  border-radius: 12px;
}

.product .product-content .product-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: opacity 0.4s ease-in-out, backdrop-filter 0.4s ease-in-out;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product .product-content .product-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--accent-color);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product .product-content .product-info p {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.product .product-content .product-info .preview-link,
.product .product-content .product-info .details-link {
  font-size: 28px;
  color: #fff;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  margin: 10px;
}

.product .product-content .product-info .preview-link:hover,
.product .product-content .product-info .details-link:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.product .product-content:hover .product-info {
  opacity: 1;
  backdrop-filter: blur(8px);
}

.product .product-content:hover img {
  transform: scale(1.2);
  filter: brightness(0.8);
}

.product .product-content:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Testimonial Items */
.testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin: 15px;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Stars Rating */
.stars {
  margin-bottom: 20px;
}

.stars i {
  color: #FFD700;
  margin-right: 3px;
  font-size: 18px;
}

/* Testimonial Content */
.testimonial-item p {
  font-style: italic;
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Profile Section */
.profile {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #007BFF;
}

.profile h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1B2559;
  margin: 0;
}

/* Swiper Slider Customization */
.testimonials-slider {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-pagination {
  bottom: 0;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #007BFF;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-item {
    padding: 20px;
    margin: 10px;
  }

  .testimonial-img {
    width: 50px;
    height: 50px;
  }

  .profile h3 {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
/* Clients Section */
.clients {
  background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.2), transparent);
}

/* Client Logo Container */
.clients .swiper-slide {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease-in-out;
}

/* Client Logo */
.clients .client-logo {
  width: 120px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Hover Effects */
.clients .swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 123, 255, 0.15);
}

.clients .swiper-slide:hover .client-logo {
  transform: scale(1.08);
  filter: grayscale(0%);
  opacity: 1;
}

/* Swiper Container */
.clients .clients-slider {
  padding: 20px 0;
}

.clients .swiper-wrapper {
  height: auto;
  align-items: center;
}

/* Enhanced Pagination */
.clients .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #007bff;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .clients {
    padding: 60px 0;
  }
  
  .clients .client-logo {
    width: 100px;
  }
  
  .clients .swiper-slide {
    min-height: 100px;
    padding: 15px;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clients [data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease-out;
}


/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
/* Recent Posts Section Base Styles */
.recent-posts .post-item {
  background-color: var(--surface-color);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 15px rgba(0, 0, 0, 0.05),
    0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  isolation: isolate;
}

/* Hover Effects for Card */
.recent-posts .post-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 5px 20px rgba(0, 0, 0, 0.08),
    0 0 2px rgba(0, 0, 0, 0.1);
}

/* Image Container and Animation */
.recent-posts .post-item .post-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.recent-posts .post-item .post-img img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-posts .post-item:hover .post-img img {
  transform: scale(1.08) rotate(-1deg);
}

/* Date Badge */
.recent-posts .post-item .post-date {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.recent-posts .post-item:hover .post-date {
  transform: translateY(-3px);
  opacity: 1;
}

/* Content Area */
.recent-posts .post-item .post-content {
  padding: 2rem;
}

/* Title Styling */
.recent-posts .post-item .post-title {
  color: var(--heading-color);
  font-size: 1.35rem;
  font-weight: 700;
  transition: color 0.3s ease;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Meta Information */
.recent-posts .post-item .meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.recent-posts .post-item .meta i {
  font-size: 1rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.recent-posts .post-item:hover .meta i {
  transform: scale(1.1);
}

.recent-posts .post-item .meta span {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Divider Line */
.recent-posts .post-item hr {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  margin: 1.5rem 0;
  opacity: 0.7;
}

/* Read More Link */
.recent-posts .post-item .readmore {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.recent-posts .post-item .readmore i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.recent-posts .post-item .readmore:hover i {
  transform: translateX(5px);
}

.recent-posts .post-item .readmore::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.recent-posts .post-item .readmore:hover::after {
  width: 100%;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recent-posts .post-item {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger child elements animation */
.recent-posts .row > div:nth-child(1) .post-item { animation-delay: 0.1s; }
.recent-posts .row > div:nth-child(2) .post-item { animation-delay: 0.2s; }
.recent-posts .row > div:nth-child(3) .post-item { animation-delay: 0.3s; }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* Contact Section Base */
.contact {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
}

/* Info Item Styling - Enhanced Shadow */
.contact .info-item {
  background: rgba(255, 255, 255, 0.95);
  padding: 35px 25px;
  border-radius: 10px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 15px rgba(0, 0, 0, 0.05),
    0 0 1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 5px 20px rgba(0, 0, 0, 0.08),
    0 0 2px rgba(0, 0, 0, 0.1);
}

/* Icon Animation */
.contact .info-item i {
  font-size: 32px;
  color: #007bff;
  background: rgba(0, 123, 255, 0.1);
  padding: 20px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.contact .info-item:hover i {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-color);
  color: white;
}

/* Text Styling */
.contact .info-item h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 25px 0 10px 0;
  position: relative;
  padding-bottom: 10px;
}

.contact .info-item h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.4s ease;
}

.contact .info-item:hover h3::after {
  width: 50px;
}

.contact .info-item p, 
.contact .info-item a {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .info-item a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Hours container for side-by-side display */
.contact .info-item .hours-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.contact .info-item .hours-column {
  flex: 1;
}

/* Optional: Add some spacing between the columns */
.contact .info-item .hours-column:first-child {
  position: relative;
}

.contact .info-item .hours-column:first-child::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Form Styling - Enhanced Borders */
.contact .php-email {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact .php-email input,
.contact .php-email textarea {
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid rgba(68, 68, 68, 0.15);
  background: rgba(68, 68, 68, 0.02);
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact .php-email input:hover,
.contact .php-email textarea:hover {
  border-color: rgba(0, 123, 255, 0.3);
}

.contact .php-email input:focus,
.contact .php-email textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 
    0 0 0 4px rgba(0, 123, 255, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

/* Submit Button */
.contact .php-email button[type=submit] {
  background: var(--accent-color);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact .php-email button[type=submit]::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
}

.contact .php-email button[type=submit]:hover {
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.contact .php-email button[type=submit]:hover::after {
  width: 100%;
}

/* Map Container */
.contact .map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact .map-container iframe {
  transition: all 0.4s ease;
}

.contact .map-container:hover iframe {
  filter: saturate(1.1);
}

/* Loading and Message States */
.contact .loading,
.contact .error-message,
.contact .sent-message {
  padding: 15px 25px;
  margin: 15px 0;
  border-radius: 8px;
  display: none;
  text-align: center;
  font-size: 15px;
  border: 1px solid;
}

.contact .loading {
  background: rgba(0, 123, 255, 0.1);
  color: var(--accent-color);
  border-color: rgba(0, 123, 255, 0.2);
}

.contact .error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.2);
}

.contact .sent-message {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact .info-item {
    padding: 25px 20px;
  }
  
  .contact .php-email {
    padding: 30px 20px;
  }
  
  .contact .info-item i {
    font-size: 28px;
    padding: 15px;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease-out;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Product Details Section
--------------------------------------------------------------*/
/* Product Introduction Section */
.product-introduction {
  background: linear-gradient(to bottom, 
      color-mix(in srgb, var(--background-color), transparent 50%),
      var(--background-color)
  );
  padding: 40px 0 20px; /* Reduced vertical padding */
}

.product-introduction .product-content {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-introduction .services-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-introduction .product-content:hover .services-img {
  transform: scale(1.05);
}

.product-introduction .card-body {
  padding: 30px;
}

.product-introduction h3 {
  font-size: 28px;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.product-introduction h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.product-introduction h4 {
  font-size: 22px;
  color: var(--accent-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.product-introduction p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .product-introduction .services-img {
      height: 300px;
  }

  .product-introduction h3 {
      font-size: 24px;
  }

  .product-introduction h4 {
      font-size: 20px;
  }
}

@media (max-width: 768px) {
  .product-introduction .services-img {
      height: 250px;
  }

  .product-introduction h3 {
      font-size: 22px;
  }

  .product-introduction h4 {
      font-size: 18px;
  }
}

/* Product Catalog Section */
.product-catalog {
  background: linear-gradient(to bottom, 
      color-mix(in srgb, var(--background-color), transparent 50%),
      var(--background-color)
  );
  padding: 20px 0 80px; /* Reduced top padding, kept bottom padding */
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card .card-body {
  padding: 30px;
  background: var(--surface-color);
}

.product-card .card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.product-card .card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.product-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.product-advantages, 
.product-specifications {
  width: 48%;
}

.product-details h4 {
  font-size: 18px;
  color: var(--accent-color);
  margin-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  padding-bottom: 10px;
}

.product-details ul {
  list-style: none;
  padding: 0;
}

.product-details ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.product-details ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-actions .btn {
  flex-grow: 1;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-actions .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.product-actions .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  transform: translateY(-3px);
}

.product-actions .btn-outline-secondary {
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
  color: var(--default-color);
}

.product-actions .btn-outline-secondary:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .product-details {
      flex-direction: column;
  }
  
  .product-advantages, 
  .product-specifications {
      width: 100%;
  }
}

@media (max-width: 768px) {
  .product-card .card-title {
      font-size: 20px;
  }
  
  .product-details h4 {
      font-size: 16px;
  }
}

/* Help Box - Minimalist Design */
.product-introduction .help-box {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--default-color);
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Hover Effect */
.product-introduction .help-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

/* Main Icon */
.product-introduction .help-box .help-icon {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.product-introduction .help-box:hover .help-icon {
  transform: scale(1.05);
}

/* Title Styling */
.product-introduction .help-box h4 {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

/* Text Styling */
.product-introduction .help-box p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  font-weight: 400;
  margin: 8px 0;
  line-height: 1.6;
}

/* Icon within Text */
.product-introduction .help-box i {
  font-size: 18px;
  margin-right: 8px;
  color: var(--accent-color);
  vertical-align: middle;
}

/* Contact Links */
.product-introduction .help-box a {
  color: var(--default-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.product-introduction .help-box a:hover {
  color: var(--accent-color);
}

/* Subtle Underline Effect */
.product-introduction .help-box a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.product-introduction .help-box a:hover::before {
  width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-introduction .help-box {
      padding: 25px 20px;
  }

  .product-introduction .help-box .help-icon {
      font-size: 36px;
  }

  .product-introduction .help-box h4 {
      font-size: 20px;
  }

  .product-introduction .help-box p {
      font-size: 14px;
  }
}


/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
/* Blog Posts - Enhanced Modern Styling */
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  padding: 0;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  animation: fadeInUp 0.8s ease-out forwards;
}

.blog-posts article:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.blog-posts .post-img {
  max-height: 440px;
  overflow: hidden;
  position: relative;
}

.blog-posts .post-img img {
  transition: transform 0.8s ease;
  width: 100%;
}

.blog-posts article:hover .post-img img {
  transform: scale(1.05);
}

.blog-posts .post-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--surface-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-posts article:hover .post-img::after {
  opacity: 1;
}

.blog-posts .content-wrapper {
  padding: 30px;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0 20px;
  transition: color 0.3s ease;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 2.8em;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
  padding-bottom: 15px;
}

.blog-posts .meta-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.blog-posts article:hover .meta-top::after {
  width: 80px;
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--accent-color);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.blog-posts .meta-top a:hover i {
  opacity: 1;
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  transition: color 0.3s ease;
}

.blog-posts .meta-top a:hover {
  color: var(--accent-color);
}

.blog-posts .content {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.blog-posts .content p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
  margin-top: 30px;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 10px 28px;
  transition: all 0.3s ease;
  font-size: 15px;
  border-radius: 6px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.blog-posts .content .read-more a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.blog-posts .content .read-more a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.blog-posts .content .read-more a:hover::before {
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add this to your HTML to wrap the content */
.blog-posts article {
  display: flex;
  flex-direction: column;
}

.blog-posts article .content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-posts article .content {
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-posts .title {
    font-size: 20px;
    margin: 20px 0 15px;
  }
  
  .blog-posts .meta-top ul {
    gap: 15px;
  }
  
  .blog-posts .content .read-more a {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
/* Enhanced Blog Pagination with Animations */
.blog-pagination {
  padding: 30px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 8px;
}

.blog-pagination li {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.blog-pagination li:hover {
  transform: translateY(-3px);
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background: var(--surface-color);
}

.blog-pagination li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-color);
  z-index: -1;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 8px;
}

.blog-pagination li a.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.25);
}

.blog-pagination li a:hover:not(.active, .disabled) {
  color: var(--contrast-color);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

.blog-pagination li a:hover:not(.active, .disabled)::before {
  transform: scale(1);
}

.blog-pagination li a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: color-mix(in srgb, var(--surface-color), #ccc 5%);
  box-shadow: none;
  transform: none;
}

.blog-pagination li a.disabled:hover {
  transform: translateY(0);
}

.blog-pagination li:first-child a,
.blog-pagination li:last-child a {
  font-size: 18px;
}

.blog-pagination li a i {
  transition: transform 0.3s ease;
}

.blog-pagination li:first-child:hover a i {
  transform: translateX(-3px);
}

.blog-pagination li:last-child:hover a i {
  transform: translateX(3px);
}

/* Entrance animation for pagination */
.blog-pagination ul {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Add a pulse effect to the active page */
.blog-pagination li a.active {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--accent-color-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-pagination ul {
    gap: 5px;
  }
  
  .blog-pagination li a {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 40px;
  transition: all 0.3s ease;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 35px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-details .article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -35px -35px 25px -35px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.blog-details .post-img img {
  transition: transform 0.5s ease;
  width: 100%;
}

.blog-details .post-img:hover img {
  transform: scale(1.05);
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
  position: relative;
  display: inline-block;
}

.blog-details .title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.blog-details .article:hover .title::after {
  width: 100px;
}

.blog-details .content {
  margin-top: 25px;
  line-height: 1.8;
}

.blog-details .content h3 {
  font-size: 24px;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.blog-details .content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent-color);
  border-radius: 4px;
}

.blog-details .content ol {
  padding-left: 20px;
}

.blog-details .content ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 5px;
}

.blog-details .content ol li strong {
  color: var(--accent-color);
  font-weight: 600;
}


.blog-details .content ul {
  padding-left: 20px;
}

.blog-details .content ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 5px;
}

.blog-details .content ul li strong {
  color: var(--accent-color);
  font-weight: 600;
}

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

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 15px;
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.blog-details .meta-top li:hover i {
  transform: translateY(-2px);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  transition: color 0.3s ease;
}

.blog-details .meta-top a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom {
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
}

.blog-details .meta-bottom i {
  color: var(--accent-color);
  display: inline;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.blog-details .meta-bottom:hover i {
  transform: rotate(15deg);
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 10px;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.blog-details .meta-bottom .cats li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.blog-details .content img {
  border-radius: 8px;
  margin: 20px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-details .content img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Add responsive tweaks */
@media (max-width: 768px) {
  .blog-details .article {
    padding: 25px;
  }
  
  .blog-details .post-img {
    margin: -25px -25px 20px -25px;
  }
  
  .blog-details .title {
    font-size: 26px;
  }
  
  .blog-details .content h3 {
    font-size: 20px;
  }
  
  .blog-details .meta-top ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-details .meta-top ul li+li {
    padding-left: 0;
    margin-top: 10px;
  }
}

/* Add animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-details .article {
  animation: fadeInUp 0.5s ease-out forwards;
}

.blog-details .content > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.blog-details .content > *:nth-child(1) { animation-delay: 0.1s; }
.blog-details .content > *:nth-child(2) { animation-delay: 0.2s; }
.blog-details .content > *:nth-child(3) { animation-delay: 0.3s; }
.blog-details .content > *:nth-child(4) { animation-delay: 0.4s; }
.blog-details .content > *:nth-child(5) { animation-delay: 0.5s; }
.blog-details .content > *:nth-child(6) { animation-delay: 0.6s; }
.blog-details .content > *:nth-child(7) { animation-delay: 0.7s; }
.blog-details .content > *:nth-child(8) { animation-delay: 0.8s; }
.blog-details .content > *:nth-child(9) { animation-delay: 0.9s; }
.blog-details .content > *:nth-child(10) { animation-delay: 1s; }

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/* Base Styling */
.widgets-container {
  background-color: var(--surface-color);
  padding: 35px;
  margin: 70px 0 35px 0;
  border-radius: 12px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out forwards;
}

.widgets-container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.widget-title {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 25px 0;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.widget-item:hover .widget-title::after {
  width: 80px;
}

.widget-item {
  margin-bottom: 45px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
  position: relative;
}

.widget-item:nth-child(1) {
  --i: 1;
}

.widget-item:nth-child(2) {
  --i: 2;
}

.widget-item:last-child {
  margin-bottom: 0;
}

/* Categories Styling */
.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 12px;
  transform: translateX(-15px);
  opacity: 0;
  animation: slideIn 0.4s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

.categories-widget ul li:nth-child(1) { --i: 1; }
.categories-widget ul li:nth-child(2) { --i: 2; }
.categories-widget ul li:nth-child(3) { --i: 3; }
.categories-widget ul li:nth-child(4) { --i: 4; }
.categories-widget ul li:nth-child(5) { --i: 5; }
.categories-widget ul li:nth-child(6) { --i: 6; }

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
  position: relative;
  padding-left: 20px;
  display: block;
  font-size: 15px;
}

.categories-widget ul a::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.categories-widget ul a:hover::before {
  transform: scale(1.5);
  opacity: 1;
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

/* Recent Posts Styling */
.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transform: translateY(15px);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.15s);
}

.recent-posts-widget .post-item:nth-child(1) { --i: 1; }
.recent-posts-widget .post-item:nth-child(2) { --i: 2; }
.recent-posts-widget .post-item:nth-child(3) { --i: 3; }

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-widget .post-item img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-posts-widget .post-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.recent-posts-widget .post-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  display: flex;
  align-items: center;
}

.recent-posts-widget .post-item time::before {
  content: '\f017'; /* Font Awesome clock icon - make sure Font Awesome is loaded */
  font-family: 'Font Awesome 5 Free', sans-serif;
  margin-right: 6px;
  font-style: normal;
  font-size: 13px;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .widgets-container {
    padding: 25px;
    margin: 50px 0 25px 0;
  }
  
  .recent-posts-widget .post-item img {
    width: 80px;
    height: 60px;
  }
}