/* ==========================================
   Quantum Innovations - Main Stylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-dark: #0A1128;
  --accent-blue: #007ACC;
  --light-gray: #E6E8E6;
  --dark-gray: #333333;
  --white: #FFFFFF;
  --font-primary: 'Montserrat', Arial, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ==========================================
   Header Styles
   ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-desktop a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-gray);
  position: relative;
  padding: 0.5rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-blue);
}

.cta-button {
  background: var(--accent-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
}

.cta-button:hover {
  background: #0056A3;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-dark);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-menu .cta-button {
  margin-top: 2rem;
}

.mobile-menu-contact {
  position: absolute;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-contact a {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  color: var(--light-gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content .cta-button {
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

/* Hero CTA Glint Animation */
.cta-button.glint {
  position: relative;
  overflow: hidden;
}

.cta-button.glint::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: glint 3s infinite;
}

@keyframes glint {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ==========================================
   Section Styles
   ========================================== */

section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-blue);
  animation: underline-expand 0.8s ease 0.5s forwards;
}

@keyframes underline-expand {
  to { width: 100%; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   Services Section
   ========================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.service-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card a {
  color: var(--accent-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card a img {
  width: 20px;
  height: 20px;
  margin: 0;
  transition: transform 0.3s ease;
}

.service-card:hover a img {
  transform: translateX(5px);
}

/* Icon Animation on Desktop */
@media (min-width: 768px) {
  .service-card:hover img {
    animation: icon-pulse 0.6s ease;
  }
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) translateY(-2px); }
}

/* ==========================================
   Why Choose Us Section
   ========================================== */

.why-us {
  background: var(--light-gray);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-us-item {
  text-align: center;
  padding: 1.5rem;
}

.why-us-item img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.why-us-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-us-item p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ==========================================
   Process Timeline Section
   ========================================== */

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }
  
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--accent-blue);
    z-index: 0;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--white);
  border-radius: 50%;
  padding: 10px;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  max-width: 250px;
  margin: 0 auto;
}

/* Scroll Animation */
.process-step {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Testimonials Section
   ========================================== */

.testimonials {
  position: relative;
  background: url('../images/testimonial_bg.png') center/cover no-repeat;
  background-color: var(--primary-dark);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.85);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fade 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

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

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.testimonial-company {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-controls button {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-controls button:hover {
  background: var(--accent-blue);
  color: var(--white);
}

/* Mobile: Static Grid */
@media (max-width: 767px) {
  .testimonial-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .testimonial-slide {
    display: block !important;
  }
  
  .carousel-controls {
    display: none;
  }
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
  background: var(--primary-dark);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--light-gray);
  margin-bottom: 2rem;
}

.cta-section .cta-button {
  background: var(--white);
  color: var(--accent-blue);
}

.cta-section .cta-button:hover {
  background: var(--light-gray);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background: var(--light-gray);
  padding: 3rem 2rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: left;
  }
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-social {
    justify-content: flex-start;
  }
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-blue);
  transform: translateY(-3px);
}

.footer-social a img {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--accent-blue);
}

.footer-contact p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

/* Mobile Footer Accordion */
@media (max-width: 767px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
  }
  
  .footer-column {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
  }
  
  .footer-column h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-column h4::after {
    content: '+';
    font-size: 1.5rem;
  }
  
  .footer-column.collapsed ul {
    display: none;
  }
  
  .footer-column h4::after {
    content: '−';
  }
  
  .footer-column.collapsed h4::after {
    content: '+';
  }
}

/* ==========================================
   Page Hero Sections
   ========================================== */

.page-hero {
  background: var(--primary-dark);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   About Page
   ========================================== */

.about-story {
  padding: 4rem 2rem;
}

.about-story .container {
  max-width: 800px;
}

.about-story h2 {
  margin-bottom: 1.5rem;
}

.about-story p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--light-gray);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.team-member:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-member .role {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.trust-badges {
  padding: 4rem 2rem;
  background: var(--light-gray);
  text-align: center;
}

.trust-badges h2 {
  margin-bottom: 2rem;
}

.badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.badges-grid img {
  height: 60px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.badges-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================
   Services Page
   ========================================== */

.services-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2a4a 100%);
}

.services-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.services-hero p {
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}

.featured-case-study {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.featured-case-study .container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .featured-case-study .container {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-case-study img {
  border-radius: 8px;
  width: 100%;
}

.featured-case-study h2 {
  margin-bottom: 1rem;
}

.featured-case-study h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.featured-case-study p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

/* ==========================================
   Service Detail Page
   ========================================== */

.service-detail-hero {
  padding: 8rem 2rem 4rem;
  background: var(--primary-dark);
  text-align: center;
}

.service-detail-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.service-detail-hero p {
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}

.service-description {
  padding: 4rem 2rem;
}

.service-description .container {
  max-width: 800px;
}

.service-description h2 {
  margin-bottom: 1.5rem;
}

.service-description p {
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-description ul {
  list-style: disc;
  margin-left: 1.5rem;
  color: var(--dark-gray);
}

.service-description ul li {
  margin-bottom: 0.5rem;
}

.service-process {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.service-process h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  text-align: center;
  padding: 1.5rem;
}

.process-step-card .step-number {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ==========================================
   Case Studies Page
   ========================================== */

.case-studies-filters {
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-button {
  background: transparent;
  border: 2px solid var(--light-gray);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-study-card {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.case-study-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-tag {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.case-study-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.case-study-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ==========================================
   Blog Page
   ========================================== */

.blog-featured {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.blog-featured .container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .blog-featured .container {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-featured img {
  border-radius: 8px;
  width: 100%;
}

.blog-featured h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.blog-featured h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  color: var(--dark-gray);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blog-featured p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.blog-card .blog-meta {
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ==========================================
   Contact Page
   ========================================== */

.contact-form-section {
  padding: 4rem 2rem;
}

.contact-form-section .container {
  max-width: 600px;
}

.contact-form-section h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form-section > .container > p {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.form-group label span {
  color: red;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  background: var(--accent-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  background: #0056A3;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
}

.contact-info {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.contact-info .container {
  max-width: 800px;
}

.contact-info h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item img {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--dark-gray);
}

.contact-info-item a {
  color: var(--accent-blue);
}

.map-section {
  padding: 4rem 2rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.map-placeholder p {
  color: var(--dark-gray);
}

/* ==========================================
   Cursor Trail Effect (Desktop Only)
   ========================================== */

.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.cursor-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: particle-fade 1s ease forwards;
}

@keyframes particle-fade {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ==========================================
   Reduced Motion
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-content h1,
  .hero-content p,
  .hero-content .cta-button {
    animation: none;
    opacity: 1;
  }
  
  .process-step {
    opacity: 1;
    transform: none;
  }
  
  .cta-button.glint::before {
    display: none;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  padding-top: 80px;
}

/* Sticky header adjustments */
body.scrolled header {
  height: 60px;
}

body.scrolled header .header-inner {
  padding: 0.5rem 2rem;
}