:root {
  /* Color Palette - Pastel palette for Anti-Corrosion theme */
  --primary-color: #5c8d89; /* Muted teal - brand color */
  --secondary-color: #e8b4bc; /* Soft rose - contrast color */
  --accent-color: #f9c74f; /* Warm yellow - highlight color */
  --neutral-color: #eae2d6; /* Creamy beige - background */
  --dark-color: #374151; /* Charcoal - text color */
  
  /* Shades and tints */
  --primary-light: #8ab5b1;
  --primary-dark: #3c5c5a;
  --secondary-light: #f2d9dd;
  --secondary-dark: #c68b94;
  --accent-light: #fbd57e;
  --accent-dark: #e0a012;
  --neutral-light: #f7f3ed;
  --neutral-dark: #d1c7b8;
  --dark-light: #6b7280;
  --dark-darker: #1f2937;
  
  /* Font sizes */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --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 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* Global styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark-darker);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-light {
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--dark-darker);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--dark-darker);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-darker);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Header styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--primary-dark);
  font-size: 14px !important;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  margin: 0 0.5rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  z-index: 5;
  position: relative;
  color: white;
  padding: var(--spacing-lg) 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content #hero-subtitle-1 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
}

.hero-content #hero-desc-1 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-buttons {
  margin-top: var(--spacing-lg);
  position: relative;
  z-index: 5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-image-container {
  position: relative;
  height: 100%;
  max-height: 500px;
  z-index: 5;
  padding: var(--spacing-lg);
}

.hero-side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section common styles */
.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.section-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--dark-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About section */
.about-section {
  background-color: white;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Services section */
.services-section {
  background-color: var(--neutral-light);
  position: relative;
}

.services-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.services-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.services-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.services-desc {
  color: var(--dark-light);
  margin-bottom: var(--spacing-md);
}

.services-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.services-features li {
  padding: var(--spacing-xs) 0;
  position: relative;
  padding-left: 1.5rem;
}

.services-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Features section */
.features-section {
  background-color: white;
}

.features-card {
  text-align: center;
  padding: var(--spacing-lg);
  transition: transform 0.3s ease;
}

.features-card:hover {
  transform: translateY(-5px);
}

.features-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
}

.features-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.features-desc {
  color: var(--dark-light);
}

/* Price Plan section */
.priceplan-section {
  background-color: var(--neutral-light);
}

.price-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-lg);
  text-align: center;
}

.price-popular .price-header {
  background-color: var(--accent-color);
}

.price-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.price-amount {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.price-period {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.price-body {
  padding: var(--spacing-lg);
}

.price-desc {
  margin-bottom: var(--spacing-md);
  color: var(--dark-light);
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-lg);
}

.price-features li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--neutral-dark);
  position: relative;
  padding-left: 1.5rem;
}

.price-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team section */
.team-section {
  background-color: white;
}

.team-card {
  background-color: var(--neutral-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img-container {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--spacing-lg);
  text-align: center;
}

.team-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
}

/* Reviews section */
.reviews-section {
  background-color: var(--neutral-light);
  position: relative;
}

.reviews-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 var(--spacing-md);
  position: relative;
}

.reviews-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--neutral-dark);
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

.reviews-text {
  position: relative;
  z-index: 1;
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.reviews-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Core Info section */
.coreinfo-section {
  background-color: white;
}

.coreinfo-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--neutral-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.coreinfo-card:hover {
  transform: translateY(-5px);
}

.coreinfo-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
}

.coreinfo-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.coreinfo-desc {
  color: var(--dark-light);
}

/* Contact section */
.contact-section {
  background-color: var(--neutral-light);
  position: relative;
}

.contact-form {
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 1px solid var(--neutral-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(92, 141, 137, 0.25);
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  height: 100%;
}

.contact-info-item {
  margin-bottom: var(--spacing-lg);
}

.contact-info-icon {
  font-size: 1.5rem;
  margin-right: var(--spacing-sm);
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--dark-darker);
  color: white;
  padding: var(--spacing-2xl) 0;
}

.footer-logo {
  font-weight: 700;
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-lg);
}

.footer-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
  color: #f7f3ed;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

footer small {
  display: block;
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-lg);
}

/* Decorative elements */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.shape-divider .shape-fill {
  fill: #FFFFFF;
}

.bg-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(var(--accent-light) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.3;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.5s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

