/*
Template Name: AppSlot | Mobile App Development Agency Website HTML Template
Author: pillarix
Author URI: https://wrapbootstrap.com/user/pillarix
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap");

/* ------------------- Index --- */
:root {
  --primary-color: #0055ff; /* A confident, professional blue */
  --dark-color: #050710;
  --bg-card: #0e101c;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a0aec0; /* Softer gray for secondary text */
}

body {
  background-color: var(--dark-color);
  color: var(--text-primary);
  font-family: "Quattrocento", serif;
  overflow-x: hidden;
  letter-spacing: 1px !important;
  font-size: 13px;
}

/* --- Subtle Aurora Background --- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 25%, rgba(0, 85, 255, 0.15), transparent 40%), radial-gradient(circle at 85% 75%, rgba(0, 85, 255, 0.1), transparent 40%);
  z-index: -1;
}

a {
  text-decoration: none;
}
html,
.accordion-button {
  scroll-behavior: smooth;
  letter-spacing: 1px !important;
}

/* --- General Styles --- */
.section {
  padding: 100px 0;
}
.section-title h2 {
  font-size: 2.75rem;
  font-weight: 700;
}
.section-title p {
  max-width: 600px;
  margin: 1rem auto 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.lead {
  color: var(--text-secondary);
  font-weight: 400;
}

/* --- Navbar --- */
.navbar {
  background-color: rgba(5, 7, 16, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}
.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 15px;
  padding: 11px 14px !important;
}
.nav-link.active,
.nav-link:hover {
  color: var(--text-primary) !important;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #0044cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}
.navbar .navbar-brand img {
  height: 32px;
  padding-bottom: 4px;
}
/* --- Hero Section --- */
#hero {
  padding-top: 180px;
  padding-bottom: 140px;
}
#hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.2;
}
#hero .highlight {
  color: var(--primary-color);
}

/* --- Trusted By (Client Logos) --- */
#clients {
  padding-top: 0;
  padding-bottom: 80px;
}
.client-logo {
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.6;
  transition: all 0.3s ease;
  height: 35px; /* Consistent height */
}
.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Results-Driven Section (Stats) --- */
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}
.stat-label {
  color: var(--text-secondary);
}

/* --- Interactive Spotlight Card --- */
.spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.spotlight-card:hover {
  border-color: rgba(0, 85, 255, 0.5);
  transform: translateY(-5px);
}
.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle at center,
    rgba(0, 85, 255, 0.2) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: top 0.2s ease, left 0.2s ease;
  pointer-events: none;
  opacity: 0;
}
.spotlight-card:hover::before {
  opacity: 1;
}
.spotlight-card-content {
  position: relative;
  z-index: 1;
}
.spotlight-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* --- Portfolio --- */
.portfolio-item {
  border-radius: 12px;
  overflow: hidden;
}
.portfolio-item img {
  transition: transform 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-overlay {
  background: linear-gradient(to top, rgba(5, 7, 16, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* --- FAQ --- */
.accordion-item {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px !important;
  margin-bottom: 1rem;
}
.accordion-button {
  background-color: var(--bg-card) !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.accordion-button:not(.collapsed) {
  border-bottom: 1px solid var(--border-color);
}
.accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(200%);
}
.accordion-body {
  color: var(--text-secondary);
  background-color: var(--bg-card);
}

/* --- CTA --- */
#contact {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 80px 40px;
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  color: var(--text-secondary);
}
footer a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  #hero h1 {
    font-size: 3.2rem;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* ------------------- about --- */

/* --- Page Hero --- */
.page-hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
}
.page-hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
}

/* --- Story Section --- */
.story-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.story-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.story-image {
  border-radius: 12px;
  object-fit: cover;
  height: 100%;
}

/* --- Team Section --- */
.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 1.5rem;
}
.team-card .team-name {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.team-card .team-title {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}
.team-card .team-socials a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}
.team-card .team-socials a:hover {
  color: var(--primary-color);
}

/* --- Values Section --- */
.value-item {
  text-align: center;
}
.value-item .icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  background-color: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}
.value-item .icon-box i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* --- Join Us Section --- */
#join-us {
  background: linear-gradient(rgba(14, 16, 28, 0.9), rgba(14, 16, 28, 0.9)), url("../img/join-bg.jpg") no-repeat center center;
  background-size: cover;
  border-radius: 20px;
}

/* --- CTA --- */
#cta-section {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 80px 40px;
}

/* ------------------- blog post --- */

/* --- Article Header --- */
.article-header {
  padding-top: 180px;
  padding-bottom: 50px;
}
.article-header .category-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
}
.article-author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}
.article-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* --- Article Body --- */
.article-featured-image {
  border-radius: 12px;
}
.article-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body h2,
.article-body h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.article-body blockquote {
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary-color);
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.article-body ul {
  padding-left: 20px;
  margin-bottom: 1.5rem;
}
.article-body ul li {
  margin-bottom: 0.5rem;
}
.article-body img {
  border-radius: 8px;
}

