/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Roboto",  sans-serif;
  --nav-font: "Roboto",  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: #2a2a2a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1a80c8; /* 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: #d1d1d1;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* 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: #397CD4; /* 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: #f0f0f0;
  --surface-color: #ffffff;
}
/* =========================
   Dark Sign-In Modal Only
========================= */

.modal-content {
  background-color: #0f0f0f;
  color: #ffffff;
  border: 1px solid #222;
}

.modal-header {
  border-bottom: 1px solid #222;
}

.modal-body {
  background-color: #0f0f0f;
}

.modal-content .form-label {
  color: #ccc;
}

.modal-content .form-control {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
}

.modal-content .form-control:focus {
  background-color: #1a1a1a;
  border-color: #0d6efd;
  box-shadow: none;
}

.modal-content hr {
  border-color: #222;
}

.modal-content a {
  color: #4da3ff;
}


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

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* Make Sign In title white */
.modal-title {
  color: #ffffff;
}

/* ===============================================
   FIX: Prevent Header Shift When Modal Opens
=============================================== */
/* When Bootstrap modal opens, it sets body to overflow:hidden and adds padding.
   We prevent the shift by managing the padding ourselves. */

/* Remove Bootstrap's automatic padding calculation */
.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}

/* Keep header fixed and prevent it from shifting */
.modal-open .header.fixed-top {
  padding-right: 0 !important;
  right: 0 !important;
}

/* Ensure body doesn't shift and no white line appears */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ensure background extends fully */
html {
  background-color: var(--background-color);
}

body {
  min-height: 100vh;
  position: relative;
}

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

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/

/* ================= HEADER (EXACT LINEAR.APP MATCH) ================= */

.header {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 997;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Header on scroll - more opaque */
.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Container layout - exact Linear spacing */
.header .container-xl {
  padding: 12px 24px;
  max-width: 1280px;
}

.header .logo img {
  height: 28px;
  transition: opacity 0.15s ease;
}

.header .logo:hover img {
  opacity: 0.8;
}

/* Nav layout (DESKTOP ONLY) */
@media (min-width: 1200px) {
  .navmenu ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .navmenu li {
    margin: 0;
  }

  /* Add separator before auth nav items */
  .navmenu li.nav-separator::before {
    content: '';
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.55);
    margin: 0 10px 0 8px;
    display: inline-block;
    vertical-align: middle;
  }
}

/* Nav links - exact Linear style */
.navmenu a {
  position: relative;
  font-size: 13px;
  letter-spacing: -0.006em;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  display: inline-block;
}

.navmenu a:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
}

.navmenu a.active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

/* Remove blue underline, use background instead */
.navmenu a::after {
  display: none;
}



/* ================= HEADER BUTTONS (EXACT LINEAR STYLE) ================= */

/* Log In Button */
.navmenu a#openSignIn {
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 6px 10px;
}

.navmenu a#openSignIn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
}

/* Sign Up Button - Almost white to white on hover */
.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 44px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #000000 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-signup:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.btn-signup:active {
  background: rgba(255, 255, 255, 0.85);
  color: #000000 !important;
}

/* Focus styles */
.btn-signup:focus,
.btn-signup:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ================= MOBILE SLIDE-IN NAV ================= */

.nav-scroll-btn {
  display: none !important;
}

