/**
* Template Name: Arsha
* Template URL: https://bootstrapmade.com/arsha-free-bootstrap-html-template-corporate/
* Updated: Feb 22 2025 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: "Open Sans",  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: "Jost",  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: #37517e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #47b2e4; /* 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: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #47b2e4; /* 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: #f5f6f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --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);
}

/* Global responsive helpers */
*, *::before, *::after {
  box-sizing: border-box;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fluid section padding and readable typography across viewports */
.section {
  padding: clamp(28px, 4vw, 80px) 0;
}

html {
  font-size: 16px;
}
body {
  font-size: clamp(13px, 1.2vw, 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Make containers slightly fluid on very small screens */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

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-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

.php-email-form .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-form-loading 1s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #3d4d6a;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 12px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header .logo {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.header .logo img {
  max-height: clamp(28px, 6vw, 55px);
  width: auto;
  margin-right: 0;
  display: block;
  object-fit: contain;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.05;
}

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

.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;
  }
}

/* Very small screens (phones and tiny viewports) */
@media (max-width: 575.98px) {
  .header {
    padding: 10px 0;
  }
  .header .logo img { max-height: 42px; }
  .header .logo h1 { font-size: 18px; }
  .header .btn-getstarted { padding: 6px 10px; margin-left: 8px; font-size: 13px; }

  /* Portfolio: use auto image height and make info visible below image */
  .portfolio .portfolio-item img { height: auto; }
  .portfolio .portfolio-item .portfolio-info { position: relative; bottom: 0; opacity: 1; background: transparent; padding: 12px 6px; }

  /* Statistics cards compact */
  .statistics .stat-card { padding: 12px; border-radius: 12px; }
  .statistics .stat-number { font-size: 22px; }

  /* Pricing: make stacked and tighter */
  .pricing .pricing-item { margin-bottom: 1rem; }

  /* Subscribe: compact input */
  .subscribe .form-control { height: 44px; font-size: 14px; }
}

/* Extra small screens (very narrow heights/widths) */
@media (max-width: 360px) {
  body { font-size: 13px; }
  .portfolio .portfolio-item img { height: 180px; }
  .statistics .stat-number { font-size: 20px; }
}

/* Medium devices (tablets) — ensure two columns where desired */
@media (min-width: 576px) and (max-width: 991.98px) {
  .section { padding: clamp(20px, 3.5vw, 64px); }
  .portfolio .portfolio-item img { height: 260px; }
}

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

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(40, 58, 90, 0.9);
}

/* Blog Page Header & Blog-specific styles
--------------------------------------------------------------*/
.blog-page .header {
  --background-color: #ffffff;
  --heading-color: #37517e;
  --nav-color: #37517e;
  --nav-hover-color: #47b2e4;
  background-color: var(--background-color);
  box-shadow: 0 6px 20px rgba(10, 25, 45, 0.06);
}

.page-title {
  margin-top: 88px;
  padding: 56px 0;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  border-bottom: 1px solid #eef3f7;
  scroll-margin-top: 110px;
}

.page-title .breadcrumbs {
  margin-bottom: 12px;
}

.page-title .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  gap: 8px;
  color: #6b7a89;
}

.page-title h1 { font-size: 32px; margin: 0; font-weight: 700; }

/* Blog post cards */
.blog-posts article {
  background: var(--surface-color);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(8, 26, 50, 0.04);
}

.post-img img { border-radius: 8px; }

.blog-posts .title a { color: var(--heading-color); font-size: 18px; font-weight: 700; }

.read-more a {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .18s ease, transform .12s ease;
}

.read-more a:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent-color), transparent 10%); }

/* Sidebar widgets */
.widget-item { background: var(--surface-color); padding: 16px; border-radius: 12px; box-shadow: 0 8px 28px rgba(8,26,50,0.04); margin-bottom: 18px; }
.widget-title { font-size: 18px; margin-bottom: 12px; color: var(--heading-color); }

