/* ESG Compliance Training Platform - Main Styles */

/* Color Variables - Pastel High-Contrast Colors */
:root {
  --primary-green: #2D5A27;
  --secondary-blue: #1B4A72;
  --accent-orange: #E67E22;
  --neutral-gray: #34495E;
  --light-green: #A8E6A1;
  --light-blue: #85C1E9;
  --light-orange: #F5B041;
  --light-gray: #BDC3C7;
  --white: #FFFFFF;
  --dark: #2C3E50;
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  font-size: 16px;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-gray);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--neutral-gray);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: var(--neutral-gray);
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--neutral-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

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

/* Card Styles */
.custom-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-left: 4px solid var(--primary-green);
}

.service-price {
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Feature Cards */
.feature-card {
  background: var(--light-green);
  color: var(--dark);
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border: 2px solid var(--light-blue);
}

.price-card.featured {
  border-color: var(--accent-orange);
  transform: scale(1.05);
}

/* Team Cards */
.team-card {
  background: var(--white);
  text-align: center;
}

.team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-green);
}

/* Review Cards */
.review-card {
  background: var(--light-blue);
  border-left: 4px solid var(--secondary-blue);
}

/* Case Study Cards */
.casestudy-card {
  background: var(--light-orange);
  border-radius: 10px;
}

/* Process Cards */
.process-card {
  background: var(--white);
  border: 2px solid var(--light-green);
  position: relative;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-green);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Timeline Cards */
.timeline-card {
  background: var(--white);
  border-left: 4px solid var(--accent-orange);
}

/* Career Cards */
.career-card {
  background: var(--light-gray);
  border-radius: 10px;
}

/* Core Info Cards */
.coreinfo-card {
  background: var(--white);
  border: 1px solid var(--light-blue);
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border: 1px solid var(--light-green);
  margin-bottom: 1rem;
}

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

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  border-color: var(--secondary-blue);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

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

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--accent-orange);
  color: var(--light-gray);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-green);
}

/* Breadcrumb */
.breadcrumb-custom {
  background: var(--light-green);
  padding: 1rem 0;
  margin-bottom: 0;
}

/* Blog Grid */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(45deg, var(--light-green), var(--light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 2rem 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Icon Styles */
.fa {
  margin-right: 0.5rem;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-green);
}

.text-secondary-custom {
  color: var(--secondary-blue);
}

.bg-primary-custom {
  background-color: var(--primary-green);
}

.bg-light-custom {
  background-color: var(--light-green);
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
