/* Main CSS File for ChemiCan Solutions Website */

/* Global Variables */
:root {
  --primary-dark: #121212;
  --secondary-dark: #1e1e1e;
  --accent-blue: #0078d4;
  --accent-teal: #00b7c3;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-muted: #999999;
  --gradient-dark: linear-gradient(135deg, #121212, #1e1e1e);
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 10px 20px rgba(0, 0, 0, 0.2);
  --transition-standard: all 0.3s ease;
  --font-primary: 'Segoe UI', 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-code: 'Consolas', 'Monaco', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  margin-top: 80px;
  /* Space for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-blue);
  margin: 1rem auto;
}

/* Circuit Board Background */
.circuit-bg {
  background-image: url('../images/design.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.circuit-bg:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 18, 0.85);
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

.header.scrolled {
  background-color: rgba(18, 18, 18, 0.98);
  box-shadow: var(--shadow-strong);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: var(--transition-standard);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.hero-cta {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
}

.hero-cta:hover {
  background-color: var(--accent-teal);
  transform: translateY(-3px);
  color: var(--text-light);
  box-shadow: var(--shadow-strong);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 183, 195, 0.1));
  z-index: -1;
  opacity: 0;
  transition: var(--transition-standard);
}

.service-card:hover:before {
  opacity: 1;
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-gray);
}

.service-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
}

.about-image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(0, 183, 195, 0.2));
}

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

.about-text p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.about-image[style*="background: none"]:after {
  display: none;
}

/* CSP Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

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

.benefit-icon {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.benefit-description {
  color: var(--text-gray);
}

/* Case Studies Section */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-study-card {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.case-study-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-category {
  display: inline-block;
  background-color: rgba(0, 120, 212, 0.2);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.case-study-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.case-study-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.case-study-link {
  display: inline-block;
  font-weight: 600;
}

.testimonials-section {
  padding: 80px 0;
  background: var(--primary-dark);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.testimonials-slider {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-item {
  min-width: 100%;
  padding: 50px 40px;
  text-align: center;
  background: var(--secondary-dark);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent-blue);
  margin-bottom: 5px;
}

.testimonial-position {
  color: #666;
  font-size: 1rem;
}

.testimonial-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.testimonial-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.testimonial-social-link:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--accent-blue);
  border-color: white;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent-blue);
  transition: width 0.1s linear;
  z-index: 10;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.star {
  color: #ffd700;
  font-size: 1.2rem;
}

.slide-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  z-index: 10;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-gray);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
}

.btn-primary:hover {
  background-color: var(--accent-teal);
  transform: translateY(-3px);
  color: var(--text-gray);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-light);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--accent-blue);
  transition: var(--transition-standard);
}

.btn-secondary:hover {
  background-color: var(--accent-blue);
  transform: translateY(-3px);
  color: var(--text-gray);
  box-shadow: var(--shadow-strong);
}

/* Footer */
.footer {
  background-color: var(--secondary-dark);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 1rem;
}

.footer-about p {
  color: var(--text-gray);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-blue);
  margin-top: 0.75rem;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--text-gray);
  transition: var(--transition-standard);
}

.footer-link:hover {
  color: var(--accent-teal);
  padding-left: 5px;
}

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

.contact-icon {
  margin-right: 1rem;
  color: var(--accent-blue);
}

.contact-text {
  color: var(--text-gray);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: var(--transition-standard);
}