.search-widget form { display:flex; gap:8px; align-items:center; }
.search-widget input[type="text"] { flex:1; padding:10px 12px; border-radius: 8px; border:1px solid #e6eef6; }
.search-widget button { background: var(--accent-color); color: var(--contrast-color); border:none; padding:10px 12px; border-radius:8px; }

/* Responsive tweaks for blog page */
@media (max-width: 991.98px) {
  .page-title { padding: 36px 0; margin-top: 76px; }
  .page-title h1 { font-size: 26px; }
}

@media (max-width: 575.98px) {
  .page-title { margin-top: 68px; padding: 28px 0; }
  .page-title h1 { font-size: 22px; }
}

/* Blog Details specific styles */
.blog-details .hero-img { position: relative; border-radius: 12px; overflow: hidden; }
.blog-details .hero-img img { width: 100%; height: auto; display:block; }
.blog-details .meta-overlay { position: absolute; left: 20px; bottom: 18px; background: linear-gradient(90deg, rgba(8,26,50,0.06), rgba(255,255,255,0.02)); padding:8px 12px; border-radius:8px; backdrop-filter: blur(4px); }
.blog-details .meta-categories { display:flex; gap:8px; align-items:center; color:#ffffff; }
.blog-details .meta-categories .category { background: rgba(71,178,228,0.95); color: #fff; padding:6px 10px; border-radius:999px; font-weight:600; font-size:13px; }
.blog-details .meta-categories .reading-time { color: rgba(255,255,255,0.9); font-size:13px; display:flex; gap:6px; align-items:center; }

.article-content { padding: 22px 0; }
.article-content .content-header .title { font-size: 28px; margin-bottom: 12px; line-height:1.15; }
.article-content .author-info { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom: 18px; }
.author-details { display:flex; gap:12px; align-items:center; }
.author-img { width:56px; height:56px; border-radius:50%; object-fit:cover; }
.post-meta { color:#6b7a89; font-size:14px; display:flex; gap:10px; align-items:center; }

.lead { font-size:1.05rem; color:#34495e; margin-bottom:12px; }
.content-image { margin:18px 0; }
.content-image img { border-radius:8px; }
.content-image figcaption { display:block; font-size:13px; color:#6b7a89; margin-top:8px; }

.highlight-box { background: linear-gradient(180deg,#f5fbff,#ffffff); border-left:4px solid var(--accent-color); padding:16px; border-radius:10px; margin:18px 0; }
.info-card { background: var(--surface-color); padding:16px; border-radius:10px; box-shadow:0 8px 24px rgba(8,26,50,0.04); }

.meta-bottom { display:flex; justify-content:space-between; gap:18px; margin-top:22px; align-items:flex-start; }
.tags .tag { display:inline-block; background:#eef6fb; color:var(--heading-color); padding:8px 12px; border-radius:999px; margin:6px 6px 0 0; font-weight:600; font-size:13px; }

.social-links a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin-right:8px; border-radius:10px; background: #f4f7fb; color: var(--heading-color); transition: transform .12s ease, background .12s ease; }
.social-links a:hover { transform: translateY(-3px); background: var(--accent-color); color: var(--contrast-color); }

/* Comments */
.comment-thread { margin-bottom: 18px; }
.comment-box { background: var(--surface-color); padding:12px; border-radius:10px; box-shadow:0 8px 24px rgba(8,26,50,0.04); }
.comment-wrapper { display:flex; gap:12px; align-items:flex-start; }
.avatar-wrapper img { width:56px; height:56px; border-radius:50%; object-fit:cover; }
.comment-content h4 { margin:0 0 4px 0; }
.comment-body p { margin:0; color:#334b5b; }
.comment-actions { margin-top:8px; display:flex; gap:8px; }
.action-btn { background: transparent; border:1px solid rgba(52,73,94,0.06); padding:8px 12px; border-radius:8px; display:inline-flex; gap:8px; align-items:center; color:#37517e; }
.action-btn:hover { background: rgba(71,178,228,0.06); border-color: rgba(71,178,228,0.18); }

/* Comment form */
.blog-comment-form .input-group { margin-bottom:12px; }
.blog-comment-form label { display:block; margin-bottom:6px; font-weight:600; }
.blog-comment-form input[type="text"], .blog-comment-form input[type="email"], .blog-comment-form input[type="url"], .blog-comment-form textarea { width:100%; padding:12px 14px; border-radius:8px; border:1px solid #e6eef6; }
.blog-comment-form button { background: var(--accent-color); color: var(--contrast-color); padding:10px 18px; border-radius:8px; border:none; }

@media (max-width: 991.98px) {
  .meta-bottom { flex-direction:column; }
  .article-content .author-info { flex-direction:column; align-items:flex-start; }
}



/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 16px 18px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 8px;
  }

  .navmenu a:hover,
  .navmenu a:focus {
    background: rgba(255, 255, 255, 0.08);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

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

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

  .navmenu .active,
  .navmenu .active:focus {
    background: rgba(255, 255, 255, 0.12);
  }

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

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

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

/*--------------------------------------------------------------
  Why Us Section
--------------------------------------------------------------*/

.why-us .content h3 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.12;
  margin-bottom: 0.6rem;
  letter-spacing: -0.2px;
}
.why-us .content p {
  color: #52697f;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.why-us .faq-container {
  max-width: 720px;
}
.faq-item {
  background: var(--surface-color);
  border-radius: 14px;
  padding: 14px 18px 12px 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(15,35,65,0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.faq-item h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px; /* space for toggle */
}
.faq-item h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-family: var(--heading-font);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .36s ease, opacity .28s ease, padding .28s ease;
  opacity: 0;
  margin-top: 10px;
  padding-left: 6px;
  color: #4b5f6f;
}
.faq-item .faq-toggle {
  font-size: 20px;
  color: var(--accent-color);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .28s ease, color .2s ease;
}
.faq-item:hover { transform: translateY(-4px); box-shadow: 0 14px 48px rgba(10,30,60,0.06); }
.faq-item.faq-active { border-left: 4px solid var(--accent-color); }
.faq-item.faq-active .faq-content { max-height: 420px; opacity: 1; padding-bottom: 6px; }
.faq-item.faq-active .faq-toggle { transform: translateY(-50%) rotate(90deg); }
.why-us-img { display:flex; align-items:center; justify-content:center; padding:12px; }
.why-us-img img { width:100%; height:auto; max-height:520px; object-fit:cover; border-radius:16px; box-shadow: 0 30px 90px rgba(8,26,50,0.12); }

@media (max-width: 991.98px) {
  .why-us .content { text-align: center; }
  .why-us .faq-container { padding-left: 0; padding-right: 0; }
  .why-us-img { order: 2; margin-top: 1rem; }
  .faq-item h3 { justify-content: flex-start; }
  .faq-item .faq-toggle { right: 10px; }
}



  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

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

  .navmenu .megamenu {
    position: static;
  }

  .navmenu .megamenu 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 .megamenu ul li {
    flex: 1;
  }

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

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

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

  .navmenu .dd-box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 26px;
    line-height: 1;
    margin-right: 12px;
    cursor: pointer;
    transition: color 0.3s, background 0.3s, transform 0.3s;
    width: clamp(36px, 6vw, 46px);
    height: clamp(36px, 6vw, 46px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 16px 16px 16px;
    padding: 16px 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 18px 50px rgba(0, 0, 0, 0.18);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 14px 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: 0.3s;
  }

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

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .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;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

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

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.86);
    transition: 0.3s;
    z-index: 100030; /* ensure mobile nav overlays floating elements */
  }


  /* Improve form touch responsiveness on mobile */
  .php-email-form, .php-email-form * { touch-action: manipulation; }

  /* Make interactive controls more touch-friendly */
  button, .btn, input[type="submit"], input[type="button"] {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
  }

  @media (max-width: 575.98px) {
    button, .btn, input[type="submit"], input[type="button"] {
      min-height: 44px;
      padding-top: 10px;
      padding-bottom: 10px;
      font-size: 16px;
    }
  }

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

/* Blog-page mobile nav overrides: improve contrast, spacing and touch targets */
.blog-page .mobile-nav-toggle {
  color: var(--nav-color);
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}

@media (max-width: 1199px) {
  .blog-page .navmenu ul {
    inset: 72px 12px 12px 12px;
    padding: 12px 0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 18px 50px rgba(10,20,35,0.06);
  }

  .blog-page .navmenu a,
  .blog-page .navmenu a:focus {
    color: var(--nav-color);
    padding: 14px 18px;
    font-size: 17px;
  }

  .blog-page .navmenu a i {
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  }

  .blog-page .mobile-nav-active .navmenu {
    background: rgba(255,255,255,0.98);
  }

  .blog-page .navmenu a:hover,
  .blog-page .navmenu .active,
  .blog-page .navmenu .active:focus {
    color: var(--nav-hover-color);
    background: rgba(71,178,228,0.06);
  }
}

/* Service page styles */
.service-page .header {
  --background-color: #ffffff;
  --heading-color: #37517e;
  --nav-color: #37517e;
  --nav-hover-color: #47b2e4;
  background-color: var(--background-color);
  box-shadow: 0 6px 20px rgba(10, 25, 45, 0.04);
}

.service-details .services-list {
  display:flex;
  flex-direction:column;
  gap:10px;
  background: var(--surface-color);
  padding:12px;
  border-radius:10px;
  box-shadow: 0 8px 28px rgba(8,26,50,0.04);
}
.service-details .services-list a { display:block; padding:10px 12px; color:var(--default-color); border-radius:8px; transition:0.18s; font-weight:600; }
.service-details .services-list a.active, .service-details .services-list a:hover { background: rgba(71,178,228,0.08); color:var(--nav-hover-color); }

.service-details .services-img { border-radius:12px; box-shadow:0 18px 60px rgba(8,26,50,0.05); margin-bottom:14px; }
.service-details h3 { font-size:22px; margin-top:6px; margin-bottom:10px; }
.service-details ul { margin-top: 12px; }
.service-details ul li { margin-bottom:8px; color:#3a5066; }
.service-details ul li i { color: var(--accent-color); margin-right:8px; }

@media (max-width: 991.98px) {
  .service-details .services-list { flex-direction:row; gap:8px; overflow:auto; }
  .service-details .services-list a { white-space:nowrap; }
}


/* Admin preview modal and toolbar */
.admin-preview-modal { position: fixed; inset: 0; z-index: 12000; display:flex; align-items:center; justify-content:center; }
.admin-preview-modal .admin-preview-backdrop { position:absolute; inset:0; background:rgba(0,0,0,0.6); }
.admin-preview-modal .admin-preview-panel { position:relative; z-index:12001; width:min(1100px,95%); max-height:85vh; overflow:auto; background:#fff; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,0.3); }
.admin-preview-header { padding:16px; border-bottom:1px solid #eee; }
.admin-preview-body { padding:16px; }
.preview-hero { background:#f8f9fa; min-height: clamp(80px, 18vh, 160px); display:flex; align-items:center; justify-content:center; border-radius:8px; }
.preview-grid { display:flex; flex-wrap:wrap; gap:12px; }
.preview-grid .card { width:calc(33% - 8px); min-width:140px; }
.admin-toolbar { position:fixed; right:18px; bottom:18px; z-index:12010; display:flex; flex-direction:column; gap:8px; padding:10px; background:rgba(255,255,255,0.95); border-radius:8px; box-shadow:0 8px 30px rgba(0,0,0,0.12); }
.admin-toolbar .btn { min-width:150px; }
.admin-preview-modal.d-none, .admin-toolbar.d-none { display:none !important; }

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: rgba(255, 255, 255, 0.92);
  background-color: #0b1c37;
  font-size: 14px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(71, 178, 228, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 42, 0.84);
  z-index: 1;
}

.footer > * {
  position: relative;
  z-index: 2;
}

.footer-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.footer-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer .footer-newsletter {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  padding: 36px 0;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(3,10,30,0.22);
}

.footer .footer-newsletter h4 {
  font-size: 22px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer .footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 6px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(2,6,23,0.10);
  display: flex;
  gap: 6px;
  align-items: center;
  transition: box-shadow .28s ease, transform .28s ease;
  border-radius: 999px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: rgba(71, 178, 228, 0.8);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 10px 12px;
  width: 100%;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer .footer-newsletter .newsletter-form input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 14px;
  padding: 10px 18px;
  margin: 0 6px 0 0;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #3b82f6 20%));
  color: var(--contrast-color);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(59,130,246,0.12);
  cursor: pointer;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 40px rgba(59,130,246,0.16);
}

/* Mobile: stack input and button */
@media (max-width: 575px) {
  .footer .footer-newsletter .newsletter-form {
    flex-direction: column;
    gap: 12px;
    padding: 10px;
  }
  .footer .footer-newsletter .newsletter-form input[type=submit] {
    width: 100%;
    margin: 0;
  }
}

/* Make newsletter content narrower on small devices and centered */
.footer .footer-newsletter .col-lg-6 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.footer .footer-newsletter .newsletter-form {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 767px) {
  .footer .footer-newsletter {
    padding: 40px 12px;
  }
  .footer .footer-newsletter .col-lg-6 {
    max-width: 420px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer .footer-newsletter .newsletter-form {
    max-width: 380px;
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .footer .footer-newsletter {
    padding: 28px 10px;
  }
  .footer .footer-newsletter .col-lg-6 {
    max-width: 320px;
  }

  /*--------------------------------------------------------------
  # Why Choose Us Section
  --------------------------------------------------------------*/
  .why-choose-us {
    background: linear-gradient(180deg, rgba(71,178,228,0.04), transparent 40%);
  }
  .why-choose-us .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .why-choose-us .section-title h2 {
    font-size: clamp(26px, 3.2vw, 34px);
    letter-spacing: -0.4px;
    margin-bottom: 8px;
  }
  .why-choose-us .section-title p {
    max-width: 720px;
    margin: 0 auto;
    color: #5b6771;
    font-size: 0.99rem;
  }
  .why-choose-us .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem;
    border-radius: 14px;
    background: var(--surface-color);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    border: 1px solid rgba(20,30,50,0.04);
  }
  .why-choose-us .icon-box .why-choose-img {
    width: 100%;
    max-width: 320px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(6,24,50,0.06);
  }
  .why-choose-us .why-choose-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .why-choose-us .icon-box h4 {
    margin-top: 14px;
    font-size: 1.12rem;
    color: var(--heading-color);
  }
  .why-choose-us .icon-box p {
    color: #56606a;
    margin-top: 8px;
    line-height: 1.5;
  }
  .why-choose-us .icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 60px rgba(18,60,110,0.12);
    border-color: rgba(71,178,228,0.12);
  }

  @media (max-width: 767.98px) {
    .why-choose-us .icon-box {
      padding: 1rem;
    }
    .why-choose-us .why-choose-img {
      height: 160px;
    }
  }

  /*--------------------------------------------------------------
  # Services Section
  --------------------------------------------------------------*/
  .services .service-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0.45rem;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    border: 1px solid rgba(20,30,50,0.04);
    box-shadow: 0 8px 24px rgba(6,24,50,0.06);
  }
  .services .service-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }
  .services .service-item h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--heading-color);
  }
  .services .service-item h4 a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
  }
  .services .service-item p {
    margin: 0;
    color: #59656e;
    font-size: 0.9rem;
  }
  .services .service-item .stretched-link {
    position: relative;
    z-index: 2;
  }
  .services .service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.02) 100%);
    transition: background .28s ease;
    border-radius: 14px;
  }
  .services .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 80px rgba(12,40,90,0.12);
    border-color: rgba(71,178,228,0.12);
  }
  .services .service-item:hover::before {
    background: linear-gradient(180deg, rgba(71,178,228,0.03) 30%, rgba(71,178,228,0.02) 100%);
  }

  @media (max-width: 991.98px) {
    .services .service-item img { height: 130px; }
  }

  @media (max-width: 575.98px) {
    .services .service-item img { height: 110px; }
    .services .service-item { padding: 0.6rem; }
  }

  /*--------------------------------------------------------------
  # Why Us Section (FAQ + image)
  --------------------------------------------------------------*/
  .why-us {
    padding-top: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(28px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(71,178,228,0.02), transparent 50%);
  }
  .why-us .why-us-img img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(6,24,50,0.12);
    display: block;
  }
  .why-us .content h3 {
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.2;
    color: var(--heading-color);
  }
  .why-us .content p {
    color: #515d66;
    margin-top: 12px;
  }
  .faq-container {
    margin-top: 18px;
  }
  .faq-item {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 10px 30px rgba(6,24,50,0.06);
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    border: 1px solid rgba(20,30,50,0.03);
  }
  .faq-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1rem;
    cursor: pointer;
  }
  .faq-item h3 span {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--heading-color);
    border-radius: 8px;
    padding: 6px 8px;
    font-weight: 700;
  }
  .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .36s ease, padding .24s ease;
    padding-top: 0;
    color: #55606a;
  }
  .faq-item.faq-active {
    transform: translateY(-6px);
    border-color: rgba(71,178,228,0.1);
  }
  .faq-item.faq-active .faq-content {
    max-height: 420px;
    padding-top: 12px;
  }
  .faq-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--accent-color);
    transition: transform .28s ease;
  }
  .faq-item.faq-active .faq-toggle {
    transform: translateY(-50%) rotate(90deg);
  }

  @media (max-width: 991.98px) {
    .why-us .why-us-img { margin-bottom: 18px; }
  }

    padding-left: 8px;
    padding-right: 8px;
  }
  .footer .footer-newsletter .newsletter-form {
    max-width: 300px;
    padding: 10px;
  }
  .footer .footer-newsletter h4 { font-size: 20px; }
  .footer .footer-newsletter p { font-size: 14px; }
}

