/* Navigation Component Styles */
.navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  height: 32px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #ff4500;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ff4500;
}

.nav-link.active {
  color: #ff4500;
}

.nav-link.active::after {
  width: 100% !important;
}

.nav-link:hover::after {
  width: 100% !important;
}

.cta-button {
  background: #ff4500;
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #e63e00;
  transform: translateY(-2px);
}

/* Mobile Navigation Styles */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 2rem 0;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: flex;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link:hover {
  color: #ff4500;
}

.mobile-nav-link.active {
  color: #ff4500;
}

.mobile-cta-button {
  background: #ff4500;
  color: white !important;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.mobile-cta-button:hover {
  background: #e63e00;
  transform: translateY(-2px);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .nav-container {
    padding: 1rem 20px;
  }
  
  .logo {
    height: 28px;
  }
}

/* Mobile burger menu is controlled by media queries */

@media (max-width: 480px) {
  .nav-container {
    padding: 0.8rem 15px;
  }
  
  .mobile-nav {
    padding: 1.5rem 0;
  }
  
  .mobile-nav-link {
    font-size: 1rem;
  }
  
  .mobile-cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Universal button text color fix */
.button, .primary-button, .btn-primary, .cta-button, .mobile-cta-button,
a[class*="button"], button[class*="button"] {
  color: white !important;
}

/* Ensure orange buttons always have white text */
[style*="background: #ff4500"], [style*="background:#ff4500"],
[style*="background-color: #ff4500"], [style*="background-color:#ff4500"] {
  color: white !important;
}

/* Footer Component Styles */
.footer {
  background: #1a1a1a;
  color: #94a3b8;
  padding: 3rem 0 2rem;
}

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

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff4500;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

/* Body padding for fixed navigation */
body {
  padding-top: 80px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    display: none; /* You may want to add mobile menu functionality */
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Modern Cards & Service Components */
:root {
  --card-radius: 16px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --card-hover-shadow: 0 15px 35px rgba(0,0,0,0.12);
  --orange-primary: #ff4500;
  --orange-light: #ff6a3d;
  --orange-dark: #e03600;
  --orange-accent-bg: rgba(255, 69, 0, 0.1);
  --gradient-orange: linear-gradient(135deg, #ff4500 0%, #ff6a3d 100%);
}

/* Modern Card Layout */
.modern-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Clickable Card Wrapper */
.modern-card-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.modern-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

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

.modern-card-image {
  height: 220px;
  overflow: hidden;
}

.modern-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-image img {
  transform: scale(1.05);
}

.modern-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #1F2937;
}

.modern-card-text {
  color: #4B5563;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.modern-card-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.modern-card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4B5563;
}

.modern-card-list li:before {
  content: '•';
  color: var(--orange-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.modern-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--orange-accent-bg);
  color: var(--orange-primary);
}

.modern-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #F3F4F6;
}

.modern-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--orange-primary);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.modern-card-link:hover {
  transform: translateX(3px);
}

/* Animation for cards when they appear in viewport */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-animate {
  animation: cardAppear 0.7s ease forwards;
}

/* Staggered animation for multiple cards */
.modern-cards-grid .modern-card:nth-child(1) { animation-delay: 0.1s; }
.modern-cards-grid .modern-card:nth-child(2) { animation-delay: 0.25s; }
.modern-cards-grid .modern-card:nth-child(3) { animation-delay: 0.4s; }
.modern-cards-grid .modern-card:nth-child(4) { animation-delay: 0.55s; }

/* Responsive adjustments for cards */
@media (max-width: 768px) {
  .modern-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}



/* Trusted Technologies Section */
.trusted-tech {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
}

.trusted-tech .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.trusted-tech .section-heading h2 {
  color: #1a202c;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
}

.trusted-tech .section-heading p {
  color: #4a5568;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-logo {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2d3748;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.15);
  border-color: #ff4500;
  color: #ff4500;
}

/* Why Vietnam Section */
.why-vietnam-section {
  background: white;
  padding: 80px 0;
}

.why-vietnam-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.why-vietnam-section .section-heading h2 {
  color: #1a202c;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
}

.why-vietnam-section .section-heading p {
  color: #4a5568;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.why-vietnam-section .section-heading a {
  color: #ff4500;
  text-decoration: none;
  font-weight: 600;
}

.why-vietnam-section .section-heading a:hover {
  text-decoration: underline;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: linear-gradient(135deg, #fff5f0 0%, #fef2f2 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid #fed7aa;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff4500 0%, #ff6b35 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 69, 0, 0.2);
  border-color: #ff4500;
}

.benefit-card h3 {
  color: #1a202c;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
}

.benefit-card p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .trusted-tech, .why-vietnam-section {
    padding: 60px 0;
  }
  
  .trusted-tech .section-heading h2,
  .why-vietnam-section .section-heading h2 {
    font-size: 2rem;
  }
  
  .tech-logos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefit-card {
    padding: 30px 20px;
  }
}

/* Enterprise CTA Section - Beautiful Card Design */
#cta.section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
  position: relative;
}

#cta .cta-content {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 500px;
  position: relative;
}

#cta .cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
  pointer-events: none;
}

.cta-image {
  position: relative;
  height: 500px;
  background: url('images/blog-images/devops-team.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.8) 0%, rgba(255, 107, 53, 0.6) 100%);
}

.cta-image-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px;
}

.cta-image-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-image-overlay p {
  font-size: 1.1rem;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.cta-text {
  padding: 60px 50px;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  color: #1a202c;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1.3;
}

.cta-text p {
  color: #4a5568;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-text .button {
  font-size: 1.2rem;
  padding: 18px 40px;
  background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
  border: none;
  border-radius: 12px;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-text .button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-text .button:hover::before {
  left: 100%;
}

.cta-text .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 69, 0, 0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
}

/* Mobile responsive adjustments for CTA Card */
@media (max-width: 768px) {
  #cta.section {
    padding: 80px 0;
  }
  
  #cta .cta-content {
    grid-template-columns: 1fr;
    margin: 0 20px;
    min-height: auto;
  }
  
  .cta-image {
    height: 300px;
    order: 2;
  }
  
  .cta-text {
    padding: 40px 30px;
    order: 1;
    text-align: center;
  }
  
  .cta-text h2 {
    font-size: 2rem;
  }
  
  .cta-text p {
    font-size: 1.1rem;
  }
  
  .cta-text .button {
    font-size: 1.1rem;
    padding: 16px 32px;
    width: 100%;
    max-width: 280px;
  }
  
  .cta-image-overlay h3 {
    font-size: 1.5rem;
  }
  
  .cta-image-overlay p {
    font-size: 1rem;
  }
}

/* Related Content Section Styles */
.related-content-section {
  background: #f8fafc;
}

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

.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.related-article {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.related-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #ff4500;
}

.related-article h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.related-article p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .related-articles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .related-article {
    padding: 1.5rem;
  }
}
