﻿:root {
  --bg-color: #ffffff; 
  --bg-gradient: radial-gradient(circle at 15% 50%, rgba(255, 69, 0, 0.03), transparent 40%), 
                 radial-gradient(circle at 85% 10%, rgba(255, 140, 0, 0.02), transparent 40%);
  --text-primary: #111827; /* Dark Gray */
  --text-secondary: #4b5563; /* Medium Gray */
  --accent-primary: #FF4500; 
  --accent-secondary: #ff6529;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --section-padding: 120px 5%;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.7;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

/* Floating Pill Navigation */
nav {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #e5e7eb 0%, #ffffff 40%, #d1d5db 100%); /* Grey radiant like steel */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 10px 15px 10px 30px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.8);
  transition: all 0.4s ease;
}

nav.scrolled .nav-container {
  background: linear-gradient(135deg, #d1d5db 0%, #f3f4f6 50%, #9ca3af 100%); /* Slightly darker steel when scrolled */
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255,255,255,0.5);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(90deg, #111, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a:not(.contact-btn) {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:not(.contact-btn):hover {
  color: var(--text-primary);
}

.contact-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  position: relative;
  padding: 140px 5% 80px 5%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(20%) brightness(0.8);
  transform: scale(1.05);
  animation: subtleZoom 20s infinite alternate linear;
}

@keyframes subtleZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

/* Dark overlay so white text remains readable */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.4) 50%, rgba(255,69,0,0.15) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  margin-bottom: 30px;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}

.hero-title span {
  color: var(--accent-primary);
  text-shadow: 0 0 40px rgba(255, 69, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #f3f4f6;
  margin-bottom: 50px;
  max-width: 800px;
  font-weight: 400;
  line-height: 1.7;
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
  transform: translateX(10px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
  animation: bounce 2s infinite;
  color: #fff;
}

.scroll-indicator p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { top: 8px; opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

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

/* Typography & General Sections */
section {
  padding: var(--section-padding);
}

.section-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px auto;
}

.section-header.center {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.section-header.center .section-title,
.section-header.center .section-subtitle,
.section-header.center .section-desc {
  text-align: center;
}

.section-subtitle {
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Our Story Section */
.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.story-content p:not(.lead-text) {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.story-image-wrapper {
  position: relative;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.floating-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  animation: float 6s ease-in-out infinite;
}

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


/* Products Section */
.products-section {
  background: #f9fafb; /* Light Gray */
  position: relative;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.product-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255,69,0,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 20px rgba(255,69,0,0.05);
}

.product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 40px 30px;
  position: relative;
}

.product-info i {
  position: absolute;
  top: -30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.product-info p {
  color: var(--text-secondary);
}

/* Why Us (Bento Grid) */
.why-us-section {
  background: #ffffff;
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
}

.bento-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.bento-card:hover {
  background: #fafafa;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.cert-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255,69,0,0.05) 0%, rgba(255,255,255,1) 100%);
  border-color: rgba(255,69,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-card .bento-icon {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.cert-card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cert-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.capability {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.capability.large {
  grid-column: span 4;
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.cap-header i {
  font-size: 2rem;
  color: var(--accent-primary);
}

.cap-header h4 {
  font-size: 1.5rem;
}

.capability p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  padding: 10px 24px;
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 69, 0, 0.4);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f3f4f6;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item.hide {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 15px;
  transform: translateY(-15px);
  transition: transform 0.3s ease;
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  color: #fff;
  transform: translateY(15px);
  transition: transform 0.3s ease;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent-primary);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-title {
  color: #fff;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Contact Parallax */
.contact-parallax {
  position: relative;
  background-image: url('assets/pdf_img_page3_4.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 160px 5%;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.7) 50%, #ffffff 100%);
  backdrop-filter: blur(5px);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.office-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.office-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  border-color: rgba(255,69,0,0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.office-card.highlight {
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-color: rgba(255,69,0,0.4);
  box-shadow: 0 15px 40px rgba(255,69,0,0.1);
}

.office-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #f9fafb;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.office-card.highlight .office-icon-wrapper {
  background: var(--accent-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(255,69,0,0.3);
}

.office-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.office-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.email-link {
  font-size: 1.4rem !important;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 15px !important;
}

.hours {
  color: var(--accent-primary) !important;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #f9fafb;
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-card, .capability, .capability.large { grid-column: span 2; }
  .offices-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 992px) {
  .story-container { grid-template-columns: 1fr; }
  .story-image-grid { margin-top: 40px; }
  .hero-title { font-size: clamp(3rem, 10vw, 4.5rem); }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 5%;
  }

  .logo-text { font-size: 0.95rem; letter-spacing: 1px; }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-menu-btn { display: block; }

  .bento-grid { grid-template-columns: 1fr; }
  .cert-card, .capability, .capability.large { grid-column: span 1; }
}