.footer .footer-top {
  padding-top: 60px;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  color: #ffffff;
}

.footer .footer-links ul li {
  align-items: flex-start;
}

.footer .footer-links ul li i {
  margin-top: 3px;
}

.footer .social-links {
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 991px) {
  .footer .footer-top {
    padding-top: 40px;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-top .col-lg-4 {
    text-align: center;
  }

  .footer .footer-links ul {
    display: inline-block;
  }

  .footer .footer-links ul li {
    justify-content: center;
  }

  .footer .social-links {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Navigation spacing tweaks
/*------------------------------------------------------------*/
.navmenu {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navmenu ul { gap: 10px; }

/* larger, roomier nav buttons */
.navmenu a,
.navmenu a:focus {
  padding: 14px 22px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}

.navmenu a:hover { transform: translateY(-2px); }

.navmenu .dropdown ul { padding: 12px 0; left: 10px; top: 110%; }

/* mobile toggle larger and clearer */
.mobile-nav-toggle { width: 46px; height: 46px; }

@media (max-width: 1199px) {
  .navmenu a { padding: 12px 18px; font-size: 16px; }
}

/*--------------------------------------------------------------
 # Logo polish
 ------------------------------------------------------------*/

.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}

.header .logo:hover {
  transform: none;
  box-shadow: none;
}

.header .logo img {
  max-height: 72px;
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: block;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .header .logo img { max-height: 64px; }
}

@media (max-width: 575.98px) {
  .header .logo img { max-height: 48px; }
}

.header .logo h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: none;
  color: var(--heading-color);
}

/* Subtle nav active underline */
.navmenu a.active {
  box-shadow: inset 0 -3px 0 var(--accent-color);
}

/* Increase tap targets for nav links on medium screens */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navmenu a { padding: 14px 20px; }
}

/*--------------------------------------------------------------
 # Separate Home link from the logo
 ------------------------------------------------------------*/
.header .logo { margin-right: 20px; }

.navmenu ul { align-items: center; }

.navmenu ul li:first-child a {
  position: relative;
  padding-left: 26px; /* add breathing room for the divider */
  margin-left: 6px;
}

.navmenu ul li:first-child a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: color-mix(in srgb, var(--nav-color), transparent 72%);
  opacity: 0.9;
  border-radius: 1px;
}

@media (max-width: 991.98px) {
  .navmenu ul li:first-child a { padding-left: 18px; }
  .navmenu ul li:first-child a::before { left: 6px; top: 18%; bottom: 18%; }
}

/*--------------------------------------------------------------
# Preloader polish
/*------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  background: var(--background-color);
  transition: opacity 400ms ease, visibility 400ms ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

#preloader:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid transparent;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: animate-preloader 1.2s linear infinite;
}

/* centered logo on top of spinner */
#preloader:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background-image: url('../img/logo1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000001;
  animation: preloader-logo 1.6s ease-in-out infinite;
}

/* helper class to smoothly hide preloader when JS removes it */
#preloader.fade-out { opacity: 0; visibility: hidden; }

@keyframes preloader-logo {
  0% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.95; }
  50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.95; }
}

@media (max-width: 575.98px) {
  #preloader:after { width: 72px; height: 72px; }
  #preloader:before { width: 56px; height: 56px; border-width: 5px; }
}

