/* style.css */
:root {
  --primary: #2a5bd7;
  --primary-dark: #1d4ac4;
  --secondary: #00c99c;
  --dark: #1a1d28;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --terra-blue: #1d4ac4;
  --flex-teal: #00c99c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #00b087;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Section Styling */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: var(--secondary);
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--light);
}

/* Services/Products Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(42, 91, 215, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 24px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  padding-right: 50px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat {
  text-align: center;
  padding: 25px;
  background-color: var(--light);
  border-radius: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Vision & Mission */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.vm-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.vm-card i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.vm-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-content {
  display: flex;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  padding-right: 50px;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-detail i {
  font-size: 20px;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
}

/* Products Page Specific */
.product-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-item i {
  color: var(--secondary);
  font-size: 20px;
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .hero-text,
  .about-text,
  .contact-info {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .vision-mission {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .vm-card {
    padding: 30px 20px;
  }
}
/* Add this to your existing style.css file, preferably in the Header section */

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.logo-text span {
  color: var(--secondary);
}

/* Add responsive logo styling */
@media (max-width: 768px) {
  .logo-img {
    height: 35px;
  }

  .logo-text {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px;
    margin-right: 8px;
  }

  .logo-text {
    font-size: 20px;
  }
}
/* ====== COPYRIGHT SECTION WITH LOGO COLORS ====== */
/* ====== COPYRIGHT SECTION WITH LOGO COLORS ====== */
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

.copyright p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

/* Terraflex Link with Logo Colors - SIMPLE VERSION */
.terraflex-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 800;
  font-family: "Raleway", sans-serif;
  padding: 0 4px;
  margin: 0 2px;
  transition: all 0.3s ease;
}

/* Terra and Flex with different colors - NO GRADIENT */
.terra-part {
  color: var(--terra-blue); /* #1d4ac4 */
  transition: all 0.2s ease;
}

.flex-part {
  color: var(--flex-teal); /* #00c99c */
  transition: all 0.2s ease;
}

/* Keep the icon as it is - remove any styling that changes it */
.terraflex-icon {
  width: 16px;
  height: 16px;
  /* NO background, NO gradient, NO filter - keep original icon */
  transition: all 0.3s ease;
}

/* Simple hover effects - only on text */
.terraflex-name:hover .terra-part {
  color: #4a7cff; /* Lighter blue on hover */
}

.terraflex-name:hover .flex-part {
  color: #33ffcc; /* Brighter teal on hover */
}

.terraflex-name:hover {
  transform: translateY(-1px);
}

/* Optional: Add a subtle underline on hover */
.terraflex-name:hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--terra-blue), var(--flex-teal));
}

@media (max-width: 768px) {
  .copyright p {
    flex-direction: column;
    gap: 10px;
  }
}
/* Add to your style.css */
.stat-number {
  transition: all 0.3s ease;
  display: inline-block; /* For smoother animation */
}

.stat:hover .stat-number {
  transform: scale(1.05);
  color: var(--primary-color);
}

/* Optional: Add a subtle animation for the entire stat on hover */
.stat {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* ===== Companies We've Worked With ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.client-logo {
  background: white;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== Google Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-rating i {
  color: #ffd700;
  font-size: 1.1rem;
}

.review-rating span {
  margin-left: 8px;
  font-weight: 600;
  color: #333;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #666;
}

.review-content {
  margin-bottom: 25px;
}

.review-content p {
  font-style: italic;
  line-height: 1.6;
  color: #555;
  font-size: 1rem;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.author-info p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  color: #666;
}

.review-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .client-logo {
    padding: 20px;
    height: 100px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .review-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .client-logo {
    padding: 15px;
    height: 90px;
  }
}
/* ===== Client Logo Marquee ===== */
.client-marquee-container {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
  padding: 20px 0;
}

.client-marquee-container::before,
.client-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.client-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.client-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.client-marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.client-marquee-track:hover {
  animation-play-state: paused;
}

.client-logo {
  flex: 0 0 auto;
  background: white;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  z-index: 10;
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* For better performance on mobile */
@media (prefers-reduced-motion: reduce) {
  .client-marquee-track {
    animation: marquee 60s linear infinite;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-marquee-container::before,
  .client-marquee-container::after {
    width: 50px;
  }

  .client-logo {
    width: 150px;
    height: 100px;
    padding: 20px;
  }

  .client-marquee-track {
    gap: 25px;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 480px) {
  .client-logo {
    width: 130px;
    height: 90px;
    padding: 15px;
  }

  .client-marquee-track {
    gap: 20px;
  }
}
