/* Global Styles */
:root {
  /* Modern Professional Color Palette */
  --primary-color: #2C3E50;      /* Deep Blue/Slate - Primary Brand Color */
  --secondary-color: #3498DB;    /* Bright Blue - Secondary Brand Color */
  --accent-color: #E74C3C;       /* Coral Red - Accent for CTAs */
  --success-color: #2ECC71;      /* Green - Success State */
  --warning-color: #F39C12;      /* Amber - Warning State */
  --light-accent: #ECF0F1;       /* Light Gray - Background Accent */
  
  /* Text Colors */
  --text-color: #2C3E50;         /* Main Text Color */
  --text-light: #7F8C8D;         /* Secondary Text Color */
  --text-white: #FFFFFF;         /* Text on Dark Backgrounds */
  
  /* Background Colors */
  --bg-light: #F5F7FA;           /* Light Background */
  --bg-white: #FFFFFF;           /* White Background */
  --bg-dark: #34495E;            /* Dark Background */
  
  /* UI Elements */
  --box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);    /* Subtle Shadow */
  --box-shadow-hover: 0 15px 30px rgba(44, 62, 80, 0.15); /* Hover Shadow */
  --border-radius: 8px;          /* Border Radius */
  --border-color: #E0E6ED;       /* Border Color */
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;    /* Primary Font */
  --font-secondary: 'Montserrat', sans-serif; /* Secondary Font */
  --font-accent: 'Playfair Display', serif;  /* Accent Font for Headers */
  
  /* Animation */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-light);
  scroll-behavior: smooth;
}

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

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title {
  text-align: center;
}

.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

/* Section Spacing */
section {
  padding: 70px 0;
  position: relative;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

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

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

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* Card Styles */
.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  transition: var(--transition);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(44,62,80,0.05);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(44,62,80,0.12);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

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

.logo img {
  max-height: 55px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  max-height: 45px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.nav ul li {
  margin: 0 15px;
  position: relative;
}

.nav ul li a {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  display: block;
}

.nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 1001;
}

.sidebar-cancel {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1001;
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.2);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-backdrop.active {
  display: block;
  opacity: 1;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    padding: 80px 0 30px;
    overflow-y: auto;
    transition: 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav.closed {
    right: -300px;
  }

  .nav:not(.closed) {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav ul li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav ul li a {
    padding: 15px 25px;
    width: 100%;
    display: block;
  }

  .nav ul li a::after {
    display: none;
  }

  .sidebar-cancel {
    display: block;
  }
}

/* Hero Section Adjustments */
.hero {
  padding-top: 120px; /* Increased to account for fixed header */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.1s;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-buttons a {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

.hero-buttons a:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-buttons a:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.05), rgba(52, 152, 219, 0.05));
  z-index: 1;
}

/* Hero Section Animation */
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(231, 76, 60, 0.05), rgba(46, 204, 113, 0.05));
  z-index: 0;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-white);
  position: relative;
  display: inline-block;
}

.footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-contact p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  color: var(--text-white);
}

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

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .fa-heart {
  color: var(--accent-color);
  margin: 0 5px;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 10px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-logo {
    align-items: center;
    justify-content: center;
  }
  .footer-logo img {
    margin: 0 auto 15px auto;
  }
  .footer-links, .footer-contact {
    align-items: center;
    justify-content: center;
  }
  .footer-links ul, .footer-contact {
    padding: 0;
  }
  .footer-links ul li, .footer-contact p {
    margin-bottom: 10px;
  }
  .footer-links h3, .footer-contact h3 {
    margin-top: 20px;
  }
  .social-icons {
    justify-content: center;
    margin-top: 15px;
  }
  .footer-bottom {
    padding-top: 20px;
    font-size: 0.95rem;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Modern Feature Sections */

/* About Section with Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: var(--box-shadow-hover);
}

.about-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--light-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.about-card:hover .about-card-icon {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

.about-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
  z-index: 1;
}

.testimonials::before {
  top: -150px;
  left: -150px;
}

.testimonials::after {
  bottom: -150px;
  right: -150px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px 0;
  z-index: 2;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 1;
}

.client-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 30px;
  border: 5px solid var(--bg-white);
  box-shadow: var(--box-shadow);
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  line-height: 0;
}

.testimonial-content p::before {
  top: 15px;
  left: -20px;
}

.testimonial-content p::after {
  bottom: -10px;
  right: -20px;
  transform: rotate(180deg);
}

.client-rating {
  margin-bottom: 10px;
}

.client-rating i {
  color: var(--warning-color);
  margin: 0 2px;
}

.client-name {
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--primary-color);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 40px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.cta-content h2::after {
  background-color: var(--accent-color);
  left: 50%;
  transform: translateX(-50%);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Revamped Product Card Styles */
.revamped-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.product-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(44,62,80,0.10), 0 1.5px 6px rgba(44,62,80,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.3s;
  border-bottom: 4px solid var(--secondary-color);
  position: relative;
}
.product-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 40px rgba(44,62,80,0.18), 0 2px 8px rgba(44,62,80,0.10);
  border-bottom: 4px solid var(--primary-color);
}
.product-card-image {
  width: 100%;
  height: 220px;
  background: #f4f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}
.product-card:hover .product-card-image img {
  transform: scale(1.08) rotate(-2deg);
}
.product-card-body {
  padding: 30px 24px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.product-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 700;
  text-align: left;
}
.product-desc {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 18px;
  text-align: left;
}
.product-features {
  padding-left: 18px;
  margin: 0 0 0 0;
  color: #333;
  font-size: 0.98rem;
  list-style: disc;
}
.product-features li {
  margin-bottom: 7px;
  line-height: 1.5;
}
@media (max-width: 992px) {
  .revamped-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
  }
  .product-card-image {
    height: 160px;
  }
  .product-card-body {
    padding: 20px 14px 14px 14px;
  }
}
@media (max-width: 576px) {
  .revamped-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-card-image {
    height: 130px;
  }
  .product-title {
    font-size: 1.1rem;
  }
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-img {
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.service-features li i {
  color: var(--success-color);
  margin-right: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
  .about-content, .performance-content, .industries-content, .training-content, .contact-content {
    flex-direction: column;
  }
  
  .about-image, .training-image {
    margin-bottom: 30px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav ul {
    flex-direction: column;
    padding: 80px 0 0 0;
    margin: 0;
    width: 100%;
    align-items: flex-start;
  }
  
  .nav ul li {
    margin: 0;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  
  .nav ul li a {
    display: block;
    padding: 16px 30px;
    font-size: 1.1rem;
    color: #2C3E50;
    text-align: left;
    width: 100%;
  }
  
  .testimonial-slide {
    flex-direction: column;
    height: auto;
  }
  
  .client-logo {
    margin: 0 auto 20px;
  }
  
  .leadership-info ul {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .bar {
    width: 60px;
  }
  
  .leaders, .founders {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

/* Quote Container Styles */
.quote-container {
  text-align: center;
  margin-bottom: 40px;
}

.quote-container blockquote {
  font-style: italic;
  font-size: 1.5rem;
  color: #555;
  position: relative;
  padding: 0 40px;
}

.quote-container blockquote p {
  margin-bottom: 5px;
}

.quote-container blockquote footer {
  font-size: 1rem;
  color: var(--primary-color);
  text-align: right;
}

/* Performance Details Styles */
.performance-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
}

.performance-column {
  flex: 1;
  min-width: 300px;
}

.performance-column h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.performance-column ul {
  padding-left: 20px;
}

.performance-column ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 5px;
}

.performance-column ul li::before {
  content: '•';
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

/* Industries Chart Styles */
.pie-chart-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.industry-distribution {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.industry-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 15px;
}

.industry-color.food {
  background-color: #FF9ED8;
}

.industry-color.textile {
  background-color: #B3FF9E;
}

.industry-color.pharma {
  background-color: #FFE09E;
}

.industry-color.chemical {
  background-color: #9ECEFF;
}

.industry-color.petro {
  background-color: #FF9E9E;
}

.industry-color.stationary {
  background-color: #D89EFF;
}

.industry-color.local {
  background-color: #9EFFFF;
}

.industry-color.fruit {
  background-color: #C9FF9E;
}

.industry-name {
  flex: 1;
  font-weight: 500;
}

.industry-percentage {
  font-weight: 700;
  color: var(--primary-color);
}

/* Products Preview Styles */
.products-preview {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-preview-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.product-preview-item:hover {
  transform: translateY(-10px);
}

.product-preview-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-preview-item h3 {
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary-color);
}

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

/* Contact Preview Styles */
.contact-preview {
  padding: 60px 0;
}

.contact-preview-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info-preview {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: inline-block;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-item p {
  margin-bottom: 5px;
  color: #666;
}

.contact-form-preview {
  flex: 1;
  min-width: 300px;
}

.contact-form-preview form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.contact-form-preview .form-group {
  margin-bottom: 20px;
}

.contact-form-preview input,
.contact-form-preview textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form-preview input:focus,
.contact-form-preview textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form-preview button {
  width: 100%;
}

/* Why Us Styles */
.why-us {
  padding: 60px 0;
  background-color: white;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-us-item {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.why-us-item:hover {
  transform: translateY(-10px);
  background-color: rgba(123, 78, 130, 0.05);
}

.why-us-item .icon {
  margin-bottom: 20px;
}

.why-us-item .icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.why-us-item h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.why-us-item p {
  color: #666;
  font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .performance-details, 
  .contact-preview-content {
    flex-direction: column;
  }
  
  .performance-column {
    min-width: 100%;
  }
  
  .why-us-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .quote-container blockquote {
    font-size: 1.2rem;
    padding: 0 20px;
  }
  
  .products-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .performance-chart {
    margin-top: 30px;
  }
  
  .why-us-item {
    padding: 20px;
  }
  
  .why-us-item .icon img {
    width: 60px;
    height: 60px;
  }
  
  .contact-item i {
    font-size: 1.5rem;
  }
}

/* Mission & Vision Section Styles */
#mission-vision {
  background-color: white;
  padding-bottom: 60px; /* Add padding below */
}

.content-block {
  background-color: #fdfaff; /* Very light purple background */
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 20px; /* Space between mission and vision */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Sidebar Nav for Mobile */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(44,62,80,0.08);
    z-index: 2000;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    padding-top: 0;
    align-items: flex-start;
  }
  .nav.closed {
    transform: translateX(-100%);
  }
  .nav ul {
    flex-direction: column;
    padding: 70px 0 0 0;
    margin: 0;
    width: 100%;
    align-items: flex-start;
  }
  .nav ul li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  .nav ul li a {
    display: block;
    padding: 18px 30px;
    font-size: 1.1rem;
    color: #2C3E50;
    text-align: left;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44,62,80,0.3);
    z-index: 1999;
  }
}

@media (min-width: 769px) {
  .nav {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    flex-direction: row !important;
    transform: none !important;
  }
  .nav-backdrop {
    display: none !important;
  }
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin: 1.5rem 0;
  }
} 

/* Button ripple/scale effect */
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}

/* Section spacing improvements */
section {
  padding: 70px 0;
}
@media (max-width: 768px) {
  section { padding: 40px 0; }
}

/* Improve focus for accessibility */
a:focus, .btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Improved Preloader Cardboard Box Animation */
.preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e2e6ea 100%);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s;
  opacity: 1;
}
.preloader-logo {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--primary-color);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(44,62,80,0.06);
  animation: logoFadeIn 1.2s ease-in-out;
}
@keyframes logoFadeIn {
  0% { opacity: 0; transform: translateY(-24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.box-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.box {
  width: 90px;
  height: 90px;
  position: relative;
  perspective: 400px;
  margin-bottom: 12px;
}
.box-top, .box-bottom, .box-left, .box-right, .box-back, .box-front {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fff;
  border: 2.5px solid var(--primary-color);
  box-shadow: 0 2px 16px rgba(44,62,80,0.13);
  transition: transform 0.6s cubic-bezier(.4,2,.6,1);
}
.box-top {
  background: var(--primary-color);
  height: 30px;
  top: -2.5px;
  left: -2.5px;
  border-bottom: none;
  transform-origin: bottom center;
  animation: boxTopOpen 2.2s cubic-bezier(.4,2,.6,1) infinite alternate;
  z-index: 2;
}
.box-bottom {
  bottom: -2.5px; left: -2.5px;
  height: 30px;
  background: var(--primary-color);
  border-top: none;
}
.box-left {
  left: -2.5px; top: 28px;
  width: 30px; height: 34px;
  background: var(--primary-color);
  border-right: none;
  transform-origin: right center;
  animation: boxLeftOpen 2.2s cubic-bezier(.4,2,.6,1) infinite alternate;
  z-index: 2;
}
.box-right {
  right: -2.5px; top: 28px;
  width: 30px; height: 34px;
  background: var(--primary-color);
  border-left: none;
  transform-origin: left center;
  animation: boxRightOpen 2.2s cubic-bezier(.4,2,.6,1) infinite alternate;
  z-index: 2;
}
.box-back {
  left: 28px; top: 28px;
  width: 34px; height: 34px;
  background: #f4f7fa;
  z-index: 1;
}
.box-front {
  left: 28px; top: 28px;
  width: 34px; height: 34px;
  background: #fff;
  border: 2.5px solid var(--primary-color);
  z-index: 3;
}
@keyframes boxTopOpen {
  0% { transform: rotateX(0deg); }
  30% { transform: rotateX(-80deg); }
  60% { transform: rotateX(-80deg); }
  100% { transform: rotateX(0deg); }
}
@keyframes boxLeftOpen {
  0% { transform: rotateY(0deg); }
  30% { transform: rotateY(80deg); }
  60% { transform: rotateY(80deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes boxRightOpen {
  0% { transform: rotateY(0deg); }
  30% { transform: rotateY(-80deg); }
  60% { transform: rotateY(-80deg); }
  100% { transform: rotateY(0deg); }
}
.loading-text {
  font-family: var(--font-secondary);
  color: #222;
  font-size: 1.08rem;
  letter-spacing: 1.5px;
  margin-top: 2px;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .preloader-logo {
    font-size: 1.25rem;
  }
  .box {
    width: 62px;
    height: 62px;
  }
  .box-top, .box-bottom, .box-left, .box-right, .box-back, .box-front {
    width: 62px;
    height: 62px;
  }
  .box-top, .box-bottom {
    height: 19px;
  }
  .box-left, .box-right {
    width: 19px;
    height: 24px;
  }
  .box-back, .box-front {
    width: 24px;
    height: 24px;
    left: 19px;
    top: 19px;
  }
}