/* EcoSky Mapping - Main CSS */

/* Color Variables - 5 Color Palette */
:root {
  --primary-color: #2E7D4F;
  --primary-light: #4A9B6E;
  --primary-dark: #1B5F39;
  
  --secondary-color: #3498DB;
  --secondary-light: #5DADE2;
  --secondary-dark: #2874A6;
  
  --accent-color: #27AE60;
  --accent-light: #52C882;
  --accent-dark: #1E8449;
  
  --warning-color: #F39C12;
  --warning-light: #F5B041;
  --warning-dark: #D68910;
  
  --neutral-color: #34495E;
  --neutral-light: #5D6D7E;
  --neutral-dark: #2C3E50;
  
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --dark-gray: #495057;
  --text-muted: #6C757D;
}

/* Body and Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--neutral-color);
    overflow-x: hidden;
}

/* Conservative Typography - Avoiding Large Sizes */
h1, .display-4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--neutral-dark);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

/* Navbar Brand Conservative Size */
.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--primary-color);
}

/* Header Styles */
#header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

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

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero-shapes .shape-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  top: -150px;
  right: -150px;
  animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  opacity: 0.1;
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite reverse;
}

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

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 125, 79, 0.15);
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Price Cards */
.price-card {
  border: 2px solid var(--medium-gray);
  transition: all 0.3s ease;
}

.price-card.bg-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color);
}

.price-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(46, 125, 79, 0.2);
}

/* Team Section */
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* Review Cards */
.review-card {
  border-left: 4px solid var(--accent-color);
}

/* Process Section */
.process-step .step-number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Timeline */
.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Career Cards */
.career-card {
  border-left: 4px solid var(--secondary-color);
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateX(5px);
}

/* Info Cards */
.info-card {
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

/* Blog Cards */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card img {
  height: 200px;
  object-fit: cover;
}

/* FAQ Cards */
.faq-card {
  background: var(--light-gray);
  border-left: 4px solid var(--warning-color);
  transition: background-color 0.3s ease;
}

.faq-card:hover {
  background: var(--white);
}

/* Case Study Cards */
.case-study-card img {
  height: 250px;
  object-fit: cover;
}

/* Contact Section */
.contact-info .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 50%;
}

.contact-form .form-control {
  border: 2px solid var(--medium-gray);
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 125, 79, 0.25);
}

/* Gallery */
#gallery img {
  transition: transform 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
#footer {
  background-color: var(--accent-color );
}

#footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--accent-light) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 125, 79, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Additional Page Specific Styles */
.breadcrumb-section {
  padding: 1rem 0;
  border-bottom: 1px solid var(--medium-gray);
}

.breadcrumb-img {
  max-height: 30px;
  opacity: 0.7;
}

/* Technology Cards */
.tech-card {
  text-align: center;
  transition: all 0.3s ease;
}

.tech-card:hover {
  background-color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Sensor Cards */
.sensor-card img {
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Processing Items */
.processing-item {
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.3s ease;
}

.processing-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(46, 125, 79, 0.1);
}

/* Operation Cards */
.operation-card {
  transition: all 0.3s ease;
}

.operation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Quality Points */
.quality-point {
  padding: 1rem 0;
}

.quality-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 50%;
}

/* Conservation Cards */
.conservation-card img {
  height: 180px;
  object-fit: cover;
}

/* Climate Features */
.climate-feature {
  padding: 1rem 0;
  border-bottom: 1px solid var(--medium-gray);
}

.climate-feature:last-child {
  border-bottom: none;
}

.climate-feature .feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 50%;
}

/* Pollution Cards */
.pollution-card {
  text-align: center;
  transition: all 0.3s ease;
}

.pollution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Energy Cards */
.energy-card img {
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Agriculture Solutions */
.agriculture-solutions {
  padding-left: 2rem;
}

.ag-solution {
  padding: 1rem 0;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Media Query Support for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-shapes .shape-1,
  .hero-shapes .shape-2 {
    animation: none;
  }
}

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

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-success {
  color: var(--accent-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-info {
  color: var(--secondary-color) !important;
}

.text-danger {
  color: #E74C3C !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-success {
  background-color: var(--accent-color) !important;
}

.bg-warning {
  background-color: var(--warning-color) !important;
}

.bg-info {
  background-color: var(--secondary-color) !important;
}



/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

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

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

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