/* StartSafe - Main Stylesheet */

/* CSS Variables */
:root {
  --primary-color: #0063ff;
  --primary-light: #0094ff;
  --primary-dark: #0050cc;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --border-color: #e0e0e0;
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-family);
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
}

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

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 45px;
  width: auto;
  transition: height 0.5s ease;
}

/* Header shrink on scroll */
.header {
  transition: height 0.5s ease, box-shadow 0.5s ease;
}

.header.scrolled {
  height: 60px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header.scrolled .logo img {
  height: 35px;
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

.nav-cta {
  margin-left: 20px;
}

.nav-cta .btn {
  padding: 8px 20px;
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--bg-white);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background: #1a252f;
  color: var(--bg-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* Hero Carousel */
.hero {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide:first-child {
  position: relative;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Carousel Navigation Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-nav:hover {
  background: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-nav.prev {
  left: 20px;
}

.hero-nav.next {
  right: 20px;
}

/* Carousel Dots/Indicators */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  background: var(--bg-white);
  transform: scale(1.2);
}

/* Hero Section - Starting your business safely */
.hero-home {
  position: relative;
  padding: 120px 0 150px;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(130deg, #0063ff 0%, #0094ff 100%);
}

/* Bottom wave divider */
.hero-home::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-light);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

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

.hero-home-content {
  text-align: center;
  color: var(--bg-white);
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.hero-home-content h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-home-content p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-home-content .btn {
  padding: 15px 40px;
  font-size: 17px;
}

.hero-home-content .btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
}

.hero-home-content .btn-primary:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
}

/* Diagram Section */
.diagram-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.diagram-wrapper img {
  width: 100%;
  height: auto;
}

/* Video Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Why StartSafe Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

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

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 20px;
}

.section-intro {
  text-align: center;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0, 99, 255, 0.1);
  border-radius: 12px;
  color: var(--primary-color);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-color);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* Value Props */
.value-props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.value-image img {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.value-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.value-content p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 17px;
}

.value-list {
  margin: 30px 0;
}

.value-list li {
  padding: 10px 0 10px 35px;
  position: relative;
  font-size: 16px;
}

.value-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

/* Clients Section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-height: 100px;
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.pricing-price span {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-trial {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 14px;
}

.pricing-features {
  text-align: left;
  margin: 30px 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-light);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.team-card .role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 15px;
}

.team-card > p:last-of-type {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  display: flex;
  align-items: center;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #0077b5;
  border-radius: 50%;
  color: var(--bg-white);
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

.team-linkedin:hover {
  background: #005885;
  transform: scale(1.1);
  color: var(--bg-white);
}

.team-linkedin svg {
  width: 20px;
  height: 20px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-intro {
  margin-bottom: 30px;
}

.contact-item p {
  color: var(--text-light);
}

.contact-item a {
  color: var(--text-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-status {
  margin-top: 15px;
  padding: 15px;
  border-radius: 5px;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--bg-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
}

.app-badges img {
  height: 40px;
}

.cert-badges {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
}

.cert-badges img {
  height: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

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

/* Error Page */
.error-page {
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  margin-top: var(--header-height);
}

.error-content h1 {
  font-family: var(--font-heading);
  font-size: 120px;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 20px;
}

.error-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.error-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 18px;
}

/* Page Header */
.page-header {
  margin-top: var(--header-height);
  background: linear-gradient(130deg, #0063ff 0%, #0094ff 100%);
  padding: 100px 0;
  text-align: center;
  color: var(--bg-white);
  position: relative;
}

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

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Detail */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.feature-detail:last-child {
  border-bottom: none;
}

.feature-detail.reverse {
  direction: rtl;
}

.feature-detail.reverse > * {
  direction: ltr;
}

.feature-detail-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.feature-detail-content p {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
}

.feature-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.feature-detail-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(130deg, #0063ff 0%, #0094ff 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--bg-white);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--bg-white);
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
}

/* CE Badge */
.ce-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.ce-badge img {
  height: 50px;
}

.ce-badge span {
  color: var(--text-light);
  font-size: 14px;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content a {
  color: var(--primary-color);
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content ul li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-cta {
    margin: 20px 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
    gap: 4px;
    padding: 8px;
  }

  .mobile-toggle span {
    width: 20px;
    height: 2px;
  }

  .hero {
    height: auto;
  }

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

  .hero-content p {
    font-size: 16px;
  }

  .hero-home {
    padding: 60px 0 150px;
  }

  .hero-home-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .section {
    padding: 60px 0;
  }

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

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

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

  .value-props {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }

  .form-group textarea {
    height: 120px;
  }

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

  .footer-brand .app-badges,
  .footer-brand .cert-badges {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .feature-detail {
    grid-template-columns: 1fr;
  }

  .feature-detail.reverse {
    direction: ltr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .pricing-price {
    font-size: 36px;
  }

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

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

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

/* Case Studies Overview */
.case-studies-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.case-study-preview {
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.case-study-preview-logo {
  padding: 2rem;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-preview-logo img {
  max-height: 80px;
  width: auto;
}

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

.case-study-preview-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.case-study-preview-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Case Study Detail Sections */
.case-study-detail {
  scroll-margin-top: 100px;
}

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

.case-study-detail-logo {
  max-height: 80px;
  width: auto;
}

.case-study-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 0;
}

.case-study-body {
  max-width: 900px;
}

.case-study-section {
  margin-bottom: 2rem;
}

.case-study-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.case-study-section p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

/* Case Study Quote */
.case-study-quote {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 8px;
  color: white;
}

.case-study-quote blockquote {
  margin: 0;
}

.case-study-quote p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: white;
}

.case-study-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.9;
}

/* Case Study Benefits List */
.case-study-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-benefits li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.case-study-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Button outline style */
.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Case Study Page */
.case-study-page {
  padding-top: calc(var(--header-height) + 3rem);
}

.case-study-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 0;
}

/* Case Study Navigation */
.case-study-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Case Study Preview as Link */
a.case-study-preview {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.case-study-preview:hover {
  color: inherit;
}

/* Case Studies Responsive */
@media (max-width: 768px) {
  .case-studies-overview {
    grid-template-columns: 1fr;
  }

  .case-study-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .case-study-header h2 {
    font-size: 1.5rem;
  }

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

  .case-study-quote p {
    font-size: 1rem;
  }
}