@media (max-width: 1199px) {

  /* Hamburger */
  .mobile-nav-toggle {
    display: block;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
  }


  /* Mobile panel — scrollbar hidden by pushing it off the right edge */
  .navmenu {
    position: fixed;
    top: 0;
    right: -50vw;
    width: calc(50vw + 20px);
    height: 100vh;

    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 90px 60px 90px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: scroll;
    overflow-x: hidden;
    transition:
  right 0.6s cubic-bezier(0.22, 1, 0.36, 1),
  box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 10000;
  }

  body.mobile-nav-active .navmenu {
  box-shadow: -40px 0 80px rgba(0,0,0,0.6);
}


  /* Slide in — stop at -20px to keep scrollbar off-screen */
  body.mobile-nav-active .navmenu {
    right: -20px;
  }

  /* Vertical menu */
  body.mobile-nav-active .navmenu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .navmenu a {
    font-size: 18px;
  }

  /* Lock page when menu open */
  body.mobile-nav-active {
    overflow: hidden;
  }


  /* Hide back-to-top button when nav is open */
  body.mobile-nav-active .scroll-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
  }


  /* Nav scroll arrows — sticky inside nav, like the request modal */
  .nav-scroll-btn {
    display: none;
    position: sticky;
    align-self: flex-end;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
  }
  .nav-scroll-btn-up {
    top: 0;
    margin-bottom: -26px;
  }
  .nav-scroll-btn-down {
    bottom: 0;
    margin-top: -26px;
  }
  .nav-scroll-btn:hover {
    background: rgba(26, 128, 200, 0.15);
    border-color: rgba(26, 128, 200, 0.3);
    color: #1a80c8;
  }
  body.mobile-nav-active .nav-scroll-btn {
    display: flex !important;
  }
}

@media (max-width: 1199px) {
  .navmenu .btn-signup:hover {
    background: #ffffff !important;
    color: #000000 !important;
  }
}


/* ================= KILL DESKTOP HEADER NAV ON MOBILE ================= */
@media (max-width: 1199px) {

  #header .navmenu {
    display: none;
  }

  body.mobile-nav-active #header .navmenu {
    display: block;
  }

}


/* Make sure mobile menu is above everything */
@media (max-width: 1199px) {
  .navmenu {
    z-index: 10050;
    pointer-events: auto;
  }

}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

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

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

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

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
  border-color: rgba(26, 128, 200, 0.5);
  box-shadow: 0 0 0 2px rgba(26, 128, 200, 0.25);
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  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 TO TOP (THEME MATCHED) ================= */

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

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

.scroll-top:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.scroll-top i {
  font-size: 18px;
  line-height: 1;
}


/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.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 50%);
}

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}


.hero .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  }

.hero .btn-get-started {
  /*
  color: var(--contrast-color);
  background: var(--accent-color);
  */
  color: #ffffff;
  background: #00ccff;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
}

.hero .btn-get-started:hover {
  /*background: color-mix(in srgb, var(--accent-color), transparent 20%);*/
  background: color-mix(in srgb, #00ccff, transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ================= HERO (DESKTOP POLISH) ================= */

  .hero p {
    max-width: 900px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
  }

  .hero .btn-group,
  .hero .hero-actions {
    margin-top: 28px;
  }
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
  position: relative;
  margin: 60px 0 0 60px;
}

.about .about-img:before {
  position: absolute;
  inset: -60px 0 0 -60px;
  content: "";
  background: url("../img/about-bg.png") top left;
  background-repeat: no-repeat;
  z-index: 1;
}

.about .about-img img {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .about .about-img {
    margin: 30px 0 0 30px;
  }

  .about .about-img:before {
    inset: -30px 0 0 -30px;
  }
}

.about h3 {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about h3 {
    font-size: 28px;
  }
}

.about .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .nav-pills li+li {
  margin-left: 40px;
}

.about .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--default-color);
  padding: 12px 0;
  margin-bottom: -2px;
  border-radius: 0;
}

.about .nav-link.active {
  color: var(--accent-color);
  background: none;
  border-bottom: 3px solid var(--accent-color);
}

@media (max-width: 575px) {
  .about .nav-link {
    font-size: 16px;
  }
}

.about .tab-content h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--default-color);
}

.about .tab-content i {
  font-size: 22px;
  line-height: 0;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

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

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  text-align: center;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  background-color: var(--surface-color);
  color: var(--accent-color);
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .service-item h3 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
  position: relative;
}

.services .service-item h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

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

.services .service-item:hover .icon {
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

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

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.why-us .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.why-us .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.why-us .card-item h4 a {
  color: var(--heading-color);
}

.why-us .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.why-us .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.why-us .card-item:hover span,
.why-us .card-item:hover h4 a,
.why-us .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# 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: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  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 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
}

.portfolio .portfolio-item .portfolio-info {
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 15px;
}

.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 {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.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: 20px;
}

