/* Gowebs - Goweb Webs Solutions Private Limited */
:root {
  --gowebs-primary: #6366f1;
  --gowebs-secondary: #8b5cf6;
  --gowebs-accent: #06b6d4;
  --gowebs-dark: #0f172a;
  --gowebs-light: #f8fafc;
}

[data-bs-theme="dark"] {
  --gowebs-bg: #0f172a;
  --gowebs-card: #1e293b;
  --gowebs-text: #f1f5f9;
}

[data-bs-theme="light"] {
  --gowebs-bg: #f8fafc;
  --gowebs-card: #ffffff;
  --gowebs-text: #0f172a;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Hero Header - transparent overlay */
header.position-fixed .navbar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(6, 182, 212, 0.2), transparent);
  pointer-events: none;
}

[data-bs-theme="dark"] .hero-section::before {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(6, 182, 212, 0.15), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, var(--gowebs-primary), var(--gowebs-secondary));
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  animation: fadeInUp 0.6s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) { width: 80px; height: 80px; background: var(--gowebs-primary); top: 20%; left: 10%; animation-delay: 0s; }
.floating-shape:nth-child(2) { width: 60px; height: 60px; background: var(--gowebs-secondary); top: 60%; right: 15%; animation-delay: 2s; }
.floating-shape:nth-child(3) { width: 40px; height: 40px; background: var(--gowebs-accent); bottom: 25%; left: 20%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Common Header */
.common-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  z-index: 1030;
}

[data-bs-theme="dark"] .common-header {
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.common-header .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gowebs-primary), var(--gowebs-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gowebs-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .service-card {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.service-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* Page Header */
.page-header {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  position: relative;
}

[data-bs-theme="dark"] .page-header {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
}

/* Footer */
.gowebs-footer {
  background: var(--gowebs-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

[data-bs-theme="light"] .gowebs-footer {
  background: #0f172a;
}

.gowebs-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.gowebs-footer a:hover {
  color: white;
}

.gowebs-footer .footer-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: white !important;
}

/* Mobile Navbar - half screen width, ensure offcanvas above header */
.offcanvas.offcanvas-end {
  z-index: 1050;
}

@media (max-width: 991.98px) {
  .offcanvas.offcanvas-end {
    width: 50vw;
    max-width: 50vw;
  }
}

/* Theme Toggle */
#themeToggle,
#themeToggleMobile {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.25rem;
}

#themeToggle {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#themeToggle:hover,
#themeToggleMobile:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-dark #themeToggleMobile {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient buttons */
.btn-gowebs {
  background: linear-gradient(135deg, var(--gowebs-primary), var(--gowebs-secondary));
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-gowebs:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  color: white;
}

/* Section spacing */
.section-py {
  padding: 5rem 0;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