@media (max-width: 575px) {
  .footer .footer-top {
    padding-top: 30px;
  }

  .footer .footer-about {
    padding-bottom: 20px;
  }
}

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

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

.footer .footer-links ul i {
  margin-right: 8px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
  transition: 0.3s;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
}

.footer .footer-about a {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer .footer-logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 575px) {
  .footer .footer-newsletter .newsletter-form {
    flex-wrap: wrap;
  }

  .footer .footer-newsletter .newsletter-form input[type=submit] {
    width: 100%;
    margin-top: 12px;
  }
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Help Center Button (stacked above Scroll Top)
--------------------------------------------------------------*/
.help-center {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 15px;
  bottom: 75px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.help-center i {
  font-size: 20px;
  color: var(--contrast-color);
  line-height: 0;
}

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

/*--------------------------------------------------------------
# Help Center Modal
--------------------------------------------------------------*/
.help-center-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100000;
}
.help-center-modal[aria-hidden="false"] {
  display: block;
}
.help-center-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.help-center-modal-content {
  position: absolute;
  right: 15px;
  bottom: 120px;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  padding: 18px;
  color: #222;
}
.help-center-modal-close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.help-center-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
}
.help-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  width: 88px;
  padding: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}
.help-action i {
  font-size: 22px;
  color: var(--accent-color);
}
.help-action span { font-size: 13px; }

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

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

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

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 80px 0 40px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 20px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 36px 0;
}

.hero-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--contrast-color);
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
}

.hero-buttons {
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--contrast-color);
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  padding: 10px 20px;
  border-radius: 50px;
  align-items: center;
}

.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 24px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
  background: rgba(255,255,255,0.22);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero-left {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 40%), linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.60));
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
  z-index: 0;
}

.hero-left-content {
  position: relative;
  z-index: 2;
  padding: 40px 30px;
}

.hero-left-content h1,
.hero-left-content .hero-list li,
.hero-left-content .hero-buttons a {
  color: #fff;
}

.hero-left-content .hero-list li {
  color: rgba(255,255,255,0.95);
}

.hero-left-content .hero-list li::before {
  background: var(--accent-color);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 12px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

.about .content p {
  margin-bottom: 22px;
  color: rgba(68, 68, 68, 0.88);
  line-height: 1.8;
}

/*--------------------------------------------------------------
# Trust Badges — Premium card styling
--------------------------------------------------------------*/
.trust-badges .icon-box{
  padding:1.25rem 1rem;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.72), rgba(250,250,255,0.7));
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  border:1px solid rgba(16,24,40,0.06);
  box-shadow:0 10px 30px rgba(12,28,56,0.08);
  transition:transform .34s cubic-bezier(.2,.9,.3,1), box-shadow .34s ease;
  position:relative;
  overflow:visible;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* animated gradient outline */
.trust-badges .icon-box::before{
  content:"";
  position:absolute;
  inset:-1.5px;
  border-radius:20px;
  padding:1.5px;
  background:linear-gradient(90deg, rgba(55,81,126,0.12), rgba(55,81,126,0.06) 40%, rgba(55,81,126,0.06) 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:0;
  transform:translateY(6px) scale(.995);
  transition:opacity .36s ease, transform .36s cubic-bezier(.2,.9,.3,1);
}

.trust-badges .icon-box i{
  font-size:1.35rem;
  line-height:1;
  width:64px;
  height:64px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,247,255,0.9));
  box-shadow:0 6px 18px rgba(8,20,48,0.06), inset 0 -4px 8px rgba(0,0,0,0.02);
  color:#37517E;
  transition:transform .34s ease, box-shadow .34s ease, filter .34s ease;
}
.trust-badges .icon-box h5{
  margin-top:0.75rem;
  margin-bottom:0.25rem;
  font-size:1.02rem;
  font-weight:700;
  color:#0b1220;
  letter-spacing:0.2px;
}
.trust-badges .icon-box p{
  margin:0;
  color:#586070;
  font-size:.88rem;
}

.trust-badges .icon-box:hover,
.trust-badges .icon-box:focus-within{
  transform:translateY(-10px) scale(1.01);
  box-shadow:0 34px 68px rgba(6,22,48,0.14);
}
.trust-badges .icon-box:hover::before{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* Icon ring accent on hover */
.trust-badges .icon-box::after{
  content:"";
  position:absolute;
  width:84px;
  height:84px;
  border-radius:50%;
  right:12px;
  top:12px;
  background: radial-gradient(circle at 30% 30%, rgba(55,81,126,0.10), rgba(55,81,126,0.02) 40%, transparent 60%);
  opacity:0;
  transition:opacity .34s ease, transform .34s ease;
  pointer-events:none;
}
.trust-badges .icon-box:hover::after{ opacity:1; transform:translateY(-6px); }

/* Hover icon pop */
.trust-badges .icon-box:hover i{ transform:translateY(-4px) scale(1.04); filter:brightness(1.02); box-shadow:0 12px 30px rgba(13,110,253,0.12); }

/* Responsive tweaks */
@media (max-width:767.98px){
  .trust-badges .icon-box{ padding:1rem; border-radius:14px; }
  .trust-badges .icon-box i{ width:56px; height:56px; font-size:1.05rem; }
  .trust-badges .col-lg-2{ flex:0 0 50%; max-width:50%; }
}

@media (prefers-reduced-motion: reduce){
  .trust-badges .icon-box,
  .trust-badges .icon-box i,
  .trust-badges .icon-box::before,
  .trust-badges .icon-box::after{ transition:none; transform:none; }
}

/* Trust Badges card content helpers */
.trust-badges .tb-icon { display:flex; align-items:center; justify-content:center; width:64px; height:64px; margin:0 auto; }
.trust-badges .tb-icon i { font-size:1.3rem; }
.trust-badges .tb-title { margin:0.6rem 0 0.25rem; font-size:1.02rem; font-weight:700; }
.trust-badges .tb-desc { margin:0 0 0.85rem; color:#69707a; }
.trust-badges .tb-cta {
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: transparent;
  color: #37517E;
  border: 1px solid rgba(55,81,126,0.14);
  font-weight:600;
  font-size:0.85rem;
  transition: all .22s ease;
  text-decoration:none;
}
.trust-badges .tb-cta:hover,
.trust-badges .tb-cta:focus{
  background: rgba(55,81,126,0.08);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(55,81,126,0.06);
}


.about .about-highlights {
  gap: 14px;
}

.about .about-highlights .highlight {
  background: rgba(71, 178, 228, 0.12);
  border: 1px solid rgba(71, 178, 228, 0.18);
  padding: 22px 20px;
  border-radius: 20px;
  min-width: 170px;
}

.about .about-highlights .highlight h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.about .about-highlights .highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--default-color);
}

.about .about-img {
  text-align: center;
}

.about .about-img img {
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
}

@media (max-width: 767px) {
  .about .about-highlights {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 30px 0;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.why-us .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.why-us .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.why-us .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
  font-weight: 600;
}

.why-us .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.why-us .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.why-us .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.why-us .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.why-us .why-us-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us .why-us-img img {
  max-height: 70%;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skills .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 1rem;
}

.skills .content p:last-child {
  margin-bottom: 0;
}

.skills .content ul {
  list-style: none;
  padding: 0;
}

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .progress {
  display: block;
  background: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 6px 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0 10px;
  margin: 0 0 6px 0;
  text-transform: none;
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
  font-weight: 600;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
}

.skills .progress-bar {
  width: 1px;
  height: 14px;
  transition: width 0.9s cubic-bezier(.2,.9,.2,1);
  background: linear-gradient(90deg, var(--default-color), var(--heading-color));
  border-radius: 999px;
}

/* Rounded image and shadow for skills illustration */
.skills .d-flex.align-items-center img.rounded-skills-img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  max-width: 100%;
  object-fit: cover;
}

