/* ==========================================================================
   ESG Compliance Training Platform - Main CSS
   Bootstrap 5 Base Framework with Custom Variables and Conservative Typography
   ========================================================================== */

/* ==========================================================================
   CSS Variables & Color Palette
   ========================================================================== */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-color: #7c3aed;
  --secondary-color: #059669;
  --accent-color: #f59e0b;
  --warning-color: #ef4444;
  --info-color: #3b82f6;
  
  /* Light Shades */
  --primary-light: #a855f7;
  --secondary-light: #10b981;
  --accent-light: #fbbf24;
  --warning-light: #f87171;
  --info-light: #60a5fa;
  
  /* Dark Shades */
  --primary-dark: #5b21b6;
  --secondary-dark: #047857;
  --accent-dark: #d97706;
  --warning-dark: #dc2626;
  --info-dark: #2563eb;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --black: #0f172a;
  
  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --line-height-base: 1.6;
  
  /* 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);
  
  /* Border Radius */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Smooth scrolling and offset for fixed navbar */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--black);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5, h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

/* ==========================================================================
   Animation Preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 250px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: var(--font-size-large);
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: var(--font-size-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   About Section Features
   ========================================================================== */
.about-feature {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-feature-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.features-item:hover {
  transform: translateY(-5px);
}

.features-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.features-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.features-description {
  color: var(--gray);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
}

/* ==========================================================================
   Reviews/Testimonials Section
   ========================================================================== */
.review-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--black);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.faq-answer {
  color: var(--gray);
}

/* ==========================================================================
   Process/Timeline Section
   ========================================================================== */
.process-item {
  text-align: center;
  padding: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-form {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--accent-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray);
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-copyright {
  border-top: 1px solid var(--dark-gray);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-light {
  background-color: var(--light-gray);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ==========================================================================
   Case Studies/Success Stories
   ========================================================================== */
.casestudy-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.casestudy-item:hover {
  transform: translateY(-5px);
}

.casestudy-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Price Plan Section
   ========================================================================== */
.priceplan-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.priceplan-item:hover {
  transform: translateY(-5px);
}

.priceplan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.priceplan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.priceplan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.priceplan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

/* ==========================================================================
   Career Section
   ========================================================================== */
.career-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.career-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Core Info Section
   ========================================================================== */
.coreinfo-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--light-gray);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Space Page
   ========================================================================== */
#space {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