.social-link:hover {
  background-color: var(--accent-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page Specific Styles */
/* About Page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.team-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.team-content {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-bio {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Services Page */
.service-detail {
  margin-bottom: 5rem;
}

.service-header {
  margin-bottom: 3rem;
  text-align: center;
}

.service-icon-large {
  font-size: 4rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  margin-right: 1rem;
  color: var(--accent-teal);
  font-size: 1.5rem;
}

.feature-text h4 {
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--text-gray);
}

/* =================================================== */
/* FINAL CORRECTED CSS - Use this version */
/* =================================================== */

/* Contact Page General Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

/* Contact Info Box (Left Side) */
.contact-info {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

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

.contact-info-icon {
  margin-right: 1rem;
  color: var(--accent-blue);
  font-size: 1.5rem;
}

.contact-info-text h4 {
  margin-bottom: 0.5rem;
}

.contact-info-text p {
  color: var(--text-gray);
}

/* --- CHANGE #1: The Form Container ---
  This container will now create the visible background box.
  It holds the color, padding, and shadow. It sits behind any overlay.
*/
.contact-form-container {
  background-color: var(--secondary-dark);
  /* Moved from .contact-form */
  border-radius: 8px;
  /* Moved from .contact-form */
  padding: 2rem;
  /* Moved from .contact-form */
  box-shadow: var(--shadow-soft);
  /* Moved from .contact-form */
  position: relative;
  /* This is needed for the child's z-index to work against the overlay */
}

/* --- CHANGE #2: The Form Itself ---
  The <form> tag is now a transparent layer for the interactive fields.
  We lift it above everything else so its fields are clickable.
*/
.contact-form {
  position: relative;
  z-index: 2;
  /* Lifts the form content (inputs, labels) above any overlay */
  background-color: transparent;
  /* Makes sure we see the container's background below */

  /* These properties were moved to the container above */
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

/* Form Groups and Labels (No changes needed) */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

/* Form Input Fields (No changes needed) */
.form-control {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text-light);
  transition: var(--transition-standard);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Animations (No changes needed) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Circuit Animation */
.circuit-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.circuit-line {
  position: absolute;
  background-color: rgba(255, 255, 255, 0);
  transform-origin: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition-standard);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-item.dropdown {
    align-items: center;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 90% !important;
    margin: 0.7rem auto 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff;
    box-shadow: inset 0 6px 10px -8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
  }

  .dropdown-menu.show {
    max-height: 500px !important;
    padding: 0.5rem 0 !important;
  }

  .dropdown-menu:before {
    display: none !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.page-header {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* You might already have circuit-bg which adds background */
}

.page-header .page-title {
  font-size: 3rem;
  /* Adjust as needed */
  margin-bottom: 1rem;
}

.page-header .page-subtitle {
  font-size: 1.25rem;
  /* Adjust as needed */
  max-width: 800px;
  margin: 0 auto;
  /* Centers the paragraph */
  color: var(--text-gray);
  /* Assuming you have this CSS variable */
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 50px;
  margin-right: 1rem;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
}

.footer-about p {
  margin-bottom: 1.5rem;
}

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

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

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--primary-orange);
}

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

.footer-contact-icon {
  margin-right: 1rem;
  color: var(--primary-orange);
}

.footer-newsletter {
  margin-bottom: 1.5rem;
}

.footer-newsletter p {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}


.hero-image-container {
  display: flex;
  gap: 10px;
  margin-bottom: px;
}

.hero-image-box {
  background-color: rgba(255, 255, 255, 0);
  width: 150px;
  height: 55px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  cursor: pointer;
}

.hero-box-image {
  width: 95%;
  height: 85%;
  display: block;
  border-radius: 0px;
}

.name-and-social {
  display: flex;
  /* Makes the children (h3 and a) flex items */
  align-items: top;
  /* Vertically aligns items in the middle */
  gap: 10px;
  /* Adds space between the name and the icon */
}

.advantages-container {
  display: flex;
  /* Makes the children flex items */
  flex-wrap: wrap;
  /* Allows items to wrap to the next line on smaller screens */
  justify-content: space-between;
  /* Distributes space between items, pushing them to the edges */
  gap: 20px;
  /* Adds space between the columns */
}

.advantage-item {
  flex: 1;
  /* Allows items to grow and shrink, taking up equal space */
  min-width: 280px;
  /* Set a minimum width for each item before wrapping */
  /* You might want to add some padding or background to each .advantage-item */
  padding: 1rem;
  /* Example padding */
  border-radius: 4px;
  /* Example border-radius */
  background-color: rgba(255, 255, 255, 0.05);
  /* Slightly lighter background for each item */
}

/* Optional: Adjust margins for the headings and lists within each item */
.advantage-item h4 {
  margin-top: 0;
}

.advantage-item ul {
  margin-bottom: 0;
}

/* Media query for smaller screens: stack them vertically */
@media (max-width: 768px) {
  .advantages-container {
    flex-direction: column;
    /* Stacks items vertically on smaller screens */
    align-items: center;
    /* Centers them horizontally when stacked */
  }

  .advantage-item {
    width: 100%;
    /* Makes each item take full width */
    max-width: 400px;
    /* Optional: limit max width for better readability on very small screens */
  }
}

/* Partners Section */
.partners-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: -1;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 3rem;
}

.partner-item {
  background-color: var(--secondary-dark);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.partner-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.partner-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(to right, var(--primary-red), rgba(var(--primary-red-rgb), 0.7));
  transition: width 0.5s ease;
}

.partner-item:hover::after {
  width: 100%;
}

.partner-logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.partner-logo {
  max-height: 80px;
  max-width: 80%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.partner-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.partner-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-red);
}