/* Card-style skill rows */
.skills .card-skill {
  background: var(--surface-color);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.skills .skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.skills .skill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills .skill-icon {
  font-size: 1.25rem;
  color: var(--default-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.skills .skill-name {
  font-weight: 700;
}

.skills .val {
  font-style: italic;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

@media (max-width: 767px) {
  .skills .card-skill {
    padding: 10px;
  }
  .skills .skill-icon {
    font-size: 1.05rem;
  }
}

/*--------------------------------------------------------------
# Statistics Section
--------------------------------------------------------------*/
.statistics {
  background: #ffffff;
  color: #0f1724;
  position: relative;
  overflow: visible;
}
.statistics .section-title h2 {
  font-size: 1.6rem;
  font-weight: 800;
}
.statistics .section-title p {
  margin-top: 0.35rem;
}

/* Ensure title and subtitle are readable over the darker background */
.statistics .section-title h2,
.statistics .section-title p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}
.statistics .stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  border: 1px solid rgba(15, 23, 36, 0.04);
}

/* Watermark background using shanscot logo with darker overlay */
.statistics::before {
  content: "";
  position: absolute;
  inset: 0;
  /* dark gradient over the watermark so logo and text contrast better */
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)), url('../img/shanscot-logo.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  filter: contrast(1.05) saturate(1.05) brightness(0.9);
}

.statistics > .container,
.statistics .section-title,
.statistics .row {
  position: relative;
  z-index: 1;
}
.statistics .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2,6,23,0.10);
}
.statistics .stat-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--default-color), white 85%), color-mix(in srgb, var(--heading-color), white 85%));
  color: #fff;
  font-size: 1.4rem;
}
.statistics .stat-body {
  display: flex;
  flex-direction: column;
}
.statistics .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--default-color);
}
.statistics .stat-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin-top: 2px;
}

@media (max-width: 576px) {
  .statistics .stat-card {
    padding: 14px;
    gap: 10px;
  }
  .statistics .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }
  .statistics .stat-number {
    font-size: 1.25rem;
  }
  /* hide or reduce watermark on small screens to avoid overlap */
  .statistics::before {
    background-size: cover;
    opacity: 0.18;
    background-position: center center;
  }
}

/* Enhanced styling for statistic cards */
.statistics .stat-card {
  align-items: center;
  min-height: 110px;
  padding: 22px;
  gap: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #ffffff);
  transition: transform .32s cubic-bezier(.2,.9,.2,1), box-shadow .32s ease, border-color .32s ease;
}
.statistics .stat-card .stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2,6,23,0.06);
  transition: transform .32s ease, box-shadow .32s ease, opacity .32s ease;
}
.statistics .stat-card .stat-body {
  display: flex;
  flex-direction: column;
}
.statistics .stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--default-color);
  line-height: 1;
}
.statistics .stat-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
  text-transform: none;
  margin-top: 6px;
  letter-spacing: .2px;
}
.statistics .stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 45px rgba(2,6,23,0.12);
}
.statistics .stat-card:hover .stat-icon {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 22px 44px rgba(2,6,23,0.12);
}

/* Card accent colors */
.statistics .stat-briefcase .stat-icon {
  background: linear-gradient(135deg, var(--default-color), var(--heading-color));
  color: #fff;
}
.statistics .stat-clients .stat-icon {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
}
.statistics .stat-years .stat-icon {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
}
.statistics .stat-support .stat-icon {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
}

@media (max-width: 767px) {
  .statistics .stat-card {
    min-height: 94px;
    padding: 14px;
  }
  .statistics .stat-card .stat-icon {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
  }
  .statistics .stat-number {
    font-size: 1.3rem;
  }
}

/* Force 2x2 grid layout on small devices for the statistics section */
@media (max-width: 767px) {
  .statistics .row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    align-items: stretch;
  }
  .statistics .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}

/* Two-by-two layout tweaks for small devices (two columns x two rows) */
@media (max-width: 575px) {
  .statistics .row {
    gap: 12px;
  }
  .statistics .col-6 {
    padding-left: 6px;
    padding-right: 6px;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .statistics .stat-card {
    padding: 12px;
    min-height: 84px;
    border-radius: 12px;
  }
  .statistics .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
  .statistics .stat-number {
    font-size: 1.35rem;
  }
  .statistics .stat-label {
    font-size: 0.85rem;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  /* tablets: two columns style adjustments */
  .statistics .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .statistics .stat-card {
    padding: 16px;
    min-height: 96px;
    border-radius: 14px;
  }
  .statistics .stat-number {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  /* medium-large screens: slightly smaller watermark */
  .statistics::before {
    background-size: cover;
    opacity: 0.24;
    background-position: center center;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.08);
  padding: 20px;
  border-radius: 16px;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s cubic-bezier(.2,.9,.2,1);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services .service-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: transform .35s ease, filter .35s ease;
}

.services .service-item .icon {
  display: none;
}

.services .service-item h4 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
}

.services .service-item p {
  margin: 0 0 8px 0;
  color: var(--muted-color);
  line-height: 1.6;
  flex-grow: 1;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(17, 33, 70, 0.12);
}

.services .service-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.98);
}

@media (max-width: 991px) {
  .services .service-item img { height: 180px; }
}

@media (max-width: 576px) {
  .services .service-item img { height: 140px; }
  .services .service-item { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .services .service-item,
  .services .service-item img,
  .videos .video-item,
  .video-item video {
    transition: none !important;
    animation: none !important;
  }
}

/*--------------------------------------------------------------
# Expanded Services Cards
--------------------------------------------------------------*/
.services-expanded { background: transparent; }
.services-expanded .service-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 12px 36px rgba(6,24,50,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services-expanded h3 { margin-top: 0; }
.services-expanded h4 { margin: 0 0 8px 0; font-size: 1rem; color: var(--heading-color); }
.services-expanded ul { margin: 0; padding-left: 18px; color: #55656e; }
.services-expanded li { margin-bottom: 6px; font-size: 0.95rem; }

@media (max-width: 767.98px) {
  .services-expanded .service-card { padding: 0.85rem; }
  .services-expanded h4 { font-size: 0.98rem; }
}

.why-choose-us .icon-box {
  padding: 0;
  overflow: hidden;
}

.why-choose-us .why-choose-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.why-choose-us .icon-box h4,
.why-choose-us .icon-box p {
  padding: 20px 24px 24px 24px;
}

.why-choose-us .icon-box h4 {
  margin-bottom: 15px;
}

.why-choose-us .icon-box p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-feature-list-wrapper {
  margin-bottom: 30px;
}

.service-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-feature-list li {
  background: rgba(255, 255, 255, 0.07);
  color: var(--contrast-color);
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 767px) {
  .service-feature-list {
    grid-template-columns: 1fr;
  }
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
.work-process .steps-item {
  background: var(--surface-color);
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.work-process .steps-item .steps-image {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.work-process .steps-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.work-process .steps-item:hover .steps-number {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.work-process .steps-item:hover .steps-image img {
  transform: scale(1.1);
}

.work-process .steps-image {
  position: relative;
  height: 280px;
}

.work-process .steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-process .steps-content {
  position: relative;
  padding: 40px 30px 30px;
}

.work-process .steps-content .steps-number {
  position: absolute;
  left: 30px;
  top: -30px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.work-process .steps-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.work-process .steps-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.work-process .steps-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.work-process .steps-features .feature-item:last-child {
  margin-bottom: 0;
}

.work-process .steps-features .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.work-process .steps-features .feature-item span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media (max-width: 1199px) {
  .work-process .steps-image {
    height: 240px;
  }

  .work-process .steps-content {
    padding: 35px 25px 25px;
  }

  .work-process .steps-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .work-process .steps-item {
    margin-bottom: 30px;
  }

  .work-process .steps-image {
    height: 220px;
  }

  .work-process .steps-content {
    padding: 30px 20px 20px;
  }

  .work-process .steps-content .steps-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    left: 25px;
    top: -25px;
  }

  .work-process .steps-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .work-process .steps-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.call-to-action.cta-logo-bg {
  background-image: url("assets/img/shanscot-logo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 180px;
  background-color: rgba(7, 17, 35, 0.95);
  background-blend-mode: normal;
  position: relative;
  overflow: hidden;
}

.call-to-action.cta-logo-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 35, 0.82);
  z-index: 2;
}

.call-to-action.cta-logo-bg .container {
  position: relative;
  z-index: 3;
}

.call-to-action.cta-logo-bg h3,
.call-to-action.cta-logo-bg p,
.call-to-action.cta-logo-bg .cta-btn {
  color: #ffffff;
}

.call-to-action.cta-logo-bg .cta-btn {
  border-color: rgba(255, 255, 255, 0.9);
}

.call-to-action.cta-logo-bg .cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(8, 11, 33, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* New CSS grid based portfolio (replaces isotope layout) */
.portfolio .portfolio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.portfolio .portfolio-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-color);
  box-shadow: 0 18px 36px rgba(8, 11, 33, 0.06);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.portfolio .portfolio-card img {
  width: 100%;
  height: clamp(160px, 22vw, 300px);
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio .portfolio-card img { border-top-left-radius: 18px; border-top-right-radius: 18px; }

.portfolio .portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(8, 11, 33, 0.12);
}

.portfolio .portfolio-card .portfolio-info {
  padding: 12px 14px;
  background: transparent;
  margin: 0;
}

/*--------------------------------------------------------------
# Skills Section Styling
--------------------------------------------------------------*/
.card-skill {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(9,30,66,.08);
}

/* Full card borders for a more defined, premium look */
.card-skill,
.services .service-item,
.portfolio .portfolio-card,
.pricing-item {
  border: 1px solid rgba(55,81,126,0.06);
  background-clip: padding-box;
}

.card-skill:hover,
.services .service-item:hover,
.portfolio .portfolio-card:hover,
.pricing-item:hover {
  border-color: rgba(55,81,126,0.16);
  box-shadow: 0 22px 60px rgba(11,37,64,0.10);
}

/* Trust badges background and enhanced styling */
#trust-badges {
  position: relative;
  padding: 56px 0;
  background-image: url('../img/pos1.jpg');
  /* increase width and bias image to the left */
  background-size: 140% auto;
  background-position: left center;
  border-radius: 14px;
  overflow: hidden;
}

#trust-badges::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(55,81,126,0.28), rgba(0,0,0,0.22));
  z-index: 0;
}

#trust-badges .container { position: relative; z-index: 2; }

#trust-badges .icon-box {
  background: rgba(255,255,255,0.96);
  padding: 22px 16px;
  border-radius: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  border-top: 4px solid rgba(55,81,126,0.12);
  position: relative;
  overflow: hidden;
  z-index: 3;
}

#trust-badges .tb-icon i { font-size: 28px; color: #37517E; }
#trust-badges .tb-title { margin: 6px 0 4px; font-weight:700; color: #0b2540; }
#trust-badges .tb-desc { color: #586976; }
#trust-badges .tb-cta { display:inline-block; margin-top: 8px; color: #37517E; font-weight:600; text-decoration:none; }

#trust-badges .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(55,81,126,0.18);
}

@media (max-width: 767px) {
  #trust-badges { padding: 36px 0; }
  #trust-badges .col-6 { padding: 8px 10px; }
}

/* Polished trust badge visuals */
#trust-badges .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 18px;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms ease, opacity 320ms ease;
  will-change: transform, box-shadow;
}

#trust-badges .tb-title { font-size: 0.975rem; color: #07223a; margin: 6px 0 2px; }
#trust-badges .tb-desc { font-size: 0.85rem; color: #5a7180; margin-bottom: 8px; }

/* Backdrop blur for a frosted-card effect with graceful fallback */
#trust-badges .icon-box {
  /* Provide semi-opaque fallback for browsers that don't support backdrop-filter */
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(55,81,126,0.06);
}

@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  #trust-badges .icon-box {
    background: rgba(255,255,255,0.20);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 3;
    overflow: hidden;
  }
}

