/* CSS Variables - 5 Color Palette */
:root {
  /* Primary Colors */
  --primary-green: #2f4f1a;
  --eco-teal: #007076;
  --billboard-orange: #ff4d33;
  --urban-navy: #141926;
  --sustainable-cream: #F4F3EE;
  
  /* Light Shades */
  --primary-green-light: #51712f;
  --eco-teal-light: #23b8b4;
  --billboard-orange-light: #f28f60;
  --urban-navy-light: #3d5974;
  --sustainable-cream-light: #FAFAF9;
  
  /* Dark Shades */
  --primary-green-dark: #19330d;
  --eco-teal-dark: #00685f;
  --billboard-orange-dark: #e4701f;
  --urban-navy-dark: #111c31;
  --sustainable-cream-dark: #e1e1e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--eco-teal) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--billboard-orange) 0%, var(--urban-navy) 100%);
  --gradient-accent: linear-gradient(135deg, var(--eco-teal) 0%, var(--primary-green) 100%);
  --gradient-hero: linear-gradient(135deg, var(--urban-navy-dark) 0%, var(--primary-green-dark) 50%, var(--eco-teal-dark) 100%);
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --navbar-brand-size: 1.25rem;
  
  /* Spacing */
  --section-padding: 5rem;
  --card-padding: 2rem;
  --border-radius: 0.5rem;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--urban-navy);
  background-color: var(--sustainable-cream-light);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--urban-navy-dark);
}

h1 {
  font-size: var(--h1-size);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
  color: var(--eco-teal);
}

h4 {
  font-size: var(--h4-size);
}

p {
  margin-bottom: 1rem;
  color: var(--urban-navy-light);
}

a {
  color: var(--eco-teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--eco-teal-dark);
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sustainable-cream-dark);
  transition: var(--transition);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: var(--navbar-brand-size);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--urban-navy);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--eco-teal);
  background-color: var(--sustainable-cream);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  color: white;
  overflow: hidden;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../NET_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: -1;
}

.hero-section h1 {
  font-size: 3.62rem;
  margin-bottom: 1.69rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-text-fill-color: white;
    padding-top: 100px;
}

.hero-section h2 {
  font-size: 1.53rem;
  color: var(--billboard-orange-light);
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: var(--font-size-large);
  color: var(--sustainable-cream);
  margin-bottom: 2rem;
}

/* Sections */
section {
  padding: var(--section-padding) 0;
}

.bg-light {
  background-color: var(--sustainable-cream);
}

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.case-study-card,
.info-card,
.blog-card,
.career-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--sustainable-cream-dark);
}

.feature-card:hover,
.service-card:hover,
.info-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.service-card .card-img-top,
.case-study-card .card-img-top,
.blog-card .card-img-top {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.pricing-card {
  border: 2px solid var(--sustainable-cream-dark);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--billboard-orange);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: var(--font-size-small);
  font-weight: 600;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--billboard-orange);
  margin-top: 1rem;
}

/* Feature Items */
.feature-item,
.process-step,
.timeline-item {
  text-align: center;
  padding: 1.5rem;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-item i,
.info-card i {
  color: var(--eco-teal);
  margin-bottom: 1rem;
}

.process-step .step-number,
.timeline-item .timeline-year {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.31rem;
  margin: 0 auto 1rem;
}

/* Team Section */
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid var(--sustainable-cream-dark);
  transition: var(--transition);
}

.team-member:hover img {
  border-color: var(--eco-teal);
  transform: scale(1.05);
}

/* Reviews */
.review-card {
  background: var(--sustainable-cream);
  border-left: 4px solid var(--billboard-orange);
}

.stars {
  color: var(--billboard-orange);
}

/* FAQ */
.accordion-item {
  border: 1px solid var(--sustainable-cream-dark);
  margin-bottom: 0.73rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-button {
  background-color: var(--sustainable-cream);
  color: var(--urban-navy);
  border: none;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-accent);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--eco-teal);
}

.accordion-body {
  background-color: white;
}

/* Gallery */
#gallery img {
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-control {
  border: 2px solid var(--sustainable-cream-dark);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--eco-teal);
  box-shadow: 0 0 0 0.2rem rgba(1, 141, 137, 0.25);
}

.contact-info {
  background: var(--sustainable-cream);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--eco-teal);
}

.contact-info p {
  margin-bottom: 0.92rem;
  font-weight: 500;
}

.contact-info i {
  color: var(--eco-teal);
  width: 20px;
  margin-right: 0.5rem;
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--urban-navy-dark);
  color: var(--sustainable-cream);
}

footer h5 {
  color: var(--billboard-orange-light);
  margin-bottom: 1.65rem;
}

footer a {
  color: var(--sustainable-cream);
  transition: var(--transition);
}

footer a:hover {
  color: var(--eco-teal-light);
}

footer hr {
  border-color: var(--urban-navy-light);
  margin: 2rem 0;
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--sustainable-cream);
  border-bottom: 1px solid var(--sustainable-cream-dark);
  margin-top: 76px;
}

.breadcrumb-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* Space Section */
#space {
  background: var(--gradient-hero);
  color: white;
  position: relative;
}

#space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../NET_images/space-bg.webp') center/cover;
  opacity: 0.2;
  z-index: -1;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

/* Services List */
.services-list ul {
  list-style: none;
  padding: 0;
}

.services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sustainable-cream-dark);
  color: var(--urban-navy);
}

.services-list li:last-child {
  border-bottom: none;
}

/* Production Fixes */
.service-card .card-body {
  padding: var(--card-padding);
}

.case-study-card .card-body,
.blog-card .card-body {
  padding: 1.5rem;
}

/* Enhanced hover effects */
.navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Focus states for accessibility */
.form-control:focus,
.btn:focus {
  outline: 2px solid var(--eco-teal);
  outline-offset: 2px;
}

/* Form validation states */
.form-control.is-valid {
  border-color: var(--primary-green);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232D5016' d='m2.3 6.73.94-.94 2.17 2.17L8.47 4.9l-.94-.94L4.47 7.03z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
  border-color: var(--billboard-orange-dark);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23CC4A1A'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Notification styles */
.notification-toast {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Print optimization */
@media print {
  .hero-section,
  .bg-light {
    background: white !important;
    color: black !important;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
