:root {
  /* Color Palette - Flat, No Gradients */
  --primary: #1a365d;
  --primary-dark: #0f2442;
  --secondary: #2d3748;
  --accent: #3182ce;
  --accent-hover: #2b6cb0;
  --light: #f7fafc;
  --light-alt: #edf2f7;
  --dark: #1a202c;
  --white: #ffffff;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --card-padding: 2rem;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--secondary);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section Styling */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--accent);
}

.navbar-nav .nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
  background-color: var(--light);
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border-width: 2px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border-width: 2px;
  transition: var(--transition);
}

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

/* Services Section */
.services {
  background-color: var(--white);
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--card-padding);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--accent);
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card ul li i {
  color: var(--accent);
  font-size: 0.875rem;
}

/* Equipment Section */
.equipment {
  background-color: var(--light);
}

.equipment-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.equipment-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.equipment-icon i {
  font-size: 2rem;
  color: var(--white);
}

.equipment-card h4 {
  margin-bottom: 0.5rem;
}

.equipment-card .brand {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.equipment-card p {
  color: var(--secondary);
  font-size: 0.95rem;
}

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

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon i {
  color: var(--accent);
  font-size: 1.25rem;
}

.about-feature h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.about-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 54, 93, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay i {
  color: var(--white);
  font-size: 2rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonial-card {
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  height: 100%;
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h5 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-author p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-info {
  height: 100%;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.contact-item-icon i {
  color: var(--accent);
  font-size: 1.25rem;
}

.contact-item-content h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-item-content p {
  margin: 0;
  color: var(--secondary);
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-control {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--accent);
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
}

/* Utility Classes */
.bg-light-alt {
  background-color: var(--light-alt);
}

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

.mb-6 {
  margin-bottom: 4rem;
}