.portfolio-img-hover {
  border: 2px solid transparent;
  transition: border-color 0.3s ease-in-out, transform 0.3s ease;
}

.portfolio-img-hover:hover {
  border-color: var(--accent-color);
  transform: scale(1.05);
  cursor: pointer;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  --default-color: #ffffff;
}

.team .member {
  text-align: center;
  position: relative;
  height: 100%;
}

.team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  transition: 0.2s;
}

.team .member .member-info-content {
  margin-top: -50px;
  transition: margin 0.2s;
}

.team .member:hover .member-info {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: 0.4s;
}

.team .member:hover .member-info-content {
  margin-top: 0;
  transition: margin 0.4s;
}

.team .member h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: 0.3s;
  color: var(--default-color);
}

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

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

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

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

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

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

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  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: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

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

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

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

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

.pricing .pricing-fine {
  line-height: 14px;
  font-size: 10px;
  margin-bottom: 0;
}

/* ================= FAQ (CLEAN + LINEAR STYLE) ================= */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.faq-toggle-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-extra {
  display: none;
}

/* Show more / Show less button */
.faq-show-more {
  background: none;
  border: none;
  margin: 24px auto 0;
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: color 0.15s ease;
}

/* Hover = white */
.faq-show-more:hover {
  color: #ffffff;
}






/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0;
}

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

@media (min-width: 992px) {
  .contact .info-item.info-item-borders {
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  }
}

.contact .php-email-form {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 30px;
}

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

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

.starter-section {
  /* Add your styles here */
}
/* AUTH FORMS */
.auth-form input {
  background: #111;
  border: 1px solid #333;
  color: #fff;
}

.auth-form input:focus {
  background: #111;
  color: #fff;
  border-color: #0d6efd;
}

/* PLAN SELECTOR */
.plan-selector {
  display: grid;
  gap: 10px;
}

.plan-option {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.plan-option input {
  margin-right: 10px;
}

.plan-option:hover {
  border-color: #0d6efd;
}

.plan-option input:checked + span {
  color: #0d6efd;
}
/* ===== AUTH MODALS ===== */

.dark-modal {
  background: #0b0f14;
  color: #ffffff;
  border-radius: 12px;
}

.dark-modal .modal-title {
  color: #ffffff;
}

.dark-modal .form-control {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
}

.dark-modal .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}

.dark-modal .form-control:focus {
  background: #111827;
  border-color: #0dcaf0;
  box-shadow: none;
  color: #ffffff;
}

.dark-modal a {
  color: #0dcaf0;
  text-decoration: none;
}

.dark-modal a:hover {
  text-decoration: underline;
}
html {
  overflow-y: scroll; /* scrollbar always present */
}

body.modal-open {
  overflow: hidden;
}
body.modal-open {
  padding-right: 0 !important;
}






.hero-panel h1 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero-panel p {
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.6;
}
.btn-primary {
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: none;
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
}
/* =========================
   Hero Entrance Animation
========================= */

.hero-panel {
  animation: heroFadeUp 0.9s ease-out both;
}

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


/* ===============================
   FEATURES — 2x2 GRID (FOUNDER STYLE)
   =============================== */

.linear-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Feature card */
.linear-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Disable reverse in grid (keeps consistency) */
.linear-feature.reverse {
  flex-direction: row;
}

/* Text */
.linear-feature-text {
  flex: 1;
}

.linear-feature-text h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.linear-feature-text p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Image */
.linear-feature-visual img {
  width: 64px;
  height: auto;
  opacity: 0.95;
}

/* =========================
   Linear Section Dividers
========================= */


/* Prevent double divider at top */
section#hero::before {
  display: none;
}
.section {
  padding-top: 140px;
  padding-bottom: 140px;
}
/* =========================
   Linear Product Gallery
========================= */

/* ================= LINEAR-INSPIRED PRODUCT PREVIEW ================= */

.linear-gallery {
  max-width: 1200px;
}

.linear-gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

.linear-gallery-header h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
}

.linear-gallery-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 900px;
  margin: 0 auto;
}