.partner-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--medium-gray);
  margin-top: auto;
  flex-grow: 1;
}



/* Clients Section */
/* Clients Section */
.clients-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(30, 30, 30, 0.5) 0%, rgba(18, 18, 18, 0) 50%, rgba(30, 30, 30, 0.5) 100%);
  z-index: -1;
}

/* Carousel Container - No padding for navigation buttons */
.clients-carousel-wrapper {
  position: relative;
  margin-top: 3rem;
  /* Removed padding since no navigation buttons */
}

.clients-container {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.clients-track {
  display: flex;
  /* Transition set dynamically in JavaScript for continuous flow */
  will-change: transform;
}

.client-item {
  background: var(--secondary-dark);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 120, 212, 0.1);
  padding: 2rem;
  margin: 0 15px;
  transition: var(--transition-standard);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 250px;
  height: 350px;
  flex-shrink: 0;
}

.client-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-blue);
  z-index: 2;
}

.client-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-teal));
  transition: width 0.5s ease;
}

.client-item:hover::after {
  width: 100%;
}

.client-logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.client-logo {
  max-height: 80px;
  max-width: 80%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.client-item:hover .client-logo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.client-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-teal));
}

.client-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-gray);
  font-family: var(--font-primary);
  margin-top: auto;
  flex-grow: 1;
}

/* Navigation Buttons - HIDDEN */
.carousel-nav {
  display: none !important;
  /* Completely hide navigation buttons */
}

/* Carousel Indicators - Smaller and more subtle */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 6px;
}

.indicator {
  display: none !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 120, 212, 0.2);
  cursor: pointer;
  transition: var(--transition-standard);
  border: none;
}

.indicator.active {
  background: var(--accent-blue);
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 120, 212, 0.4);
}

.indicator:hover {
  background: rgba(0, 120, 212, 0.5);
  transform: scale(1.1);
}

/* Remove auto-play controls since it's always continuous */
.carousel-controls {
  display: none !important;
  /* Hide play/pause controls */
}

/* Loading and error states */
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: var(--text-gray);
}

.loading-indicator i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.error-message,
.no-items-message {
  text-align: center;
  padding: 3rem;
  color: var(--text-gray);
  font-family: var(--font-primary);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-dark);
  border-radius: 12px;
  border: 1px solid rgba(0, 120, 212, 0.1);
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-gray);
  font-family: var(--font-primary);
}

/* Add smooth scrolling animation */
@keyframes continuous-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Alternative CSS-only continuous scroll (if you want to try pure CSS approach) */
.clients-track.css-scroll {
  animation: continuous-scroll 60s linear infinite;
}

.clients-track.css-scroll:hover {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {


  .client-item {
    width: 220px;
    height: 320px;
    margin: 0 10px;
    padding: 1.5rem;
  }

  .indicator {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .client-item {
    width: 200px;
    height: 300px;
    margin: 0 8px;
  }

  .carousel-indicators {
    gap: 4px;
  }
}

/* Blog Section */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--secondary-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

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

.blog-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background-color: rgba(0, 120, 212, 0.2);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.blog-date {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* .blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
} */

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.blog-link {
  display: inline-block;
  font-weight: 600;
}