/* SaaS Supply Chain ESG Alerts Template - Main CSS */

:root {
  /* Primary Color Palette - 5 main colors with shades */
  --primary-blue: #2563eb;
  --primary-blue-light: #60a5fa;
  --primary-blue-dark: #1d4ed8;
  
  --primary-green: #059669;
  --primary-green-light: #34d399;
  --primary-green-dark: #047857;
  
  --primary-purple: #7c3aed;
  --primary-purple-light: #a78bfa;
  --primary-purple-dark: #5b21b6;
  
  --primary-orange: #ea580c;
  --primary-orange-light: #fb923c;
  --primary-orange-dark: #c2410c;
  
  --primary-teal: #0d9488;
  --primary-teal-light: #5eead4;
  --primary-teal-dark: #0f766e;
  
  /* Neutral colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Conservative font sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --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;
}

/* Base styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  overflow-x: hidden;
}

/* Navbar styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-teal) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.navbar-brand,
.navbar .nav-link {
  color: var(--white) !important;
  transition: color 0.3s ease;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Breadcrumb styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
  opacity: 1;
}

/* Conservative navbar brand sizing */
.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-blue);
}

/* Conservative heading sizes */
h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  max-width: 65ch;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  top: -50%;
  left: -50%;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding-top: 125px;
}

.hero-subtitle {
  color: var(--primary-blue-light);
  font-size: var(--font-size-lg);
  font-weight: 500;
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: var(--font-size-base);
}

/* Decorative blob shapes */
.blob-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-green);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-orange);
  bottom: 15%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section spacing */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--gray-50);
}

/* About section */
.about-section {
  background: var(--white);
}

.feature-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.feature-icon {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Services section */
.services-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-price {
  color: var(--primary-green);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-top: auto;
}

/* Team section */
.team-section {
  background: var(--white);
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

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

/* Reviews section */
.reviews-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  color: var(--white);
}

.review-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
}

.review-author {
  font-weight: 600;
  color: var(--white);
}

/* FAQ section */
.faq-section {
  background: var(--gray-50);
}

.faq-card {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  display: none;
}

/* Gallery section */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Contact section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
  color: var(--white);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem;
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  background: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-teal) 100%);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-teal-dark) 100%);
}

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

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

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

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

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

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
  margin-bottom: 0.5rem;
}

/* Image placeholders with fixed dimensions */
.hero-image {
  width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.feature-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.case-study-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