/* Gallery Scroll Wrapper with Buttons */
.gallery-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Scroll Navigation Buttons */
.gallery-scroll-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
}

.gallery-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

.gallery-scroll-btn:active {
  transform: scale(0.95);
}

.gallery-scroll-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Horizontal Scrolling Layout - Linear Style */
.linear-gallery-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

/* Hide scrollbar on desktop, keep functionality */
.linear-gallery-grid::-webkit-scrollbar {
  height: 8px;
}

.linear-gallery-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.linear-gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.linear-gallery-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Preview Card - Sized to show 3 evenly on desktop */
.preview-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 300px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.preview-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Image Container */
.preview-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.preview-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.preview-card:hover .preview-card-image img {
  transform: scale(1.02);
}

/* Card Content */
.preview-card-content {
  padding: 20px;
}

.preview-card-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.95);
}

.preview-card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Tablet: Show 2 cards evenly */
@media (max-width: 1024px) and (min-width: 769px) {
  .gallery-scroll-btn {
    display: none;
  }

  .preview-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 320px;
  }
}

/* Mobile: Cards with fixed width for easy scrolling */
@media (max-width: 768px) {
  .gallery-scroll-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: stretch;
  }

  .gallery-scroll-btn {
    display: flex;
    order: 2;
    width: 40px;
    height: 40px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 6px;
  }

  .linear-gallery-grid {
    order: 1;
    flex: 0 0 100%;
    gap: 0;
    scroll-snap-type: x mandatory;
  }

  .preview-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }
}
/* =========================
   Linear FAQ
========================= */

.linear-faq {
  max-width: 900px;
}

.linear-faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.linear-faq-header h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
}

.linear-faq-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 900px;
  margin: 0 auto;
}

.linear-faq-list details {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 28px 0;
}

.linear-faq-list summary {
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.linear-faq-list summary::-webkit-details-marker {
  display: none;
}

.linear-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: rgba(255,255,255,0.6);
  transition: transform 0.25s ease;
}

.linear-faq-list details[open] summary::after {
  content: "–";
}

.linear-faq-list details p {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 720px;
}
.pricing-item {
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
}
.pricing-item:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}
.service-item .icon {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
}
/* Tighten vertical spacing between sections */
.section {
  padding: 56px 0;
}
#capabilities {
  padding-bottom: 18px;
}

#gallery {
  padding-top: 18px;
}
/* Removed duplicate styles - using Linear.app exact styles from header section */


/* Nav CTA - Special styling for sign up button */
.navmenu li.nav-cta {
  margin-left: 4px;
}

.navmenu li.nav-cta > a {
  display: inline-flex;
  align-items: center;
  color: #000000 !important;
}

.navmenu li.nav-cta > a:hover {
  transform: none;
  color: #000000 !important;
}

/* Removed - using Linear.app exact styles from header section above */

/* Mobile nav behavior */
@media (max-width: 1200px) {

  #navmenu {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 2000;
    padding: 100px 40px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  #navmenu ul {
    flex-direction: column;
    gap: 28px;
  }

  #navmenu a {
    font-size: 22px;
    color: white;
  }

  #navmenu.active {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 3000;
    position: relative;
  }
}


/* ==============================
   About Section – Linear Style
================================ */

.about-eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.about-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Right-side visual */
.about-visual {
  position: relative;
  height: 320px;
  border-radius: 16px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.08),
    rgba(0, 0, 0, 0.9)
  );
  overflow: hidden;
}

/* Subtle grid / signal feel */
.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255,255,255,0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.04) 1px,
      transparent 1px
    );
  background-size: 32px 32px;
}

/* ================= FOUNDERS (ULTRA COMPACT) ================= */

.founder-card {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.founder-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.3);
}

.founder-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-avatar img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Founder Image Lightbox */
.founder-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.founder-lightbox.active {
  display: flex;
}

.founder-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-lightbox img {
  max-width: 280px;
  max-height: 280px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  object-fit: cover;
  object-position: top;
}

.founder-lightbox-content h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 16px 0 6px;
}

.founder-lightbox-role {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.founder-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color 0.2s ease;
}

