/* Root variables for consistent theming */
:root {
  --primary-color: #2c6bdb;
  --secondary-color: #1e4c9a;
  --text-color: #333;
  --light-text: #fff;
  --dark-gray: #666;
  --medium-gray: #999;
  --light-gray: #e9e9e9;
  --card-bg: #fff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* General styles */

body {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
}

/* Header styles */
.header-top {
  background-color: #121212;
  padding: 12px 0;
  color: var(--light-text);
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.header-top-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-text);
}

.header-top-link i {
  color: var(--primary-color);
}

.wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top-social-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.header-top-social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-top-social-link:hover {
  background-color: var(--primary-color);
}

.header-top-btn {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.header-top-btn:hover {
  background-color: var(--secondary-color);
}

.header-bottom {
  background-color: var(--light-text);
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.navbar-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
}

.navbar-link {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}






/* Section titles with animated underline */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--primary-color);
  transition: width 0.8s ease;
}

.section-title.show::after {
  width: 100%;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Clients Section Styles */
.clients-section {
  padding: 80px 0;
  background-color: var(--light-text);
  border-top: 1px solid var(--light-gray);
}

.clients-header {
  margin-bottom: 50px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}

.client-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.client-item.show {
  transform: translateY(0);
  opacity: 1;
}

.client-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-logo {
  max-height: 200px;

  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.client-logo img {
  max-width: 2000px;
  max-height: 200px;
  object-fit: contain;
}

.client-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.client-description {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Gallery Section Styles */
.gallery-section {
  padding: 80px 0;
  background-color: #121212;
  color: var(--light-text);
}

.gallery-section .section-title {
  color: var(--light-text);
}

.gallery-section .section-subtitle {
  color: var(--medium-gray);
}

.gallery-header {
  margin-bottom: 50px;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  color: var(--dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-color: black;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item.show {
  transform: scale(1);
  opacity: 1;
}

.gallery-item-inner {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-content {
  transform: translateY(0);
}

.gallery-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.gallery-item-description {
  font-size: 0.9rem;
  color: var(--light-gray);
}

.gallery-navigation {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.gallery-btn {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  margin: 0 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-btn:hover {
  background-color: var(--secondary-color);
}

/* Fullscreen Gallery Styles */
.fullscreen-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-gallery.active {
  display: flex;
}

.fullscreen-image-container {
  position: relative;
  width: 80%;
  max-width: 1200px;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fullscreen-caption {
  color: var(--light-text);
  margin-top: 20px;
  text-align: center;
  max-width: 800px;
}

.fullscreen-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.fullscreen-caption p {
  font-size: 1rem;
  color: var(--medium-gray);
}

.close-gallery {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-gallery:hover {
  color: var(--primary-color);
}

.gallery-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.gallery-control-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-control-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* CTA Section Styles */
.cta-section {
  padding: 80px 0;
  background-color: var(--light-text);
}

.cta-card {
  background-color: var(--primary-color);
  border-radius: 15px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  color: var(--light-text);
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.card-text {
  font-size: 1.1rem;
  max-width: 600px;
}

.cta-btn {
  background-color: var(--light-text);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

/* Footer Styles */
.footer {
  background-color: #121212;
  color: var(--light-text);
}

.footer-top {
  padding: 70px 0;
}

.footer-top .container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-brand .logo img {
  height: 80px;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--medium-gray);
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--light-text);
}

.contact-link i {
  color: var(--primary-color);
}

.social-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-list-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--light-text);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--medium-gray);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  text-align: center;
  color: var(--medium-gray);
  margin: 0;
}

.copyright a {
  color: var(--primary-color);
}

/* Additional styles for hero section shown in your screenshot */
.service-section {
  height: 500px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/processor.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--light-text);
  position: relative;
}

.service-content {
  padding-left: 10%;
  max-width: 600px;
}

.service-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.service-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-top .container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 10px;
  }
  
  
  
 
  
  .navbar-list {
    flex-direction: column;
  }
  
 
  

  
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .cta-card {
    padding: 30px;
    text-align: center;
    justify-content: center;
  }
  
  .service-content {
    padding-left: 5%;
  }
  
  .service-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .service-title {
    font-size: 2rem;
  }
}