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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Enhanced Header */
.topbar {
  background: linear-gradient(135deg, #fca311 0%, #f77f00 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
  position: relative;
  box-shadow: 0 4px 20px rgba(252, 163, 17, 0.3);
  backdrop-filter: blur(10px);
}

.topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.logo span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 2px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Enhanced Navigation - Fixed Dropdown Issue */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links li {
  position: relative;
}

.nav-links a {
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.nav-links a::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;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* IMPORTANT: Only apply dropdown styles to .dropdown class, not all li elements */
.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  min-width: 220px;
  padding: 0.8rem 0;
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

/* CRITICAL FIX: Only show dropdown on .dropdown elements, not regular nav items */
.nav-links .dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Make sure regular nav links don't trigger dropdown behavior */
.nav-links li:not(.dropdown) .dropdown-content {
  display: none !important;
}

.nav-links .dropdown-content a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: #333;
  border-radius: 10px;
  margin: 0 0.5rem;
  font-weight: 500;
}

.nav-links .dropdown-content a:hover {
  background: linear-gradient(135deg, #fca311, #f77f00);
  color: white;
  transform: translateX(5px);
}

.contact-btn {
  background: linear-gradient(135deg, #f77f00, #e6720a);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
  background: linear-gradient(135deg, #e6720a, #d0640a);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.4);
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.8rem;
  margin: 0 0.3rem;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Enhanced Hero Section */
.hero {
  background: linear-gradient(135deg, #fca311 0%, #f77f00 50%, #fff 50%, #f8f9fa 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(247, 127, 0, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  flex: 1;
  position: relative;
  z-index: 2;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.badge {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.tagline {
  font-size: 1rem;
  margin-left: 1.5rem;
  color: #666;
  font-weight: 500;
  font-style: italic;
}

.hero h1 {
  font-size: 3rem;
  margin: 1.5rem 0;
  color: #222;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #222, #444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #f77f00, #e6720a);
  padding: 1rem 2rem;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e6720a, #d0640a);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(247, 127, 0, 0.4);
}

/* Enhanced Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  background: #f0f0f0;
  animation: slideInRight 1s ease-out 0.3s both;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.1);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  transition: transform 0.3s ease;
}

.carousel-container:hover .carousel-slide.active img {
  transform: scale(1.05);
}

/* Enhanced Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(252, 163, 17, 0.3);
}

.carousel-nav:hover {
  background: linear-gradient(135deg, #fca311, #f77f00);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(252, 163, 17, 0.4);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 15px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fca311;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indicator:hover {
  border-color: #fca311;
  transform: scale(1.3);
}

.indicator.active {
  background: #fca311;
  border-color: #fca311;
  transform: scale(1.2);
}

.indicator.active::before {
  opacity: 1;
  background: white;
}

/* Services Overview */
.services-intro {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.services-intro h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.service-box {
  border: 1px solid #eee;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-box h3 {
  margin-bottom: 1rem;
  color: #f77f00;
}

.service-box a {
  display: inline-block;
  margin-top: 1rem;
  color: #f77f00;
  font-weight: bold;
  transition: color 0.3s ease;
}

.service-box a:hover {
  color: #e6720a;
}

/* Highlight Services */
.highlight-services {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.highlight img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.highlight-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: #fff;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem;
  border-radius: 5px;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background: #fef9f5;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img {
  flex: 1;
  min-width: 300px;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text ul {
  margin: 1rem 0;
}

.btn-secondary {
  background: #fca311;
  padding: 0.6rem 1.2rem;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background: #e6920f;
}

/* Clients */
.clients {
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.client-logos img {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
}

/* Testimonial */
.testimonial {
  padding: 4rem 2rem;
  background: #fff1df;
  text-align: center;
}

.testimonial-box {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author {
  margin-top: 1rem;
}

.author img {
  border-radius: 50%;
  width: 60px;
  margin: 0.5rem;
}

/* Process Section */
.process {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps div {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #fca311;
}

.process-steps h4 {
  color: #fca311;
  margin-bottom: 0.5rem;
}

/* Final CTA */
.final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  background: linear-gradient(to right, #d08a00, #fca311);
  color: #fff;
}

.final-cta img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  flex-shrink: 0;
}

.final-cta > div {
  flex: 1;
  min-width: 300px;
  text-align: right;
  padding-left: 2rem;
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #3d2b1f;
  color: #fff;
  padding: 2rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns div {
  flex: 1;
  min-width: 180px;
}

.footer-columns h4,
.footer-columns h3 {
  color: #fca311;
  margin-bottom: 1rem;
}

.footer-columns ul li {
  margin-bottom: 0.5rem;
}

.footer-columns a:hover {
  color: #fca311;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #555;
  padding-top: 1rem;
}

/* Language content visibility */
.lang-content {
  display: none;
}

.lang-content.active {
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .logo {
    order: 1;
    text-align: center;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .nav-links .dropdown-content {
    position: static;
    display: none;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    border-radius: 10px;
  }

  .contact-btn {
    order: 2;
  }

  .hero {
    flex-direction: column;
    background: linear-gradient(135deg, #fca311 0%, #f77f00 100%);
    text-align: center;
    gap: 30px;
    padding: 3rem 1.5rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    color: white;
    -webkit-text-fill-color: white;
  }

  .hero p {
    color: rgba(255, 255, 255, 0.9);
  }

  .carousel-container {
    max-width: 100%;
    height: 350px;
  }

  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .carousel-nav.prev {
    left: 15px;
  }

  .carousel-nav.next {
    right: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0;
  }

  .highlight-services {
    flex-direction: column;
    padding: 1rem;
  }

  .about {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .final-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .final-cta > div {
    text-align: center;
    padding-left: 0;
    margin-top: 1rem;
  }

  .footer-columns {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .final-cta > div {
    padding-left: 1rem;
  }
}

.logo img {
    height: 70px; /* <-- Change this value */
    width: auto; /* Keep this to maintain proportions */
}

/* --- Styles for the container holding the two "buttons" --- */
.hero-buttons-wrapper {
    display: flex; /* Arranges children side-by-side on desktop */
    align-items: center; /* Vertically centers them */
    margin-top: 2rem; /* Adjust spacing from content above if needed */
    margin-bottom: 2rem; /* Adjust spacing from content below if needed */
}

/* --- Style the "Let's work together" span to look like the .badge --- */
.lets-work-together-btn {
    /* Copying styles from the .badge class */
    background: linear-gradient(135deg, #000, #333); /* Background from .badge */
    color: #fff;
    font-size: 0.8rem; /* Font size from .badge */
    padding: 0.5rem 1rem; /* Padding from .badge */
    border-radius: 25px; /* Border radius from .badge */
    display: inline-block; /* Makes it behave like a block but sit inline */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Indicates it's clickable */
    transition: all 0.3s ease; /* Adds smooth transition for hover */
    
    /* Spacing between the two "buttons" on desktop */
    margin-left: 15px; 
}

/* Shimmer effect for the new button (copied from .badge::before) */
.lets-work-together-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite; /* Uses the existing shimmer keyframes */
}

/* Hover effect for the new button */
.lets-work-together-btn:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
    /* Make the container stack its children vertically on mobile */
    .hero-buttons-wrapper {
        flex-direction: column; /* Stacks items vertically */
        align-items: center; /* Centers stacked items horizontally */
        width: 100%; /* Ensures wrapper takes full width */
        margin-top: 1.5rem; /* Adjust top margin for mobile */
        margin-bottom: 1.5rem; /* Adjust bottom margin for mobile */
    }

    /* Adjust spacing and width for individual "buttons" on mobile */
    .hero-buttons-wrapper .badge,
    .hero-buttons-wrapper .lets-work-together-btn {
        width: 100%; /* Makes them take full width on mobile */
        margin-left: 0; /* Removes horizontal margin */
        margin-top: 15px; /* Adds vertical spacing between them */
        text-align: center; /* Centers text within the "buttons" */
    }
    
    /* Remove the extra top margin for the very first item in the stack */
    .hero-buttons-wrapper .badge:first-child {
        margin-top: 0; 
    }
}