/* ========== ROOT VARIABLES ========== */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #3c6fe7;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
}

/* ========== BASE STYLES ========== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f8f9fa;
}

/* ========== NAVIGATION STYLES ========== */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  transform: translateY(0);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-brand {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
}

.navbar-brand span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.navbar-nav {
  margin: 0 auto;
  border: 2px solid #333;
  border-radius: 25px;
  padding: 0.2rem;
  background-color: transparent;
  position: relative;
  z-index: 5;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0 0.1rem;
  color: #333 !important;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  background-color: rgba(0, 123, 255, 0.1);
}

.navbar-toggler {
  position: absolute;
  right: 1rem;
  z-index: 10;
}

/* ========== HERO SECTION ========== */
.logo-container {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center;
}

.logo-container img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/img/manufacture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  background-color: #111;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.2s both;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.4;
}

.btn-custom {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 14px 35px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
  font-size: 1rem;
}

.btn-custom:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: white;
}

/* ========== PARTNERS SECTION ========== */
.partners-section {
  background: #f8f9fa;
  padding: 60px 0;
  overflow: hidden;
}

.partners-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.partners-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.partners-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.partners-track {
  display: flex;
  animation: slideLogos 20s linear infinite;
  gap: 60px;
  align-items: center;
}

.partner-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 10px;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  background: rgba(52, 152, 219, 0.05);
}

.partner-logo-item img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(0.3) opacity(0.8);
}

.partner-logo-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

@keyframes slideLogos {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); 
  }
}

.partners-container:hover .partners-track {
  animation-play-state: paused;
}

/* ========== GENERAL SECTIONS ========== */
.section-padding {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: #f8f9fa;
}

.about-image {
  text-align: center;
  margin-top: 2rem;
}

.about-image img {
  background-image: url('/img/building.webp');
  max-width: 100%;
  height: auto;
  border-radius: 40px;
  display: block;
  margin: 0 auto;
}

/* ========== SERVICES SECTION ========== */
.service-card {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.services-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========== CONTACT SECTION ========== */
.contact-info {
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--secondary-color);
  margin-top: 5px;
  flex-shrink: 0;
}

.contact-item h6 {
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item p {
  margin-bottom: 0;
  line-height: 1.4;
}

/* ========== BOOTSTRAP 5.3 FOOTER STYLES ========== */

/* Footer 1: Modern Gradient Bootstrap */
.footer-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
}

.footer-gradient .section-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.footer-gradient .list-unstyled li {
  margin-bottom: 0.75rem;
}

.footer-gradient .list-unstyled a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-gradient .list-unstyled a:hover {
  color: #fbbf24;
  transform: translateX(5px);
}

.footer-gradient .list-unstyled i {
  margin-right: 0.5rem;
  width: 16px;
}

/* Footer 2: Dark Professional Bootstrap */
.footer-dark {
  background-color: #111827;
  color: white;
}

.footer-dark .section-title {
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-dark .company-logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-dark .company-desc {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-dark .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #d1d5db;
}

.footer-dark .contact-item i {
  margin-right: 0.75rem;
  width: 20px;
  color: #fbbf24;
}

.footer-dark .list-unstyled a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
  display: block;
}

.footer-dark .list-unstyled a:hover {
  color: #fbbf24;
}

.footer-dark .social-icons a {
  background: #374151;
  color: #9ca3af;
}

.footer-dark .social-icons a:hover {
  background: #fbbf24;
  color: #111827;
}

.footer-dark .border-top {
  border-color: #374151 !important;
}

/* Footer 3: Creative Wave Bootstrap - WHITE THEME */
.footer-wave {
  background: white;
  color: #1f2937;
  position: relative;
  overflow: hidden;
}

.wave-bg {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
  overflow: hidden;
}

.wave-bg::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.footer-wave .section-title {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-wave .list-unstyled a {
  color: #64748b;
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.footer-wave .list-unstyled a:hover {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  padding-left: 0.75rem;
}

.newsletter-card {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 0.75rem;
}

.newsletter-card .card-title {
  color: #3b82f6;
  font-weight: 600;
}

.btn-newsletter {
  background: #3b82f6;
  border: none;
  transition: all 0.3s ease;
}

.btn-newsletter:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.footer-wave .social-icons a {
  background: rgba(59, 130, 246, 0.1);
  color: #64748b;
}

.footer-wave .social-icons a:hover {
  background: #3b82f6;
  color: white;
}

/* ========== SHARED SOCIAL ICONS ========== */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 0.75rem;
}

.social-icons a:hover {
  background: #fbbf24;
  color: #1e40af;
  transform: translateY(-3px);
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* ========== UTILITY CLASSES ========== */
.text-muted-light {
  color: #64748b !important;
}

.bg-wave-footer {
  background: #f8fafc;
}

.mobile-center {
  text-align: center;
}

.mobile-padding {
  padding: 0 15px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991.98px) {
  .navbar-brand span {
    display: none;
  }
  
  .navbar-collapse {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-top: 0.5rem;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand span {
    font-size: 12px;
  }

  .hero-section {
    padding: 100px 0 60px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-icon {
    font-size: 2rem;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-item {
    flex-direction: column;
    text-align: left;
  }

  .contact-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .about-image {
    margin-top: 1rem;
  }

  .partners-section {
    padding: 40px 0;
  }

  .partners-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .partners-container {
    padding: 30px 15px;
    margin: 0 15px;
  }

  .partners-track {
    gap: 40px;
  }

  .partner-logo-item {
    min-width: 120px;
    height: 60px;
    padding: 8px 15px;
  }

  .partner-logo-item img {
    max-width: 100px;
    max-height: 45px;
  }

  .map-container {
    padding-bottom: 60%;
  }

  /* Footer responsive */
  .footer-dark .row.align-items-center {
    text-align: center !important;
  }
  
  .footer-dark .row.align-items-center > div {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    left: 0.5rem;
  }
  
  .navbar-toggler {
    right: 0.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .navbar-brand span {
    font-size: 11px;
  }

  .service-card {
    padding: 15px 10px;
  }

  .btn-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .contact-item p {
    font-size: 0.9rem;
  }

  .partners-title {
    font-size: 1.6rem;
  }

  .partners-container {
    padding: 25px 10px;
  }

  .partners-track {
    gap: 30px;
  }

  .partner-logo-item {
    min-width: 100px;
    height: 50px;
    padding: 5px 10px;
  }

  .partner-logo-item img {
    max-width: 80px;
    max-height: 35px;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    position: relative;
    left: auto;
    margin: 0 auto;
  }
  
  .navbar-toggler {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
}