@media (max-width: 768px) {
  .hamburger {
    display: block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 20;
    width: 40px;
    height: 40px;
  }
  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background: #203a43;
    border-radius: 2px;
    box-shadow: none;
    transition: 0.3s;
  }
  .navbar-overlay {
    flex-direction: row;
    align-items: center;
    padding: 0.7em 1em;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    position: relative;
  }
  .logo {
    font-size: 1.2rem;
    color: #203a43;
    text-shadow: none;
    margin-bottom: 0;
  }
  .hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 20;
  }
  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: #203a43;
    border-radius: 2px;
    transition: 0.3s;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(32,58,67,0.07);
    padding: 1rem 0;
    z-index: 15;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: navy;
}

/* Hero Section */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../assets/images/gotham.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Transparent Navbar - No Background */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 3em;
  z-index: 1000;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Add a pseudo-element for the background effects */
.navbar-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  z-index: -1;
  pointer-events: none;
}

.navbar-overlay.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-overlay.scrolled .logo {
  color: #1e293b;
  text-shadow: none;
}

.navbar-overlay.scrolled .nav-links a {
  color: #1e293b;
  text-shadow: none;
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar-overlay.scrolled .nav-links a:hover {
  background-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  padding: 10px 18px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Centered Hero Text */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 2.5em;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-text h2 {
  font-size: 2.5rem;
  margin: 0 0 1em 0;
  font-weight: 700;
  color: white;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
}

.hero-text p {
  font-size: 1.3rem;
  margin-top: 1em;
  line-height: 1.6;
  color: #f1f5f9;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

/* Sections */
section {
  padding: 3em 2em;
  max-width: 1000px;
  margin: auto;
  background: white;
  margin-bottom: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* About Section */
.about-content {
  margin-top: 2em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  margin-top: 1em;
}

.about-item {
  padding: 2em;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-item h3 {
  color: #1e293b;
  font-size: 1.4rem;
  margin-bottom: 1em;
  position: relative;
  padding-bottom: 0.5em;
}

.about-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #3b82f6;
  border-radius: 2px;
}

.about-item p {
  color: #475569;
  line-height: 1.6;
  font-size: 1.1rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 2em;
  padding: 0.75em 1.5em;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.back-to-top::before {
  content: '↑';
  font-size: 1.1em;
}

.back-to-top:hover {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

@media screen and (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-item {
    padding: 1.5em;
  }
  
  .about-item h3 {
    font-size: 1.2rem;
  }
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 1em;
  color: #1e293b;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 0.5em;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

section ul {
  list-style: none;
  padding: 0;
}

section li {
  padding: 1em;
  margin-bottom: 1em;
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Collapsible sections styling */
details {
  margin-bottom: 1.5em;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

summary {
  padding: 1.5em;
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.service-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  position: relative;
  background: linear-gradient(135deg, #1e293b, #334155);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  border: 2px solid rgba(255,255,255,0.1);
}

details[open] .service-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.icon-ai {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.icon-ai::after {
  content: "AI";
}

.icon-digital {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.icon-digital::after {
  content: "DX";
}

.icon-cloud {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.icon-cloud::after {
  content: "☁️";
}

.icon-industry {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-industry::after {
  content: "🏢";
}

.icon-emerging {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.icon-emerging::after {
  content: "💡";
}

.service-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

summary:hover {
  background: #e2e8f0;
}

details[open] summary {
  border-bottom: 2px solid #3b82f6;
}

.service-content {
  padding: 1.5em;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-items {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.service-items li {
  margin: 1em 0;
  padding: 1em;
  background: white;
  border-left: 3px solid #3b82f6;
  border-radius: 6px;
}

section li strong {
  color: #1e293b;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #e2e8f0;
  text-align: center;
  padding: 3em 2em;
  margin-top: 2em;
}

footer h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: white;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .navbar-overlay {
    padding: 1.2em 1.5em;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .nav-links {
    gap: 18px;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 8px 14px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-overlay {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 1.2em;
  }

  .logo {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    text-align: center;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .hero-text {
    max-width: 90%;
    padding: 2em;
    margin-top: 60px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  section {
    padding: 2em 1.5em;
    margin-bottom: 1em;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-container {
    height: 80vh;
  }

  .navbar-overlay {
    padding: 1em;
    gap: 12px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 10px 20px;
    text-align: center;
  }

  .hero-text {
    padding: 1.5em;
    margin-top: 100px;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}