.founder-lightbox-close:hover {
  color: #fff;
}

.founder-content h4 {
  margin: 0;
  font-size: 14px;           /* was 15px */
  line-height: 1.2;
}

.founder-role {
  font-size: 11.5px;         /* was 12.5px */
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 4px;
}

.founder-content p {
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 3;       /* SAME HEIGHT FOR ALL CARDS */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.founder-card.expanded .founder-content p {
  -webkit-line-clamp: unset;
  display: block;
}


.founder-more {
  display: none;
}

.founder-card.expanded .founder-more {
  display: block;
}

.founder-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;         /* was 12.5px */
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}

.founder-toggle:hover {
  text-decoration: underline;
}
.founders-row {
  display: flex;
  align-items: stretch;
}
.founder-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.founder-toggle {
  margin-top: auto; /* pushes button to bottom */
}


/* =========================
   Horizontal Footer (Final)
========================= */

.site-footer {
  background: #000;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left,
.footer-right {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #fff;
}

/* ==========================================================
   FOUNDERS SECTION — LOCKED
   Do not modify unless intentionally redesigning
   ========================================================== */




/* ================= LINEAR HERO + ABOUT ================= */

.hero-linear {
  padding: 120px 0 100px;
  background: #060606;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start; /* IMPORTANT: top alignment */
  gap: 72px;
}

/* HERO CONTENT */
.hero-content {
  max-width: 520px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Headline */
.hero-content h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: white; /* ← white */
}

/* Subtext */
.hero-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 20px; /* tighter so about starts sooner */
}

/* Positioning line */
.hero-positioning {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255,255,255,0.55);
  margin: 24px 0 28px;
}



/* ABOUT (directly under buttons, same column) */
.hero-about p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin-bottom: 16px;
}

/* Buttons styling */
.hero-actions a {
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: #1a80c8;
  color: #fff;
}

.btn-primary:hover {
  background: #3d9fe0;
  color: #fff;
  box-shadow: 0 0 16px rgba(26, 128, 200, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Image */
.hero-visual img {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .hero-linear {
    padding: 96px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}
/* Founder navigation link */
.hero-founder-link {
  margin-top: 20px;
}

.hero-founder-link a {
  font-size: 14.5px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.hero-founder-link a:hover {
  color: #ffffff;
  transform: translateX(4px);
}


/* ================= SECTION RHYTHM ================= */

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 768px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Capabilities → Gallery tightening */
#capabilities {
  padding-bottom: 48px;
}

#gallery {
  padding-top: 48px;
}

/* Section titles (Linear-style) */
.section-title h2 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section-title p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.7);
}

/* Remove hidden bottom margins */
.section > .container:last-child {
  margin-bottom: 0;
}
/* ================= CAPABILITIES REFINEMENT ================= */

#capabilities img {
  max-width: 92%;
  margin-top: 8px;
}

#capabilities h3 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 500;
}

#capabilities p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

#capabilities .d-flex.align-items-center.mt-4 {
  margin-top: 16px !important;
}
/* ================= FEATURES (CARD STYLE) ================= */

.features-grid {
  margin-top: 20px;
}

/* ================= FEATURES (CARD STYLE + ICONS) ================= */

.features-grid {
  margin-top: 20px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Icon Box (shared by features, outcomes) */
.card-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(26, 128, 200, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon-box i {
  font-size: 22px;
  color: #1a80c8;
}

/* Text */
.feature-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ================= OUTCOMES (MATCH CAPABILITIES HOVER) ================= */

.outcome-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.outcome-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.3);
}

/* outcome cards — green icons, green glow */
.outcome-card .card-icon-box {
  background: rgba(34, 197, 94, 0.15);
}
.outcome-card .card-icon-box i {
  color: #22c55e;
}


.outcome-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.outcome-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0;
}


/* Force nav above hero & overlays */
#navmenu {
  z-index: 9999;
}


/* ================= MOBILE MENU HARD FIX ================= */

/* Lock page scroll */
body.mobile-nav-active {
  overflow: hidden;
}

/* Force nav to be full screen overlay */
body.mobile-nav-active #navmenu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
}