/* --- Article Meta (Share, Author box) --- */
.article-share {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.article-share a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.article-share a:hover {
  color: var(--primary-color);
}
.author-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
}
.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
}

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 120px;
}

/* --- Sidebar --- */
.sidebar-widget {
  background-color: var(--bg-card);
  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 2rem;
}
.sidebar-widget .widget-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.sidebar-widget .list-group-item {
  background-color: transparent;
  border: none;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.sidebar-widget .list-group-item:hover {
  color: var(--primary-color);
}
.sidebar-widget .tag-cloud a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin: 0 5px 5px 0;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sidebar-widget .tag-cloud a:hover {
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

/* --- Comments --- */
.comment-item {
  display: flex;
  margin-bottom: 2rem;
}
.comment-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

/* --- Post Navigation --- */
.post-navigation a {
  display: block;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.post-navigation a:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}
.post-navigation a small {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 992px) {
  .article-header h1 {
    font-size: 2.8rem;
  }
}

/* ------------------- blog --- */

/* --- Featured Post --- */
.featured-post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.featured-post-card .post-content {
  padding: 40px;
}
.featured-post-card .post-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* --- Blog Post Card --- */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.post-card .card-img-top {
  height: 220px;
  object-fit: cover;
}
.post-card .card-body {
  padding: 25px;
}
.post-card .category-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.post-card .card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.post-card .card-title a:hover {
  color: var(--primary-color);
}
.post-card .author-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}
.post-card .author-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* --- Pagination --- */
.pagination .page-link {
  background-color: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-secondary);
}
.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-primary);
}
.pagination .page-link:hover {
  background-color: #1a1c2c;
  color: var(--text-primary);
}
.pagination .page-item.disabled .page-link {
  background-color: transparent;
}

/* ------------------- case study --- */

/* --- Case Study Hero --- */
.case-study-hero {
  padding-top: 180px;
  padding-bottom: 80px;
}
.case-study-hero h1 {
  font-size: 4rem;
  font-weight: 800;
}
.project-meta {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}
.project-meta-item strong {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.project-meta-item span {
  font-weight: 600;
  font-size: 1.1rem;
}
.hero-image {
  border-radius: 12px;
  margin-top: 4rem;
}

/* --- Content Sections --- */
.content-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.content-section p,
.content-section li {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.content-section ul {
  list-style: none;
  padding-left: 0;
}
.content-section ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 1rem;
}
.content-section ul li::before {
  content: "\ea14"; /* RemixIcon check */
  font-family: "remixicon" !important;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* --- Image Gallery --- */
.gallery-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}
.gallery-image:hover {
  transform: scale(1.03);
}

/* --- Results Section --- */
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.stat-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background-color: var(--bg-card);
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.5;
}
.testimonial-card blockquote {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
}
.testimonial-card .author-name {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}
.testimonial-card .author-title {
  color: var(--text-secondary);
}

/* --- Project Navigation --- */
.project-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.project-nav a:hover {
  color: var(--primary-color);
}

/* ------------------- proposal --- */

/* --- Form & Process Section --- */
.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.process-step .icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}
.process-step .icon-box i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
.process-step strong {
  font-weight: 600;
  display: block;
}
.process-step p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Form Styling */
.form-control,
.form-select {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.9rem 1rem;
  border-radius: 8px;
}
.form-control:focus,
.form-select:focus {
  background-color: var(--input-bg);
  color: var(--text-primary);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 85, 255, 0.25);
}
.form-control::placeholder {
  color: var(--text-secondary);
}
.form-check-input {
  background-color: var(--input-bg);
  border-color: var(--border-color);
}
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ------------------- services --- */

/* --- Service Detail Card --- */
.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.service-detail-card .icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 85, 255, 0.1);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.service-detail-card ul {
  list-style: none;
  padding: 0;
}
.service-detail-card ul li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}
.service-detail-card ul i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

/* --- Process Timeline --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-item.left {
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item::after {
  /* The circle on the timeline */
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--dark-color);
  border: 4px solid var(--primary-color);
  top: 30px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.right::after {
  left: -10px;
}
.timeline-content {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  border-radius: 12px;
}
.timeline-content .step {
  font-weight: 700;
  color: var(--primary-color);
}

/* --- Tech Stack --- */
#tech-stack {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.tech-icon {
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
  height: 50px;
}
.tech-icon:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 15px;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0%;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 10px;
  }
}

/* ------------------- work --- */

/* --- Portfolio Card --- */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.portfolio-card .card-img-top-wrapper {
  overflow: hidden;
  height: 300px;
}
.portfolio-card .card-img-top {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card:hover .card-img-top {
  transform: scale(1.05);
}
.portfolio-card .card-body {
  padding: 30px;
}
.portfolio-card .tag {
  display: inline-block;
  background-color: rgba(0, 85, 255, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 5px;
  margin-bottom: 10px;
}
.portfolio-card .card-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.portfolio-card .card-link:hover {
  color: var(--primary-color);
}
.portfolio-card .card-link i {
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.portfolio-card .card-link:hover i {
  transform: translateX(5px);
}

/* --- Approach Section --- */
.approach-item .icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--bg-card);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}
