/* Page-specific styles for BN3 Consulting */

/* Testimonials Page Styles */

/* Additional glow effects */
.testimonials-section::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(100px);
  animation: float 20s ease-in-out infinite;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--bright-accent) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(120px);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.testimonials-section {
  min-height: 100vh;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    #0f1a1c 50%,
    #132025 100%
  );
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-title {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--text-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.testimonials-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Featured Quotes Section */
.featured-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.quote-card {
  background: linear-gradient(135deg, var(--card-bg), var(--card-hover));
  border: 1px solid var(--primary-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  font-family: "Kanit", sans-serif;
  color: var(--primary-light);
  opacity: 0.1;
  font-weight: 900;
}

.quote-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(42, 122, 136, 0.2);
}

.quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quote-author {
  font-weight: 600;
  color: var(--accent);
}

.quote-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.quote-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Projects Carousel */
.projects-carousel {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a2528 100%);
  border: 1px solid var(--primary-light);
  border-radius: 24px;
  padding: 3rem 5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(42, 122, 136, 0.1);
}

.project-carousel-container {
  position: relative;
}

.project-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.project-slide {
  min-width: 100%;
  padding: 0 2rem;
  opacity: 0.3;
  transform: scale(0.95);
  transition: all 0.5s ease;
}

.project-slide.active {
  opacity: 1;
  transform: scale(1);
}

.project-slide.prev,
.project-slide.next {
  opacity: 0.15;
  transform: scale(0.9);
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.project-details {
  padding-right: 2rem;
}

.project-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  font-family: "Kanit", sans-serif;
}

.project-type {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(42, 122, 136, 0.3);
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.project-value {
  background: linear-gradient(135deg, #1a3038 0%, #1f4550 100%);
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(42, 122, 136, 0.15);
}

.project-value h4 {
  color: var(--bright-accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-shadow: 0 0 20px rgba(58, 154, 172, 0.5);
}

.project-value p {
  color: var(--white);
  line-height: 1.6;
  font-weight: 500;
}

.project-testimonials {
  padding-left: 2rem;
  border-left: 2px solid var(--border-subtle);
}

.project-testimonials h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-shadow: 0 0 15px rgba(58, 154, 172, 0.3);
}

.testimonial-item {
  background: linear-gradient(135deg, #1a3038 0%, #1f4550 100%);
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(42, 122, 136, 0.1);
}

.testimonial-text {
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.testimonial-author {
  font-weight: 600;
  color: var(--bright-accent);
  font-size: 0.9rem;
}

/* Carousel Navigation */
.project-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.project-nav-btn {
  background: linear-gradient(135deg, #1a3038 0%, #1f4550 100%);
  border: 1px solid var(--primary-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(42, 122, 136, 0.2);
}

.project-nav-btn:hover {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  border-color: var(--bright-accent);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(42, 122, 136, 0.4);
}

.project-nav-btn svg {
  width: 24px;
  height: 24px;
}

.project-dots {
  display: flex;
  gap: 0.5rem;
}

.project-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-dot.active {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  width: 30px;
  border-radius: 5px;
}

/* Quick Navigation */
.project-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.quick-nav-btn {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a2528 100%);
  border: 1px solid var(--primary-light);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(42, 122, 136, 0.1);
}

.quick-nav-btn:hover,
.quick-nav-btn.active {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  border-color: var(--bright-accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(42, 122, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-content {
    grid-template-columns: 1fr;
  }

  .project-testimonials {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--border-subtle);
    padding-top: 2rem;
    margin-top: 2rem;
  }

  .project-details {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 100px 5% 60px;
  }

  .featured-quotes {
    grid-template-columns: 1fr;
  }

  .projects-carousel {
    padding: 2rem 2rem;
  }

  .project-slide {
    padding: 0;
  }

  .project-name {
    font-size: 2rem;
  }

  .project-nav {
    gap: 1rem;
  }

  .project-quick-nav {
    gap: 0.5rem;
  }

  .quick-nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .project-nav-btn {
    width: 40px;
    height: 40px;
  }

  .project-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .quote-card {
    min-width: unset;
  }
}

/* Service Pages Styles */

/* Service Hero Section */
.service-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1418 0%, #0f1f24 50%, #1a3038 100%);
  overflow: hidden;
  margin-top: 80px;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(42, 122, 136, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(58, 154, 172, 0.1) 0%,
      transparent 40%
    );
  animation: float 20s ease-in-out infinite;
}

.service-hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 5%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(42, 122, 136, 0.3);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.service-hero h1 {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.service-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Service Container */
.service-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Service Overview */
.service-overview {
  padding: 5rem 0;
  background: var(--dark-bg);
  position: relative;
}

.service-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse at top left,
      rgba(42, 122, 136, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(58, 154, 172, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.service-intro {
  max-width: 900px;
  margin: 0 auto;
}

.service-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

/* Service Benefits */
.service-benefits {
  padding: 5rem 0;
  background: linear-gradient(
    to bottom,
    var(--dark-bg) 0%,
    var(--darker-bg) 100%
  );
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #131a1d 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #1a2528 0%, #1f3035 100%);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(42, 122, 136, 0.4);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  color: var(--bright-accent);
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(58, 154, 172, 0.5));
}

.benefit-card h3 {
  font-family: "Kanit", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service Examples */
.service-examples {
  padding: 5rem 0;
  background: var(--darker-bg);
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.example-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.example-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(20, 65, 72, 0.2);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.example-header h3 {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.example-industry {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.example-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.example-card p:last-child {
  margin-bottom: 0;
}

.example-card strong {
  color: var(--text-primary);
}

/* Process/Timeline Section */
.service-process {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.process-timeline {
  position: relative;
  margin-top: 3rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--border-subtle);
  transform: translateX(-1px);
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(42, 122, 136, 0.4);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(58, 154, 172, 0.5);
}

.step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.step-content h3 {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Stack Section */
.service-tech {
  padding: 5rem 0;
  background: linear-gradient(
    to bottom,
    var(--darker-bg) 0%,
    var(--dark-bg) 100%
  );
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.tech-category h3 {
  font-family: "Kanit", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  background: linear-gradient(135deg, #0f1618 0%, #131a1d 100%);
  border: 1px solid rgba(42, 122, 136, 0.3);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-tag:hover {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--bright-accent) 100%
  );
  color: var(--white);
  border-color: var(--bright-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 122, 136, 0.4);
}

/* Service CTA */
.service-cta {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  text-align: center;
}

.service-cta .cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.service-cta .cta-title {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.service-cta .cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem auto;
  max-width: 70%;
}

.service-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  background: var(--off-white);
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: var(--card-hover);
  color: var(--text-primary);
}

.dropdown-link.active {
  border-left: 3px solid var(--primary);
}

@media (max-width: 660px) {
  .service-cta .cta-subtitle {
    max-width: 100%;
  }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    padding-left: 1rem;
  }

  .dropdown-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-dropdown .nav-link::after {
    content: "";
    display: none;
  }

  .service-hero {
    min-height: 50vh;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .service-hero-subtitle {
    font-size: 1.1rem;
  }

  .process-timeline::before {
    left: 25px;
    top: 25px;
    bottom: 25px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .process-step {
    gap: 1.5rem;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .examples-grid {
    gap: 1.5rem;
  }

  .example-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-cta {
    padding: 5rem 1rem;
  }
}
