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

body {
  font-family: 'Inter', sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.7;
  padding: 0;
  font-size: 16px;
}

/* Layout */
header, section, footer {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #111827;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #374151;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  text-align: center;
  margin-top: 3rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #4b5563;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  font-size: 0.975rem;
  font-weight: 600;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.cta:hover {
  background-color: #1d4ed8;
}

/* Section Headings */
section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111827;
  text-align: center;
}

/* Services & Expertise */
section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.expertise h3 {
  margin-top: 1.5rem;
  color: #1f2937;
}

/* Modern Portfolio Section */
#portfolio {
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
}

#portfolio h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

#portfolio h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #059669;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #059669;
  border-radius: 16px 16px 0 0;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
  border-color: #059669;
}

.portfolio-header {
  margin-bottom: 1.5rem;
}

.portfolio-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-item h3::before {
  content: '';
  width: 24px;
  height: 24px;
  background: #059669;
  border-radius: 6px;
  display: inline-block;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background: #ecfdf5;
  color: #059669;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #a7f3d0;
}

.portfolio-item p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature {
  font-size: 0.9rem;
  color: #059669;
  font-weight: 500;
}

/* Responsive adjustments for portfolio section */
@media (max-width: 768px) {
  #portfolio {
    padding: 3rem 1.5rem;
    margin: 3rem auto;
  }
  
  #portfolio h2 {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-item {
    padding: 2rem 1.5rem;
  }
  
  .portfolio-tags {
    gap: 0.25rem;
  }
  
  .tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Testimonials */
blockquote {
  background-color: #f3f4f6;
  padding: 1.5rem;
  border-left: 4px solid #2563eb;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

blockquote p {
  font-style: italic;
  color: #374151;
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #111827;
}

/* Contact */
#contact a {
  color: #2563eb;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  /* Mobile CTA button styling */
  .cta {
    font-size: 0.875rem;
    padding: 0.7rem 1.25rem;
    display: block;
    text-align: center;
    max-width: 100%;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 1rem;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide desktop menu and show mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    display: block;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    background-color: #f3f4f6;
    color: #2563eb;
  }

  /* Adjust navigation layout */
  nav {
    position: relative;
    z-index: 1001;
  }

  /* Ensure mobile toggle button stays above the menu */
  .mobile-menu-toggle {
    position: relative;
    z-index: 1002;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu-toggle.active {
    background-color: #ffffff;
  }
}

@media (max-width: 640px) {
  .nav-menu a {
    font-size: 1.25rem;
  }
  
  /* Extra small screens - make CTA button even more compact */
  .cta {
    font-size: 0.825rem;
    padding: 0.65rem 1rem;
    line-height: 1.25;
    white-space: nowrap;
    margin-top: 1rem;
  }
}

/* Modern Services Section */
#services {
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
}

#services h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

#services h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #8b5cf6;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #8b5cf6;
  border-radius: 16px 16px 0 0;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: #8b5cf6;
}

.service-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-item h3::before {
  content: '';
  width: 24px;
  height: 24px;
  background: #8b5cf6;
  border-radius: 6px;
  display: inline-block;
}

.service-item p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments for services section */
@media (max-width: 768px) {
  #services {
    padding: 3rem 1.5rem;
    margin: 3rem auto;
  }
  
  #services h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-item {
    padding: 2rem 1.5rem;
  }
}

/* Modern Technologies & Expertise Section */
#expertise {
  background-color: #f9fafb;
  border-radius: 20px;
  padding: 4rem 2rem;
  margin: 4rem auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#expertise h2 {
  color: #111827;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

#expertise h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #0ea5e9;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.expertise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.expertise > div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #0ea5e9;
  border-radius: 16px 16px 0 0;
}

.expertise > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
}

.expertise h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.expertise h3::before {
  content: '';
  width: 24px;
  height: 24px;
  background: #0ea5e9;
  border-radius: 6px;
  display: inline-block;
}

.expertise p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
}

.expertise ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise ul li {
  color: #4b5563;
  padding: 0.5rem 0;
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
}

.expertise ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive adjustments for expertise section */
@media (max-width: 768px) {
  #expertise {
    padding: 3rem 1.5rem;
    margin: 3rem auto;
  }
  
  #expertise h2 {
    font-size: 2rem;
  }
  
  .expertise {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .expertise > div {
    padding: 1.5rem;
  }
}

/* Industries Section */
#industries {
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 1100px;
}

#industries h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

#industries h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #14b8a6;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.industry-item {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.industry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #14b8a6;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.industry-item:hover::before {
  transform: scaleX(1);
}

.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.15);
  border-color: #14b8a6;
}

.industry-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  transition: color 0.3s ease;
}

.industry-item:hover h3 {
  color: #14b8a6;
}

/* Responsive adjustments for industries section */
@media (max-width: 768px) {
  #industries {
    padding: 3rem 1.5rem;
  }
  
  #industries h2 {
    font-size: 2rem;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .industry-item {
    padding: 1.5rem 1rem;
  }
}

.highlight-section {
  background-color: #f9fafb;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.highlight-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