/* Animated gradient icon circle */
#trust-badges .tb-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(11,37,64,0.06);
  background: linear-gradient(270deg, #37517E, #47b2e4, #6dd3ff, #8be6ff);
  background-size: 600% 600%;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  animation: gradientShift 6s ease infinite;
}

#trust-badges .tb-icon i { font-size: 26px; color: #fff; }

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

/* Make CTA buttons solid using brand color */
#trust-badges .tb-cta {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #37517E;
  color: #fff;
  border: 0;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(55,81,126,0.12);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

#trust-badges .tb-cta:hover,
#trust-badges .tb-cta:focus {
  background: #2e4566;
  color: #fff;
  transform: translateY(-4px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #trust-badges .tb-icon { animation: none; }
  #trust-badges .icon-box, #trust-badges .tb-cta { transition: none; }
}

/* Hover and entrance animation */
#trust-badges .icon-box:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 28px 60px rgba(11,37,64,0.14);
}

@keyframes tb-fade-up {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#trust-badges .icon-box { animation: tb-fade-up .6s ease both; }
#trust-badges .row > div:nth-child(1) .icon-box { animation-delay: .05s; }
#trust-badges .row > div:nth-child(2) .icon-box { animation-delay: .12s; }
#trust-badges .row > div:nth-child(3) .icon-box { animation-delay: .18s; }
#trust-badges .row > div:nth-child(4) .icon-box { animation-delay: .24s; }
#trust-badges .row > div:nth-child(5) .icon-box { animation-delay: .3s; }

/* Odd-card top accent stripe (only on odd badges) */
#trust-badges .row > div:nth-child(odd) .icon-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #37517E 0%, #47b2e4 100%);
  z-index: 4;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Reduce overlay intensity on very small screens */
@media (max-width: 480px) {
  #trust-badges::before { background: linear-gradient(180deg, rgba(55,81,126,0.18), rgba(0,0,0,0.12)); }
  #trust-badges .icon-box { padding: 14px; }
  #trust-badges .tb-icon { width: 56px; height: 56px; }
}

/* Top accent stripe for cards */
.card-skill, .services .service-item, .portfolio .portfolio-card, .pricing-item, .why-choose-us .icon-box {
  position: relative;
  overflow: hidden;
}

.card-skill::before,
.services .service-item::before,
.portfolio .portfolio-card::before,
.pricing-item::before,
.why-choose-us .icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #37517E 0%, #47b2e4 100%);
  z-index: 2;
}

