/* ==========================================================================
   Employer Pension Audit Service - Main Styles
   Bootstrap 5 Base + Custom Styling
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* ==========================================================================
   CSS Custom Properties (Color Palette)
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary-dark: #1e3a8a;
  --primary-main: #3b82f6;
  --primary-light: #93c5fd;
  --primary-lighter: #dbeafe;
  
  --secondary-dark: #065f46;
  --secondary-main: #10b981;
  --secondary-light: #6ee7b7;
  --secondary-lighter: #d1fae5;
  
  --accent-dark: #7c2d12;
  --accent-main: #ea580c;
  --accent-light: #fed7aa;
  --accent-lighter: #fff7ed;
  
  --neutral-dark: #374151;
  --neutral-main: #6b7280;
  --neutral-light: #d1d5db;
  --neutral-lighter: #f9fafb;
  
  --success-dark: #14532d;
  --success-main: #22c55e;
  --success-light: #bbf7d0;
  --success-lighter: #f0fdf4;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-main) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-main) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-main) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-main) 100%);
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-max-width: 1200px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max-width);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5, h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-dark) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--neutral-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-main) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: white;
  font-size: var(--font-size-4xl);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-decoration:nth-child(2) {
  bottom: 10%;
  left: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--neutral-main);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  background: white;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-main);
  margin-bottom: 1rem;
}

.about-feature h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-card h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--neutral-main);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--neutral-main);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--success-main);
  margin-right: 0.5rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--accent-main);
  text-align: center;
  padding: 1rem;
  background: var(--accent-lighter);
  border-radius: 0.5rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-item i {
  font-size: 4rem;
  color: var(--secondary-main);
  margin-bottom: 1.5rem;
}

.feature-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Price Plan Section
   ========================================================================== */
.price-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  position: relative;
}

.price-card:nth-child(2) {
  border: 3px solid var(--primary-main);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.price-card:nth-child(2):hover {
  transform: scale(1.05) translateY(-10px);
}

.price-card h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--accent-main);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--neutral-main);
  border-bottom: 1px solid var(--neutral-light);
}

.price-features li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-member {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-light);
}

.team-member h5 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--neutral-main);
  font-style: italic;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
  background: var(--neutral-lighter);
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin: 1rem;
}

.review-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2rem;
  color: var(--primary-main);
  margin-bottom: 1rem;
  display: block;
}

.review-text {
  font-style: italic;
  color: var(--neutral-main);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* ==========================================================================
   Case Studies Section
   ========================================================================== */
.casestudy-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.casestudy-item:hover {
  transform: translateY(-5px);
}

.casestudy-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.process-steps {
  counter-reset: step-counter;
}

.process-step h4 {
  margin-top: 4rem;
  color: var(--primary-dark);
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline-item {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-main);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.timeline-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Career Section
   ========================================================================== */
.career-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.career-role {
  color: var(--accent-main);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Core Info Section
   ========================================================================== */
.coreinfo-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--secondary-main);
  margin-bottom: 1rem;
}

.coreinfo-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-section {
  background: var(--gradient-hero);
  color: white;
}

.contact-section .section-title h2,
.contact-section .section-title p {
  color: white;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  background: white;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-info i {
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-right: 1rem;
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-item {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-item h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.blog-item p {
  color: var(--neutral-main);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-main);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-item {
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background: var(--primary-lighter);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--primary-dark);
  border-radius: 0.5rem 0.5rem 0 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--neutral-main);
  border-radius: 0 0 0.5rem 0.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer .sitename {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer .sitedesc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.site-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin-bottom: 1rem;
}

.site-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--neutral-lighter);
  text-align: center;
}

.breadcrumb-image {
  max-height: 60px;
  object-fit: contain;
}

/* ==========================================================================
   Swiper Customization
   ========================================================================== */
.swiper {
  padding-bottom: 3rem;
}

.swiper-pagination-bullet {
  background: var(--primary-main);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-main);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.text-primary-custom {
  color: var(--primary-main);
}

.text-secondary-custom {
  color: var(--secondary-main);
}

.text-accent-custom {
  color: var(--accent-main);
}

/* ==========================================================================
   Accessibility & 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-decoration {
    animation: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  body {
    overflow-x: hidden;
    background: white !important;
    color: black !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
} 