/* Corporate Social Subsidy Compliance Training Template - Main CSS */

/* Import Bootstrap 5 */
@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.4.0/css/all.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Color Variables - Corporate Compliance Theme */
:root {
  /* Primary Colors */
  --primary-navy: #1a365d;
  --primary-teal: #319795;
  --primary-gold: #d69e2e;
  --primary-gray: #4a5568;
  --primary-green: #38a169;
  
  /* Light Shades */
  --light-navy: #2d4a66;
  --light-teal: #4fd1c7;
  --light-gold: #ecc94b;
  --light-gray: #718096;
  --light-green: #68d391;
  
  /* Dark Shades */
  --dark-navy: #0f1724;
  --dark-teal: #1a524a;
  --dark-gold: #9c4221;
  --dark-gray: #2d3748;
  --dark-green: #22543d;
  
  /* Font Settings - Conservative Sizes */
  --root-font-size: 16px;
  --navbar-brand-size: 1.25rem;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --body-size: 1rem;
  --small-size: 0.875rem;
}

/* Base Styles */
html {
  font-size: var(--root-font-size);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--primary-gray);
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: var(--h1-size);
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.875rem;
}

h3 {
  font-size: var(--h3-size);
  font-weight: 500;
  color: var(--primary-gray);
  margin-bottom: 0.75rem;
}

p {
  font-size: var(--body-size);
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(26, 54, 93, 0.1);
}

.navbar-brand {
    font-size: 12px !important;
  font-size: var(--navbar-brand-size);
  font-weight: 600;
  color: white !important;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-teal) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-teal);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* Services Section */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-top: 1rem;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-teal);
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 1rem;
}

.testimonial-rating {
  color: var(--primary-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Swiper Navigation Styles */
.swiper-container {
  position: relative;
  padding-bottom: 60px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-teal);
  top: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
}

.swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.swiper-pagination-bullet {
  background: var(--primary-teal);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* FAQ Section */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-question {
  background: var(--primary-navy);
  color: white;
  padding: 1.25rem;
  border-radius: 10px 10px 0 0;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--light-navy);
}

.faq-answer {
  padding: 1.25rem;
  border-radius: 0 0 10px 10px;
  background: #f8f9fa;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(49, 151, 149, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--light-teal), var(--primary-teal));
}

/* Footer */
.footer {
  background: var(--dark-navy);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-teal);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Process Steps */
.process-step {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-number {
  background: var(--primary-gold);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-teal);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Breadcrumbs */
.breadcrumb-nav {
  background: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav img {
  height: 24px;
  width: auto;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--light-gray), white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 2rem 0;
}

/* Utilities */
.text-primary-navy { color: var(--primary-navy); }
.text-primary-teal { color: var(--primary-teal); }
.text-primary-gold { color: var(--primary-gold); }
.bg-primary-navy { background-color: var(--primary-navy); }
.bg-primary-teal { background-color: var(--primary-teal); }
.bg-light-gray { background-color: var(--light-gray); }

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 