/* ==========================================================================
   Carbon Smart Logistics - Main CSS
   Bootstrap 5 Base + Custom Theme
   ========================================================================== */

/* Root Color Variables - 5 Primary Colors + Shades */
:root {
  /* Primary Color Palette */
  --color-primary: #489042;        /* Forest Green */
  --color-primary-light: #9fbfa5;  /* Light Green */
  --color-primary-dark: #267537;   /* Dark Green */
  
  --color-secondary: #0564cf;      /* Ocean Blue */
  --color-secondary-light: #9fc4ff; /* Light Blue */
  --color-secondary-dark: #184893;  /* Dark Blue */
  
  --color-accent: #fe9500;         /* Logistics Orange */
  --color-accent-light: #f9ca8d;   /* Light Orange */
  --color-accent-dark: #ce5a0e;    /* Dark Orange */
  
  --color-neutral: #5c7482;        /* Steel Gray */
  --color-neutral-light: #d7dfe4;  /* Light Gray */
  --color-neutral-dark: #34454d;   /* Dark Gray */
  
  --color-success: #357d43;        /* Success Green */
  --color-success-light: #dce8dc;  /* Light Success */
  --color-success-dark: #1b4c20;   /* Dark Success */
  
  /* Text Colors */
  --text-primary: #131313;
  --text-secondary: #665e5e;
  --text-light: #FFFFFF;
  --text-muted: #7a7a7a;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-dark: var(--color-neutral-dark);
  
  /* Font Sizes - Conservative */
  --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;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --element-spacing: 2rem;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Conservative Heading Sizes */
h1 { font-size: var(--font-size-3xl); font-weight: 700; }
h2 { font-size: var(--font-size-2xl); font-weight: 600; }
h3 { font-size: var(--font-size-xl); font-weight: 600; }
h4 { font-size: var(--font-size-lg); font-weight: 500; }
h5 { font-size: var(--font-size-base); font-weight: 500; }
h6 { font-size: var(--font-size-sm); font-weight: 500; }

/* Conservative Brand Size */
.navbar-brand {
  font-size: var(--font-size-lg) !important;
  font-weight: 700;
  color: var(--color-primary) !important;
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, var(--bg-secondary) 100%);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../NOD_images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 100px;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-accent-light), var(--color-secondary-light));
  opacity: 0.1;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Card Styling */
.card {
  border: none;
  border-radius: 112px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-gradient {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-accent);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--bg-primary);
  border-radius: 16px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

/* Review Cards */
.review-card {
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, var(--bg-secondary) 100%);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.3;
}

/* FAQ Accordion */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, var(--bg-secondary) 100%);
  border: none;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-light);
}

.accordion-body {
  background: var(--bg-primary);
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--color-neutral-light);
}

.timeline-item:last-child::after {
  display: none;
}

/* Contact Form */
.form-control {
  border: 2px solid var(--color-neutral-light);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(49, 104, 45, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(38, 101, 33, 0.30);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-neutral-dark) 0%, var(--color-primary-dark) 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--color-neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--text-light);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen .spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--text-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Notification System */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  max-width: 350px;
  padding: 1rem 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(400px);
  transition: all 0.3s ease;
  z-index: 1050;
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-left-color: var(--color-success);
}

.notification-success i {
  color: var(--color-success);
}

.notification-info {
  border-left-color: var(--color-secondary);
}

.notification-info i {
  color: var(--color-secondary);
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: color 0.3s ease;
}

.notification-close:hover {
  color: var(--text-primary);
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.375rem;
    --section-padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
  
  .notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* No Additional Grid Classes - Using Standard Bootstrap 5 Only */
/* All layout uses .container, .row, .col-* classes from Bootstrap 5 */ 


/* 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);
}

.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;
    }
}