.card-skill::before { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.services .service-item::before { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.portfolio .portfolio-card::before { border-top-left-radius: 18px; border-top-right-radius: 18px; }
.pricing-item::before { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.why-choose-us .icon-box::before { border-top-left-radius: 12px; border-top-right-radius: 12px; }

/* Skill-card specific: solid brand top border and hover accent */
.card-skill::before {
  background: #37517E; /* solid brand color */
  height: 6px;
  transition: height 180ms ease, box-shadow 180ms ease;
}

.card-skill:hover::before {
  height: 10px;
  box-shadow: 0 8px 30px rgba(55,81,126,0.16);
}

.skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.skill-row{display:flex;align-items:center;justify-content:space-between}
.skill-left{display:flex;align-items:flex-start;gap:12px}
.skill-icon{font-size:28px;color:var(--bs-primary);margin-top:4px}
.skill-name{display:block;font-weight:700}
.skill-desc{font-size:14px;color:var(--muted);margin:6px 0 0}
.skill-tools{display:flex;gap:6px;margin-top:8px}
.tool{display:inline-block;background:#f1f5fb;color:#2b3a66;padding:4px 8px;border-radius:999px;font-size:12px}

@media (max-width: 767px){
  .skills-grid{grid-template-columns:1fr}
}

/* remove old progress bar visuals but keep existing classes safe */
.progress-bar-wrap{display:none}
.progress-bar{display:none}
.skill-left { display:flex; align-items:center; gap:12px; }
.skill-icon { width:44px; height:44px; display:inline-grid; place-items:center; border-radius:10px; background: linear-gradient(180deg, #f7fafb, #eef7f2); color: #128C7E; font-size:20px; box-shadow: 0 6px 18px rgba(8,11,33,0.06); }
.skill-name { font-size: 15px; font-weight:700; }
.val { font-weight:700; color: #0b6a58; }

.progress-bar-wrap { height: 12px; background: linear-gradient(180deg, #eef3f0, #f8faf8); border-radius: 999px; margin-top:10px; overflow:hidden; }
.progress-bar { height:100%; width:0; background: linear-gradient(90deg, #25D366, #128C7E); border-radius: 999px; transition: width 900ms cubic-bezier(.2,.9,.3,1); }

/* when skills-animation present we animate fill using data attributes (JS should set inline width) */
.skills-animation .progress-bar[role="progressbar"] { /* fallback when JS not available */ }

@media (max-width: 991.98px) {
  .skills .content { padding-top: 18px; }
}

@media (max-width: 575.98px) {
  .skill-icon { width:40px; height:40px; font-size:18px; }
  .skill-name { font-size:14px; }
  .progress-bar-wrap { height:10px; }
}

/* Hover overlay that appears centered over the image */
.portfolio .portfolio-card {
  position: relative;
}

.portfolio .portfolio-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.52) 60%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.portfolio .portfolio-card:hover .portfolio-hover {
  opacity: 1;
  pointer-events: auto;
}

.portfolio .portfolio-hover .hover-inner {
  color: #fff;
  text-align: center;
  padding: 12px 16px;
}

.portfolio .hover-icon {
  display: inline-flex;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
}

/* Portfolio hover content styling */
.portfolio .project-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.portfolio .hover-title {
  font-size: 18px;
  margin: 6px 0 4px 0;
  font-weight: 700;
  color: #ffffff;
}

.portfolio .hover-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

.portfolio .hover-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}

.portfolio .hover-actions .btn {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 999px;
}

.portfolio .btn-outline-light {
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  background: transparent;
}

.portfolio .btn-outline-light:hover { background: rgba(255,255,255,0.06); }

.portfolio .portfolio-caption h4 { font-size: 16px; font-weight: 700; }

.portfolio .portfolio-caption { padding: 14px; }

/* Responsive portfolio sizing tweaks for visual QA */
:root {
  --portfolio-card-min-height: 380px;
  --portfolio-card-image-height: 220px;
}

.portfolio .portfolio-card {
  min-height: var(--portfolio-card-min-height);
}

.portfolio .portfolio-card img {
  height: var(--portfolio-card-image-height);
  object-fit: cover;
  aspect-ratio: 16/9;
}

.portfolio .portfolio-grid {
  gap: 1.5rem;
}

@media (max-width: 1199.98px) {
  :root { --portfolio-card-min-height: 360px; --portfolio-card-image-height: 200px; }
}

@media (max-width: 991.98px) {
  :root { --portfolio-card-min-height: 340px; --portfolio-card-image-height: 200px; }
  .portfolio .portfolio-grid { gap: 1.25rem; }
}

@media (max-width: 575.98px) {
  :root { --portfolio-card-min-height: auto; --portfolio-card-image-height: 180px; }
  .portfolio .portfolio-card { min-height: auto; }
  .portfolio .portfolio-grid { gap: 1rem; }
}

/* Primary CTA (re-usable) */
:root {
  --cta-color: var(--accent-color);
  --cta-contrast: var(--contrast-color);
}

.btn-cta,
.header .btn-getstarted,
.hero .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  min-height: 48px;
  padding: 12px 22px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--cta-contrast) !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cta-color), black 6%), var(--cta-color));
  border: none;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(13, 71, 161, 0.12);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.btn-cta:hover,
.header .btn-getstarted:hover,
.hero .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(13, 71, 161, 0.14);
}

/* Make header/hero CTAs use the new visual when available */
.header .btn-getstarted { padding: 10px 20px; }
.hero .btn-get-started { padding: 12px 24px; }

/* Portfolio card uniform sizing */
.portfolio .portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.portfolio .portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.portfolio .portfolio-caption {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
}

.portfolio .portfolio-caption p.muted { margin-top: 8px; }

/* Ensure overlay actions are centered and consistent */
.portfolio .portfolio-hover .hover-inner { max-width: 90%; }

@media (max-width: 991.98px) {
  .portfolio .portfolio-card { min-height: 330px; }
  .portfolio .portfolio-card img { height: 200px; }
}

@media (max-width: 575.98px) {
  .portfolio .portfolio-card { min-height: auto; }
  .portfolio .portfolio-card img { height: 180px; }
  .btn-cta, .header .btn-getstarted, .hero .btn-get-started { min-width: 140px; min-height: 44px; }
}

.portfolio .portfolio-caption {
  padding: 12px 14px;
  background: var(--surface-color);
}

.portfolio .portfolio-caption h4 { margin: 0 0 6px 0; font-size: 16px; }
.portfolio .portfolio-caption p.muted { margin: 0; color: color-mix(in srgb, var(--default-color), transparent 40%); font-size: 13px; }



@media (max-width: 991.98px) {
  .portfolio .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .portfolio .portfolio-grid { grid-template-columns: 1fr; }
}

.portfolio .portfolio-item img {
  width: 100%;
  height: clamp(160px, 25vw, 320px);
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(8, 11, 33, 0.18);
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-caption { background: var(--surface-color); padding: 12px 14px; margin-top: 8px; border-radius: 0 0 14px 14px; box-shadow: 0 8px 24px rgba(8,11,33,0.06); }

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  display: none; /* hide overlay action icons in static card layout */
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio entrance animations (staggered) + polish
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  opacity: 0;
  transform: translateY(18px) scale(.995);
  will-change: transform, opacity;
}

@keyframes portfolioCardEnter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portfolio .portfolio-item.animate,
.portfolio .portfolio-item {
  animation-name: portfolioCardEnter;
  animation-duration: .6s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.2,.9,.2,1);
}

/* Stagger using simple nth-child rules (covers many layouts) */
.portfolio .portfolio-item:nth-child(1)  { animation-delay: 0s; }
.portfolio .portfolio-item:nth-child(2)  { animation-delay: 0.06s; }
.portfolio .portfolio-item:nth-child(3)  { animation-delay: 0.12s; }
.portfolio .portfolio-item:nth-child(4)  { animation-delay: 0.18s; }
.portfolio .portfolio-item:nth-child(5)  { animation-delay: 0.24s; }
.portfolio .portfolio-item:nth-child(6)  { animation-delay: 0.30s; }
.portfolio .portfolio-item:nth-child(7)  { animation-delay: 0.36s; }
.portfolio .portfolio-item:nth-child(8)  { animation-delay: 0.42s; }
.portfolio .portfolio-item:nth-child(9)  { animation-delay: 0.48s; }
.portfolio .portfolio-item:nth-child(10) { animation-delay: 0.54s; }
.portfolio .portfolio-item:nth-child(11) { animation-delay: 0.60s; }
.portfolio .portfolio-item:nth-child(12) { animation-delay: 0.66s; }

.portfolio .portfolio-item img { transition: transform .45s ease, filter .45s ease; }
.portfolio .portfolio-item:hover img { transform: scale(1.04); filter: brightness(0.98); }

@media (prefers-reduced-motion: reduce) {
  .portfolio .portfolio-item,
  .portfolio .portfolio-item.animate {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

  /* Tablet-specific tweaks: force two cards per row appearance and tighten spacing */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .portfolio .portfolio-item img {
      height: 260px;
    }
    .portfolio .portfolio-item {
      border-radius: 20px;
      padding: 6px;
    }
    .portfolio .portfolio-item .portfolio-info {
      left: 10px;
      right: 10px;
      padding: 12px;
    }
    .isotope-container {
      gap: 1rem;
    }
  }

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .most-popular {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  color: var(--accent-color);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.pricing .pricing-sub {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 10px 0 0 0;
  font-size: 0.95rem;
}

/* Premium styling overrides for pricing cards */
.pricing .pricing-item {
  padding: 36px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 18px 50px rgba(4,9,20,0.08);
  border: 1px solid rgba(8,15,25,0.04);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease;
}

.pricing h3 {
  font-size: 1.05rem;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pricing .pricing-item .pricing-sub {
  margin-bottom: 14px;
}

.pricing ul li {
  padding: 8px 0;
}

.pricing ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 10px;
}

.pricing .buy-btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid rgba(0,0,0,0.05);
  box-shadow: none;
  transition: all .28s ease;
}

.pricing .buy-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6,12,30,0.08);
}

.pricing .pricing-item.featured {
  transform: translateY(-8px);
  border: 1px solid rgba(11,85,128,0.08);
  box-shadow: 0 28px 80px rgba(6,12,30,0.12);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-top: 6px solid var(--accent-color);
}

.pricing .pricing-item.featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

/* Small screens: stack and full-width CTAs */
@media (max-width: 767px) {
  .pricing .pricing-item {
    padding: 20px;
    border-radius: 12px;
  }
  .pricing .buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }
  .pricing h4 { font-size: 28px; }
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 90px 0 70px;
  background: rgba(245, 249, 255, 0.95);
}

.testimonials .section-title {
  margin-bottom: 40px;
}

.testimonials .section-title h2 {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.testimonials .section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonials .section-title p {
  max-width: 680px;
  margin: 0 auto;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1rem;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .swiper {
  padding: 10px 0 5px;
}

.testimonials .testimonial-item {
  text-align: center;
  background: #ffffff;
  padding: 32px 24px 24px;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 33, 70, 0.12);
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 95px rgba(17, 33, 70, 0.18);
}

.testimonials .swiper-slide {
  display: flex;
  justify-content: center;
}

.testimonials .testimonial-side-image {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.testimonials .testimonial-side-image img {
  width: 100%;
  max-width: 760px;
  max-height: 420px;
  min-height: 280px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 28px 80px rgba(17, 33, 70, 0.12);
  margin: 0;
}

@media (max-width: 992px) {
  .testimonials .testimonial-side-image img {
    width: 90%;
    max-width: 420px;
    max-height: 360px;
    min-height: 240px;
    object-position: top center;
  }
}

.testimonials .testimonial-item .testimonial-img {
  width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  display: block;
  border-radius: 18px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  margin: 0 auto 20px auto;
  object-fit: cover;
  object-position: center center;
}

.testimonials .testimonial-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 10px 0 4px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 13px;
  color: #6b7280;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 18px;
}

.testimonials .testimonial-item .stars i {
  color: #fbbc04;
  margin: 0 2px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(59, 130, 246, 0.25);
  font-size: 30px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 18px auto;
  color: #475569;
  line-height: 1.95;
  font-size: 0.98rem;
}

.testimonials .swiper-wrapper {
  height: auto;
}

/* Welcome Popup */
#welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#welcome-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.welcome-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 27, 44, 0.7);
  backdrop-filter: blur(4px);
}

.welcome-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 40px));
  padding: 36px 30px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(17, 27, 44, 0.22);
  text-align: center;
  z-index: 1;
  transition: top 0.35s ease, left 0.35s ease;
}