/* Force menu list to fill screen */
body.mobile-nav-active #navmenu ul {
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  position: absolute;
  inset: 80px 24px 24px 24px;
  background: transparent;
  border: 0;
  padding: 0;
  overflow-y: auto;
}

/* Make links white & readable */
body.mobile-nav-active #navmenu a {
  color: #fff;
  font-size: 18px;
}

/* Make sure X stays above hero */
.mobile-nav-toggle {
  z-index: 100000;
}

/* Kill hero clipping while menu is open */
body.mobile-nav-active .hero {
  overflow: visible;
}
@media (max-width: 1199px) {
  .navmenu {
    position: relative;
    z-index: 100000;
  }

  .navmenu ul {
    position: fixed;
    inset: 70px 12px 12px 12px;
    background: #000;
    z-index: 100001;
    overflow-y: auto;
  }

  .mobile-nav-toggle {
    z-index: 100002;
  }
}

/* ===============================================
   MOBILE OPTIMIZATIONS & RESPONSIVE ENHANCEMENTS
=============================================== */

/* Ensure tap targets are at least 44px for mobile accessibility */
@media (max-width: 768px) {
  .btn, button, a.btn-signup, a.btn-primary, a.btn-secondary {
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Make modal close buttons easier to tap */
  .btn-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Mobile Hero Section Improvements */
@media (max-width: 768px) {
  .hero-linear {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .hero-visual img {
    max-width: 100%;
    margin-top: 32px;
  }
}

/* Mobile Pricing Cards */
@media (max-width: 768px) {
  .pricing .pricing-item {
    padding: 24px 20px;
    margin-bottom: 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .pricing-item h4 {
    font-size: 26px;
  }

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

  .pricing-item h4 span {
    font-size: 14px;
  }

  .pricing ul {
    padding: 10px 0;
  }

  .pricing ul li {
    padding: 5px 0;
    font-size: 13px;
  }

  .pricing ul i {
    font-size: 18px;
  }
}

/* Mobile Modal Improvements */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  /* Make form inputs easier to use on mobile */
  .form-control, .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header .logo img {
    height: 32px;
  }
}

/* Mobile Section Spacing */
@media (max-width: 576px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

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

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

/* Mobile Feature Cards */
@media (max-width: 768px) {
  .feature-card,
  .outcome-card {
    padding: 24px;
    margin-bottom: 16px;
  }

  .feature-card h4,
  .outcome-card h4 {
    font-size: 20px;
  }

  .card-icon-box {
    width: 48px;
    height: 48px;
  }
}

/* Mobile Gallery */
@media (max-width: 768px) {
  .linear-gallery-grid {
    gap: 16px;
  }

  .preview-card-content {
    padding: 16px;
  }

  .preview-card-content h3 {
    font-size: 15px;
  }

  .preview-card-content p {
    font-size: 13px;
  }
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 16px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 16px;
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-horizontal {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 12px;
  }
}

/* Prevent horizontal scroll on mobile - handled in main body styles above */

/* Improve text readability on mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  p {
    margin-bottom: 1rem;
  }
}

/* Optimize images for mobile */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Mobile Founder Cards */
@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .founder-avatar {
    margin: 0 auto 20px;
  }

  .founder-content {
    padding: 0;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .founder-content a[href*="linkedin"] {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Mobile Stats */
@media (max-width: 768px) {
  .stats .stats-item .purecounter {
    font-size: 32px;
    margin-left: 50px;
  }
  .stats .stats-item p {
    margin-left: 50px;
  }
  .stats .stats-item i {
    font-size: 36px;
  }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 375px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Touch-friendly spacing for mobile */
@media (hover: none) and (pointer: coarse) {
  /* This targets touch devices */
  a, button, .btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  /* Increase spacing between clickable elements */
  .navmenu li {
    margin-bottom: 8px;
  }
}

/* Improve performance on mobile with hardware acceleration */
.modal-content,
.navmenu,
.hero-visual img,
.btn {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-linear {
    padding: 80px 0 40px;
  }

  .modal-dialog {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* END MOBILE OPTIMIZATIONS */

