@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-navy: #0c4a6e;
  --secondary: #0284c7;
  --accent-sky: #38bdf8;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #ffffff;
  --bg-sky: #e0f2fe;
  --bg-sky-light: #f0f9ff;
  --bg-sky-subtle: #ebf8ff;
  --bg-light: #ffffff;
  --bg-gray: #e2e8f0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-sky);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-navy);
}

/* Typography Utilities */
.text-primary-theme {
  color: var(--primary);
}

.text-secondary-theme {
  color: var(--primary-dark);
}

.bg-primary-theme {
  background-color: var(--primary);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.bg-secondary-theme {
  background-color: var(--primary);
}

.subtitle {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar-custom {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(224, 242, 254, 0.95);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(2, 132, 199, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(2, 132, 199, 0.08);
}

.navbar-custom .nav-link {
  /* color: var(--primary-navy) !important; */
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin: 0 0.4rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--primary) !important;
}

.navbar-custom .nav-link.active {
  /* color: var(--primary) !important; */
  border-bottom: 2px solid var(--primary);
}

.btn-quote {
  background-color: var(--primary);
  color: var(--text-light) !important;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 10px 20px;
  border: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-quote:hover {
  background-color: var(--primary-dark);
  color: var(--text-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 850px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8, 20, 40, 0.82) 0%, rgba(8, 20, 40, 0.52) 50%, rgba(8, 20, 40, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  margin-top: 80px;
}

.hero-title {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: #38bdf8;
}

.hero-desc {
  color: #e0f2fe;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 40px;
  max-width: 500px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.service-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.service-icon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100px;
}

.service-icon-item i {
  color: #38bdf8;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.service-icon-item span {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  padding: 10px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-sky-light);
  border-bottom: 1px solid #bae6fd;
}

.about-title {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-dark-custom {
  background-color: var(--primary-navy);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  padding: 12px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-dark-custom:hover {
  background-color: var(--primary-dark);
  color: white;
}

.stat-item {
  text-align: center;
  padding: 15px;
  position: relative;
}

.stat-item i {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.stat-number {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.border-right-divider {
  border-right: 1px solid #bae6fd;
}

/* Services Section */
.services-section {
  background-color: var(--bg-sky);
  padding: 80px 0;
}

.services-title {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.explore-link {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.explore-link:hover {
  color: var(--primary-dark);
}

.service-card {
  position: relative;
  min-height: 460px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px 28px;
  background-color: #0b172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-bottom: 5px solid #0284c7;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.15);
}

.service-card:hover {
  border-bottom-color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.3);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.1);
  opacity: 0.92;
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 20, 40, 0.95) 0%, rgba(8, 20, 40, 0.55) 55%, rgba(8, 20, 40, 0.2) 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
}

.service-card i.card-icon {
  color: #38bdf8;
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.service-card:hover i.card-icon {
  transform: scale(1.1);
  color: #7dd3fc;
}

.service-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.service-card ul li {
  color: #e0f2fe;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.service-card ul li::before {
  content: "•";
  color: #38bdf8;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.service-card-btn {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  background-color: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.service-card:hover .service-card-btn {
  background-color: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateX(4px);
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
  background-color: var(--bg-sky-light);
}

.projects-title {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 900;
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

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

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(12, 74, 110, 0.92) 0%, rgba(12, 74, 110, 0.5) 60%, transparent 100%);
}

.project-overlay h5 {
  color: var(--text-light);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.project-overlay p {
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

/* Industries Section */
.industries-section {
  padding: 80px 0;
  background-color: var(--bg-sky);
}

.industries-title {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 900;
}

.industry-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #bae6fd;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(12, 74, 110, 0.9), transparent);
}

.industry-overlay h6 {
  color: var(--text-light);
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 60px 0;
  color: var(--text-light);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: multiply;
}

.cta-section h2 {
  color: var(--text-light);
}

.cta-section p {
  color: #e0f2fe;
}

.cta-feature {
  text-align: center;
}

.cta-feature i {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-feature p {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-light);
}

/* Footer Section */
.main-footer {
  background-color: var(--primary-navy);
  color: #bae6fd;
  padding: 80px 0 0 0;
}

.footer-logo {
  background-color: white;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e0f2fe;
}

.footer-heading {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-sky);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bae6fd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.contact-info i {
  color: var(--accent-sky);
  margin-top: 4px;
  margin-right: 15px;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-sky);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #072e47;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7dd3fc;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* Utilities */
.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

/* Organization Chart Styling */
.org-box {
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

.org-box:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.18);
}

.org-title {
  color: #0c4a6e;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
}

.org-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ISO Badge Styling */
.iso-card {
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

.iso-card:hover {
  transform: translateY(-5px);
  border-color: #0284c7;
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.2);
}

.iso-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 15px auto;
}

/* Pipe Pills & Badges */
.material-pill {
  background-color: #e0f2fe;
  color: #0c4a6e;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin: 3px;
}

/* Case Study Cards */
.case-card {
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.2);
  border-color: #0284c7;
}

.case-card-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 20px 25px;
}

.case-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  .border-right-divider {
    border-right: none;
    border-bottom: 1px solid #bae6fd;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .service-icons-row {
    gap: 15px;
  }
}