.welcome-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.welcome-popup-close:hover {
  transform: scale(1.05);
  color: var(--accent-color);
}

.welcome-popup-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  color: #111827;
}

.welcome-popup-content p {
  margin-bottom: 24px;
  color: #475569;
  line-height: 1.85;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Video Gallery Styles
--------------------------------------------------------------*/
.videos .row > [class*="col-"] { display: flex; }
.videos .video-item {
  background: var(--surface-color);
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(8, 11, 33, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.videos .video-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
  border-radius: 12px;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.videos .video-item h4 {
  margin: 12px 0 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
}
.videos .video-item p { color: var(--muted-color); margin: 6px 0 0 0; }
.videos .video-item:hover { transform: translateY(-6px); box-shadow: 0 30px 90px rgba(17, 33, 70, 0.08); }
.videos .video-item:hover video { transform: scale(1.03); filter: brightness(0.96); }

@media (max-width: 991px) {
  .videos .video-item video { height: 180px; }
}

@media (max-width: 576px) {
  .videos .video-item { padding: 12px; }
  .videos .video-item video { height: 160px; border-radius: 12px; }
}


.welcome-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}

.welcome-popup-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 768px) {
  .welcome-popup-content {
    padding: 26px 20px;
  }
}


.testimonials .swiper-pagination {
  margin-top: 24px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 75%);
  margin: 0 4px;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  transform: scale(1.15);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
  margin-top: 15px;
}

.faq-2 .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq-2 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/
.subscribe .container {
  padding: 80px 80px 0 80px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 15px;
}

@media (max-width: 992px) {
  .subscribe .container {
    padding: 60px 60px 0 60px;
  }
}

@media (max-width: 575px) {
  .subscribe .container {
    padding: 25px 15px 0 15px;
    border-radius: 0;
  }
}

.subscribe .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subscribe .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.subscribe .cta-form .form-control {
  height: 50px;
  border-radius: 25px 0 0 25px;
  border: 1px solid var(--accent-color);
  padding-left: 20px;
}

.subscribe .cta-form .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.subscribe .cta-form .btn {
  height: 50px;
  border-radius: 0 25px 25px 0;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe .cta-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

@media (max-width: 575px) {
  .subscribe .cta-form .btn {
    padding: 0 15px;
  }
}

/* Tighter, modern Subscribe CTA form */
.subscribe .cta-form {
  max-width: 640px;
  margin-left: 0;
}
.subscribe .cta-form .input-group {
  max-width: 640px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.08);
  overflow: hidden;
}
.subscribe .cta-form .form-control {
  border: 0;
  padding: 14px 18px;
  height: 56px;
  border-radius: 0;
  color: var(--heading-color);
}
.subscribe .cta-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}
.subscribe .cta-form .btn {
  height: 56px;
  padding: 0 28px;
  border-radius: 0;
  font-weight: 700;
}

@media (max-width: 991px) {
  .subscribe .cta-form {
    display: flex;
    justify-content: center;
  }
  .subscribe .cta-form .input-group {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 575px) {
  .subscribe .cta-form .input-group {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    gap: 8px;
  }
  .subscribe .cta-form .form-control,
  .subscribe .cta-form .btn {
    height: 48px;
    border-radius: 12px;
  }
  .subscribe .cta-content h2 { font-size: 1.6rem; }
  .subscribe .cta-content p { font-size: 0.98rem; }
}

@media (max-width: 991px) {
  .subscribe .cta-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .subscribe .cta-image {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Recent Blog Postst Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
  background: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-blog-postst .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-postst .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-postst .post-item .post-content {
  padding: 30px;
}

.recent-blog-postst .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-postst .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-blog-postst .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-blog-postst .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-blog-postst .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-postst .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-postst .post-item:hover .post-title,
.recent-blog-postst .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-blog-postst .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# 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%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

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

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

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

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

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

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

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

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

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--surface-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper img {
    width: 70px;
    height: 70px;
  }
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 30px auto 0 auto;
  padding-top: 10px;
}

.blog-comment-form form {
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-comment-form .form-header h3 {
  color: var(--heading-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-comment-form .form-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9375rem;
}

.blog-comment-form .input-group {
  margin-bottom: 1rem;
  position: relative;
}

.blog-comment-form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 0.875rem;
}

.blog-comment-form .input-group input,
.blog-comment-form .input-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.blog-comment-form .input-group input::placeholder,
.blog-comment-form .input-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .input-group input:hover,
.blog-comment-form .input-group textarea:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .input-group input:focus,
.blog-comment-form .input-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown),
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown)+.error-text,
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown)+.error-text {
  opacity: 1;
  transform: translateY(0);
}

.blog-comment-form .input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .input-group .error-text {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #dc3545;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.blog-comment-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comment-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.blog-comment-form button[type=submit]:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 1.5rem;
  }

  .blog-comment-form .form-header h3 {
    font-size: 1.5rem;
  }

  .blog-comment-form button[type=submit] {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

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

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

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

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.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%);
}

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

.categories-widget ul li {
  padding-bottom: 10px;
}

.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;
}

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

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

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

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Responsive Improvements
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 60px 0 30px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .hero-list {
    margin: 20px 0 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    width: 100%;
    justify-content: center;
    margin: 0 0 16px 0;
  }

  .hero .btn-watch-video {
    margin-left: 0;
  }

  .hero-img {
    text-align: center;
  }

  .hero-img video,
  .hero-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;
  }

  .about .about-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .about .about-highlights .highlight {
    min-width: auto;
    width: 100%;
  }

  .call-to-action {
    padding: 80px 0;
  }

  .call-to-action .cta-btn {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0 0;
  }

  .footer .footer-newsletter .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer .footer-newsletter .newsletter-form input[type=email],
  .footer .footer-newsletter .newsletter-form input[type=submit] {
    width: 100%;
  }

  .footer .footer-newsletter .newsletter-form input[type=submit] {
    margin: 0;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .hero-list li {
    font-size: 18px;
  }

  .hero p {
    font-size: 16px;
  }

  .testimonial-side-image {
    justify-content: center;
  }

  .testimonial-side-image img {
    max-width: 100%;
    min-height: 220px;
  }

  .testimonials .testimonial-item {
    max-width: 100%;
    padding: 28px 20px 22px;
  }

  .testimonials .testimonial-item h3 {
    font-size: 20px;
  }

  .testimonials .testimonial-item h4 {
    font-size: 12px;
  }

  .testimonials .testimonial-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 575px) {
  .header {
    padding: 10px 0;
  }

  .header .logo h1 {
    font-size: 20px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 120px;
    height: 120px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    padding: 12px 18px;
  }

  .footer .footer-top .footer-about,
  .footer .footer-top .footer-links,
  .footer .footer-top .col-lg-4 {
    text-align: center;
  }

  .footer .footer-top .footer-links ul {
    display: inline-block;
  }

  .footer .social-links {
    justify-content: center;
  }
}
