:root {
  --turquoise: #2ec4b6;
  --persian-green: #20a39e;
  --deep-jungle-green: #14746f;
  --deep-jungle-green-2: #0e4f49;
  --rich-black: #083f3c;
  --light-bg: #f8fffe;
  --shadow-sm: 0 2px 8px rgba(8, 63, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(8, 63, 60, 0.12);
  --shadow-lg: 0 8px 32px rgba(8, 63, 60, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--light-bg);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--deep-jungle-green);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--turquoise), var(--persian-green));
  border-radius: 2px;
}

/* Topbar */
.topbar-social {
  background: var(--rich-black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topbar-social-links a {
  transition: var(--transition);
  display: inline-block;
}

.topbar-social-links a:hover {
  transform: translateY(-2px);
  color: var(--turquoise) !important;
}

/* Header & Navigation */
header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

header nav a {
  transition: var(--transition);
  position: relative;
}

header nav a:not([role="button"]):hover {
  color: var(--turquoise);
}

header nav a:not([role="button"])::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--turquoise);
  transition: width 0.3s ease;
}

header nav a:not([role="button"]):hover::after {
  width: 100%;
}

header nav a:hover {
  text-decoration: none;
}

/* Buttons */
[role="button"], button, input[type="submit"] {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

[role="button"]:not(.secondary), button:not(.secondary), input[type="submit"] {
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  border: none;
}

[role="button"]:not(.secondary):hover, button:not(.secondary):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

[role="button"].secondary {
  background: white;
  color: var(--persian-green);
  border: 2px solid var(--persian-green);
}

[role="button"].secondary:hover {
  background: var(--persian-green);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-image-left {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.03) 0%, rgba(32, 163, 158, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-image-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.hero-image-left .grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-image-left img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: fadeInRight 1s ease;
}

.hero-image-left img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(8, 63, 60, 0.2);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-left ul li {
  padding: 0.5rem 0;
  transition: var(--transition);
}

.hero-image-left ul li:hover {
  transform: translateX(5px);
  color: var(--persian-green);
}

/* Features Section */
.features-alternating {
  padding: 5rem 0;
}

.features-alternating .grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.features-alternating .grid-2 > div:first-child {
  animation: fadeInLeft 0.8s ease;
}

.features-alternating .grid-2 > div:last-child {
  animation: fadeInRight 0.8s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.features-alternating h3 {
  color: var(--deep-jungle-green);
  margin-bottom: 1rem;
}

.features-alternating ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.features-alternating ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: bold;
}

.features-alternating > div > div > div[style*="background"] {
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.features-alternating > div > div > div[style*="background"]:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Content Section */
.content-section {
  padding: 5rem 0;
}

.content-section:nth-child(even) {
  background: white;
}

.content-section .grid {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-section img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.content-section img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Pricing Table */
.pricing-table {
  padding: 5rem 0;
  background: linear-gradient(180deg, white 0%, var(--light-bg) 100%);
}

.pricing-table table {
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.pricing-table thead {
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  color: white;
}

.pricing-table tbody tr {
  transition: var(--transition);
}

.pricing-table tbody tr:hover {
  background: rgba(46, 196, 182, 0.05);
  transform: scale(1.01);
}

.pricing-table th, .pricing-table td {
  padding: 1.2rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.05) 0%, rgba(32, 163, 158, 0.08) 100%);
}

.testimonials .grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonials article {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--turquoise);
}

.testimonials article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-width: 6px;
}

.testimonials blockquote {
  font-style: italic;
  color: #555;
  line-height: 1.8;
}

/* Form Styles */
form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

input, select, textarea {
  transition: var(--transition);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
  outline: none;
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Contact Section */
.contacts article {
  transition: var(--transition);
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.contacts article:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: var(--rich-black);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

footer a:hover {
  color: var(--turquoise);
  transform: translateX(3px);
  display: inline-block;
}

footer h3, footer h4 {
  color: white;
}

footer p {
  color: #fff;
}

/* Utility Classes */
.icon-large {
  font-size: 3rem;
  transition: var(--transition);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--persian-green) 100%);
  color: white;
}

.py-2xl {
  padding: 4rem 0;
}

.mt-lg {
  margin-top: 2rem;
}

.mb-sm {
  margin-bottom: 0.5rem;
}

.gap-md {
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Blog Cards */
article[style*="border"] {
  transition: var(--transition);
  overflow: hidden;
}

article[style*="border"]:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

article[style*="border"] img {
  transition: var(--transition);
}

article[style*="border"]:hover img {
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-image-left .grid-2,
  .features-alternating .grid-2,
  .content-section .grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-image-left {
    padding: 3rem 0;
  }
  
  .features-alternating .grid-2 > div:last-child {
    order: 2;
  }
  
  .features-alternating .grid-2 > div:first-child {
    order: 1;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Smooth Scroll */
html {
  scroll-padding-top: 80px;
}


/* Advanced Hover Effects */
.card-hover {
  position: relative;
  overflow: hidden;
}

.card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 196, 182, 0.2), transparent);
  transition: left 0.5s ease;
}

.card-hover:hover::before {
  left: 100%;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icon Animations */
.icon-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Glowing Effect */
.glow {
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(46, 196, 182, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(46, 196, 182, 0.6);
  }
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Decorative Elements */
.section-decoration {
  position: relative;
}

.section-decoration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
}

/* Stats Counter Style */
.stat-box {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--turquoise);
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-width: 6px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Timeline Style */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--turquoise), var(--persian-green));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--turquoise);
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.2);
}

/* Badge Style */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Alert Boxes */
.alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid;
}

.alert-info {
  background: rgba(46, 196, 182, 0.1);
  border-color: var(--turquoise);
  color: var(--deep-jungle-green);
}

.alert-success {
  background: rgba(32, 163, 158, 0.1);
  border-color: var(--persian-green);
  color: var(--deep-jungle-green);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--turquoise), var(--persian-green));
  border-radius: 4px;
  transition: width 1s ease;
}

/* Tooltip */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--rich-black);
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 5px;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--persian-green);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--turquoise);
}

.breadcrumb span {
  color: #999;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--turquoise), var(--persian-green));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(46, 196, 182, 0.4);
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(46, 196, 182, 0.2);
  border-top-color: var(--turquoise);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Image Overlay */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.8), rgba(32, 163, 158, 0.8));
  opacity: 0;
  transition: var(--transition);
}

.image-overlay:hover::after {
  opacity: 1;
}

/* Divider */
.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  margin: 3rem 0;
}

/* Print Styles */
@media print {
  .topbar-social,
  header,
  footer,
  [role="button"],
  button,
  form {
    display: none;
  }
  
  body {
    background: white;
  }
  
  * {
    box-shadow: none !important;
  }
}
