:root {
  --orange: #f46524;
  --orange-dark: #d94d0f;
  --orange-light: #ff7d47;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav.desktop-nav {
  display: none;
  align-items: center;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--orange);
}

nav a:hover::after {
  width: 100%;
}

.mobile-nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-900);
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.mobile-nav-btn:active {
  transform: scale(0.95);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: 1rem 2rem;
}

.mobile-menu a {
  padding: 0.75rem 0;
  margin: 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero Section */
#vision {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

#vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

#text {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  font-family: monospace;
  letter-spacing: 0.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

#vision p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
  text-align: center;
  max-width: 1200px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 1;
  animation: bounce 2s infinite;
  opacity: 0.9;
}

.scroll-indicator span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Parallax */
.parallax {
  position: relative;
  height: 50vh;
  overflow: hidden;
  background: var(--gray-900);
}

.parallax::before {
  content: "";
  position: absolute;
  top: -100%;
  bottom: -100%;
  left: 0;
  right: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--scroll, 0));
  will-change: transform;
  opacity: 0.85;
}

.parallax h2 {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* Content Sections */
section.content {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

ul {
  max-width: 800px;
  width: 100%;
  list-style: none;
  padding: 0 2rem;
}

li {
  padding: 1rem 0;
  font-size: 1.125rem;
  line-height: 1.8;
  position: relative;
  padding-left: 2rem;
}

li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1.8rem;
}

li b {
  color: var(--orange);
  font-weight: 600;
}

#experience { background: var(--gray-50); }
#experience2 { background: white; }
#offerings {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
}
#offerings li::before { color: white; }
#offerings li b { color: white; font-weight: 700; }
#team { background: var(--gray-50); }
#team2 { background: white; }
#contacts {
  background: var(--gray-900);
  color: white;
}
#contacts h2::after { background: var(--orange); }

/* Expertise Cards */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin-top: 3rem;
}

.expertise-card {
  background: white;
  padding: 2.5rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  color: var(--gray-900);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.expertise-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.expertise-card:hover .expertise-title {
  color: var(--orange);
}

.expertise-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Offering Cards */
.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin-top: 3rem;
}

.offering-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.offering-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.offering-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.offering-card:hover::before {
  opacity: 1;
}

.offering-card:hover .offering-content {
  color: var(--orange);
}

.offering-content {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.offering-number {
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.offering-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.offering-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* People Boxes */
.core-team-intro {
  max-width: 1200px;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
  text-align: center;
}

.people-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
}

.people-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0 20px;
  align-items: center;
  background-image: linear-gradient(to bottom, #fa875b, #ffa786, #f46524, #f46524, #f46524, #d4571e, #b54918);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  color: var(--gray-900);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

}

.people-photo {
  grid-column: 1 / span all;
  grid-row: 2 ;
  height: 150px;
  width:120px;
  overflow: hidden;
  border: 8px double #eee;
  border-radius: 45px;
  background-color: white;
  display: flex;
  justify-content: center;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.16), 0 4px 6px rgba(0,0,0,0.45);
  place-self: center;
  display:flex;
}

img {
  --max-width: 120px;
}

.people-name {
  grid-column: 1 / span all;
  grid-row: 1;
  padding-top: 10px;
  font-weight: 600;
  text-align: center;
  font-size: 1.25rem;
}

.people-description {
  grid-column: 1 / span all;
  grid-row: 3 ;
}

.people-links {
  grid-column: 1;
  grid-row: 4;
}

.people-box:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

#team2 .people-box {
  background: var(--gray-50);
}

/* Contact Section */
#contacts {
  min-height: 60vh;
}

#contacts h2 {
  color: white;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-card b {
  color: var(--orange);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-card a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--orange-light);
}

/* Responsive */
@media (min-width: 450px) {
  .people-boxes {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .people-photo {
    grid-column: 1;
    grid-row: 1 / span all;
  }

  .people-name {
    grid-column: 2;
    grid-row: 1;
  }

  .people-description {
    grid-column: 2;
    grid-row: 2 ;
  }

  .people-links {
    grid-column: 2;
    grid-row: 3;
  }

}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
    align-items: center;
  }
  .mobile-nav-btn { display: none; }
  .mobile-menu { display: none !important; }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 1rem 3rem;
  }

  section.content {
    padding: 6rem 3rem;
  }

  .parallax {
    height: 60vh;
  }
}

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

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Product Page Styles */
.product-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.product-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  max-width: 900px;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.product-hero .description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  max-width: 900px;
  opacity: 0.9;
  line-height: 1.6;
}

.product-hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  max-width: 900px;
  opacity: 0.95;
}

.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--orange);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-section h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gray-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-section a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.content-section a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  font-size: 1.125rem;
  line-height: 1.8;
  position: relative;
}

.feature-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 1.5rem;
}

.feature-list li strong {
  color: var(--orange);
  font-weight: 600;
}

.capability-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}

.capability-section h4 {
  margin-top: 0;
}

.capability-section ul {
  list-style: none;
  padding-left: 1.5rem;
}

.capability-section ul li {
  padding: 0.5rem 0;
  position: relative;
}

.capability-section ul li::before {
  content: '•';
  position: absolute;
  left: -1.5rem;
  color: var(--orange);
  font-weight: bold;
}

.example-section {
  margin: 2rem 0;
}

code {
  background: var(--gray-100);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--orange-dark);
}

pre {
  background: var(--gray-900);
  color: #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.5;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.9rem;
}

/* Credits Section */
.credits-section {
  background: var(--gray-50);
  padding: 3rem 2rem;
  margin-top: 4rem;
  border-radius: 12px;
}

.credits-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.credits-section p {
  margin-bottom: 0.5rem;
}

.credits-subsection {
  margin-bottom: 2rem;
}

.credits-subsection:last-child {
  margin-bottom: 0;
}

.credits-subsection h4 {
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

details {
  margin-bottom: 0.5rem;
}

summary {
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
  list-style: none;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.2s ease;
}

details[open] summary::before {
  transform: rotate(90deg);
}

details p {
  margin-left: 1rem;
}

/* CTA Button */
a.cta-button,
.cta-button {
  display: inline-block;
  background: var(--orange);
  color: white !important;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

a.cta-button:hover,
.cta-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white !important;
  text-decoration: none !important;
}

a.cta-button.secondary,
.cta-button.secondary {
  background: white;
  color: var(--orange) !important;
  border: 2px solid var(--orange);
}

a.cta-button.secondary:hover,
.cta-button.secondary:hover {
  background: var(--gray-50);
  color: var(--orange) !important;
  text-decoration: none !important;
}
