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

:root {
  --accent-color: #3498db;
  --container-width: 1920px;
  --light-bg: #f9f9f9;
  --primary-color: #e63946;
  --secondary-color: #2c3e50;
  --text-color: #333;
}

body {
  color: var(--text-color);
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
  max-width: var(--container-width);
  padding: 0 20px;
}

.fixed-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--container-width);
  padding: 0 20px;
}

.logo {
  flex: 0 0 auto;
  margin-left: 20px;
  padding: 10px;
}

.navigation {
  align-items: center;
  background: transparent;
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  margin-right: 20px;
  padding: 0;
}

@media (max-width: 768px) {
  .navigation {
    background: transparent;
  }
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.desktop-nav-list {
  background: #fff;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0px 10px;
}

.desktop-nav-list>li>a {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 20px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.desktop-nav-list>li>a:hover {
  color: var(--primary-color);
}

/* Navigation Dropdown (Desktop) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.desktop-nav .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1100;
  margin-top: 10px;
}

/* Arrow indicator */
.desktop-nav .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.desktop-nav .nav-dropdown-menu li {
  padding: 0;
  margin: 0;
}

.desktop-nav .nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: left;
  border-radius: 0;
  white-space: nowrap;
}

.desktop-nav .nav-dropdown-menu a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding-left: 24px;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.fixed-header {
  background: transparent;
  box-shadow: none;
  left: 0;
  padding: 20px 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

@media (max-width: 768px) {
  .fixed-header {
    position: absolute;
    top: auto;
  }
}

.fixed-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px #0000001a;
}

/* Header themes for white background */
.fixed-header.scrolled .desktop-nav-list a,
.legal-header .desktop-nav-list a {
  color: var(--secondary-color);
}

.fixed-header.scrolled .desktop-nav-list a:hover,
.legal-header .desktop-nav-list a:hover {
  color: var(--primary-color);
}

.fixed-header.scrolled .lines-button span,
.fixed-header.scrolled .lines-button span::before,
.fixed-header.scrolled .lines-button span::after,
.legal-header .lines-button span,
.legal-header .lines-button span::before,
.legal-header .lines-button span::after {
  background-color: var(--secondary-color);
}

/* White hamburger when menu is open on dark headers */
.fixed-header.scrolled .lines.close span::before,
.fixed-header.scrolled .lines.close span::after,
.legal-header .lines.close span::before,
.legal-header .lines.close span::after {
  background-color: #fff;
}

/* Ensure middle line is transparent when menu is open */
.fixed-header.scrolled .lines.close span,
.legal-header .lines.close span {
  background-color: transparent;
}

.fixed-header .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.logo img {
  max-height: 60px;
  transition: opacity 0.3s ease;
}

.banner {
  align-items: center;
  background-image: url(/images/celbert_banner-min.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
}

/* TODO maybe we can use it */
/* .banner::before {
  background: linear-gradient(
    to bottom,
    #0000004d 0%,
    #00000080 100%
  );
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
} */

.banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1040px;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
  text-align: center;
  transform: translateY(-4vh);
  width: 100%;
  z-index: 1;
}

@media (max-width: 400px) {
  .banner-content {
    padding: 7rem 1rem 3rem;
    transform: none;
  }

  .fact-circle {
    height: 150px;
    width: 150px;
  }
}

.banner-heading {
  backdrop-filter: blur(10px);
  background: #e63946d9;
  border: 1px solid #ffffff4d;
  border-radius: 34px;
  box-shadow: 0 12px 34px #00000059, 0 0 28px #e6394640;
  display: inline-block;
  margin-bottom: 1.55rem;
  overflow: hidden;
  padding: 1.2rem 2rem;
  position: relative;
  z-index: 1;
}

.banner h1 {
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 1.12;
  margin: 0;
  text-shadow: 2px 2px 4px #0000004d;
}

.banner-subtitle {
  backdrop-filter: blur(8px);
  background: #2c3e50cf;
  border-radius: 24px;
  box-shadow: 0 4px 20px #00000040;
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto 2rem;
  max-width: 840px;
  padding: 0.95rem 1.5rem;
  text-shadow: 2px 2px 8px #00000080;
}

.banner-benefits {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 2.35rem;
  max-width: 980px;
  width: 100%;
}

.banner-benefit {
  align-items: center;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, #fffffff5 0%, #fff8f8f5 100%);
  border: 1px solid #ffffffcc;
  border-radius: 22px;
  box-shadow: 0 16px 36px #00000040;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  font-size: clamp(1.2rem, 1.65vw, 1.42rem);
  font-weight: 850;
  gap: 1.05rem;
  justify-content: center;
  line-height: 1.26;
  min-height: 215px;
  padding: 1.55rem 1.25rem;
}

.banner-benefit i {
  align-items: center;
  background: radial-gradient(circle at 30% 25%, #ff7b83 0%, var(--primary-color) 48%, #b9202c 100%);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px #e6394666;
  color: #fff;
  display: inline-flex;
  font-size: 2.55rem;
  height: 92px;
  justify-content: center;
  width: 92px;
}

.banner-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.banner-actions .action-btn {
  font-size: 1.35rem;
  min-width: 360px;
  padding: 1.15rem 2.8rem;
}

.banner-call-btn {
  box-shadow: 0 8px 20px #0000002b;
}

.banner-note {
  backdrop-filter: blur(8px);
  background: #e63946d9;
  border: 1px solid #ffffff4d;
  border-radius: 999px;
  box-shadow: 0 10px 26px #00000040;
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto;
  padding: 0.78rem 1.55rem;
  text-shadow: 2px 2px 8px #00000080;
}

.trust-stats {
  background: #f7f8fa;
  padding: 3rem 1.25rem 2rem;
}

.trust-stats .facts-container {
  margin: 0 auto;
  max-width: 520px;
}

.facts-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  position: relative;
}

@media (max-width: 800px) {
  .banner-benefits {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .banner-benefit {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    min-height: auto;
    text-align: left;
  }

  .banner-benefit i {
    flex: 0 0 auto;
    font-size: 2rem;
    height: 74px;
    width: 74px;
  }

  .banner-actions .action-btn {
    min-width: min(100%, 330px);
  }
}

@media (max-width: 400px) {
  .facts-container {
    gap: 1rem;
  }

  .fact-circle {
    height: 150px;
    width: 150px;
  }

  .fact-number-container {
    top: 45%;
  }

  .fact-label-container {
    bottom: 20%;
  }

  .banner-heading {
    padding: 0.8rem 1.5rem;
  }

  .banner h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

@media (max-width: 576px) {
  .banner h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
}

@media (max-width: 740px) {
  .banner h1 {
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  .banner h1 {
    font-size: 1.5rem;
  }
}

.fact-item {
  position: relative;
  text-align: center;
}

.fact-circle {
  animation: circleOpacity 1s ease-out forwards;
  backdrop-filter: blur(5px);
  background: #0000;
  border-radius: 50%;
  box-shadow: 0 8px 32px #0000004d;
  height: 175px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  position: relative;
  width: 175px;
}

@media (max-width: 400px) {
  .fact-circle {
    height: 160px;
    width: 160px;
  }
}

@keyframes circleOpacity {
  0% {
    background-color: #0000;
  }

  100% {
    background-color: #00000066;
  }
}

.fact-circle::after {
  animation: borderDraw 1s ease-out forwards;
  border: 2px solid #ffffff4d;
  border-radius: 50%;
  content: '';
  height: 0;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
}

@keyframes borderDraw {
  to {
    height: 100%;
    width: 100%;
  }
}

.fact-circle::before {
  animation: solidBorder 1s ease-out forwards 1s;
  border: 1px solid #fff0;
  border-radius: 50%;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@keyframes solidBorder {
  0% {
    border-color: #0000;
  }

  100% {
    border-color: #ffffff33;
  }
}

.fact-circle-progress {
  animation: circleDraw 2s ease-out forwards;
  border-radius: 50%;
  clip: rect(0, 200px, 200px, 100px);
  height: 100%;
  position: absolute;
  width: 100%;
}

.fact-circle-progress::before {
  background: conic-gradient(var(--circle-color) 0%,
      var(--circle-color) 50%,
      transparent 50%);
  border-radius: 50%;
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
}

.fact-number-container {
  align-items: center;
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  left: 50%;
  padding: 0 1rem;
  position: absolute;
  text-align: center;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.fact-number {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 2px 2px 4px #0000004d;
}

.fact-plus {
  color: #fff;
  display: none;
  font-size: 3.5rem;
  margin-left: 0.2rem;
  text-shadow: 2px 2px 4px #0000004d;
}

.fact-label-container {
  bottom: 10%;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
}

.experience .fact-label-container {
  bottom: 25%;
}

.fact-label {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px #0000004d;
}

.experience .fact-circle-progress {
  --circle-color: #007bff;
}

.projects .fact-circle-progress {
  --circle-color: #28a745;
}

@keyframes circleDraw {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes numberPulse {
  50% {
    transform: scale(1.1);
  }

  0%,
  100% {
    transform: scale(1);
  }
}

@keyframes iconFloat {
  50% {
    transform: translateY(-10px) rotateX(5deg);
  }

  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes experienceIcon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes projectsIcon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.mobile-nav {
  display: none;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  padding: 10px;
}

.bar {
  background: var(--text-color);
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
  width: 25px;
}

/* .desktop-nav {
  display: block;
} */

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.hero {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--accent-color) 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
  position: relative;
  text-align: center;
}

.hero::before {
  animation: float 10s ease-in-out infinite;
  background: #ffffff1a;
  border-radius: 50%;
  content: '';
  height: 200px;
  position: absolute;
  right: -200px;
  top: 0;
  width: 200px;
}

.hero::after {
  animation: float 10s ease-in-out 5s infinite;
  background: #ffffff1a;
  border-radius: 50%;
  bottom: 0;
  content: '';
  height: 200px;
  left: -200px;
  position: absolute;
  width: 200px;
}

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

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1em;
  opacity: 0.9;
}

.services {
  padding: 80px 0;
  position: relative;
}

.services::before {
  background: var(--light-bg);
  border-radius: 50%;
  content: '';
  height: 200px;
  opacity: 0.1;
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
}

.services h2 {
  margin-bottom: 50px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0000000d;
  padding: 30px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  color: var(--primary-color);
  content: '•';
  left: 0;
  position: absolute;
}

.portfolio {
  background: var(--light-bg);
  padding: 80px 0;
}

.contact {
  padding: 80px 0;
}

.contact-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0000000d;
  padding: 30px;
}

.contact-card p {
  margin-bottom: 15px;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

footer {
  background: var(--secondary-color);
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.services-grid,
.portfolio-grid,
.contact-info {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card h3,
.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact h1,
.portfolio h1,
.portfolio h2,
.contact h2 {
  margin-bottom: 50px;
  text-align: center;
}

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

  0%,
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: space-between;
  }

  .lines-button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-transition: background 0.3s;
    appearance: none;
    border: none;
    border-radius: none;
    box-shadow: none;
    cursor: pointer;
    float: right;
    font-size: 0;
    height: 40px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-indent: -9999px;
    transition: background 0.3s;
    width: 60px;
    z-index: 1000;
  }

  .lines-button:focus {
    outline: none;
  }

  .lines-button span {
    background: #fff;
    border-radius: 0.57143rem;
    display: block;
    height: 6px;
    left: 12px;
    position: absolute;
    right: 12px;
  }

  .lines-button span::before,
  .lines-button span::after {
    background-color: #fff;
    border-radius: 0.57143rem;
    content: '';
    display: block;
    height: 6px;
    left: 0;
    position: absolute;
    width: 100%;
  }

  .lines-button span::before {
    top: -12px;
  }

  .lines-button span::after {
    bottom: -12px;
  }

  .lines span {
    -webkit-transition: background 0s 0.3s;
    transition: background 0s 0.3s;
  }

  .lines span::before,
  .lines span::after {
    -webkit-transition-delay: 0.3s, 0s;
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
    transition-duration: 0.3s, 0.3s;
  }

  .lines span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
  }

  .lines span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
  }

  .lines.close span::before {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 0;
    transform: rotate(45deg);
  }

  .lines.close span::after {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    bottom: 0;
    transform: rotate(-45deg);
  }

  .lines.close span::before,
  .lines.close span::after {
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
  }

  .mobile-nav .logo img {
    max-height: 40px;
  }

  .mobile-menu {
    background: #000c;
    display: none;
    height: 100%;
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .lines,
  .lines.close,
  .lines.close span {
    background: none;
  }

  @media (max-width: 767px) {
    .mobile-menu.active {
      display: block;
    }
  }

  .mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
  }

  .close-menu {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
  }

  .close-menu span {
    background: #fff;
    display: block;
    height: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
    width: 20px;
  }

  .menu-content {
    padding: 2rem;
    padding-top: 150px;
  }

  .menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-content > ul > li {
    border-bottom: 1px solid #ffffff1a;
    margin-bottom: 0;
  }

  .menu-content a {
    color: #fff;
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1.1rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .menu-content a:hover {
    color: var(--primary-color);
  }

  /* Mobile Dropdown Styles */
  .mobile-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-dropdown-trigger a {
    border-bottom: none !important;
    padding: 1.1rem 0 !important;
    flex: 1;
  }

  .mobile-dropdown-toggle {
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    padding: 1.1rem !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-dropdown.open .mobile-dropdown-toggle {
    transform: rotate(180deg);
  }

  .mobile-dropdown-menu {
    list-style: none;
    padding-left: 20px !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .mobile-dropdown-menu li {
    margin-bottom: 8px;
  }

  .mobile-dropdown-menu li:last-child {
    margin-bottom: 0;
  }

  .mobile-dropdown.open .mobile-dropdown-menu {
    max-height: 200px;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .mobile-dropdown-menu a {
    font-size: 1.05rem !important;
    opacity: 0.8;
    border-bottom: none !important;
    padding: 8px 0 !important;
  }

  .mobile-dropdown-menu a:hover {
    opacity: 1;
    color: var(--primary-color) !important;
  }

  .mobile-nav button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  .mobile-nav .logo img {
    max-height: 40px;
  }
}

/* .container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
} */

header {
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 5px #0000001a;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.logo img {
  max-height: 80px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0000001a;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  color: #007bff;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.portfolio {
  background: #f9f9f9;
  padding: 80px 0;
}

.portfolio-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.subpage-main {
  padding-bottom: 60px;
  padding-top: 150px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 900px;
}

#contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.banner-cta-wrap {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.banner-cta {
  background: var(--primary-color);
  border-radius: 999px;
  box-shadow: 0 4px 16px #00000040;
  color: #fff;
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.banner-cta:hover {
  background: #c1121f;
  color: #fff;
  transform: translateY(-3px);
}

#contact-form input,
#contact-form textarea {
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  padding: 15px;
}

#contact-form textarea {
  height: 150px;
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

#contact-form button {
  /* background: #007bff;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  padding: 15px;
  transition: background 0.3s ease; */

  background: var(--primary-color);
  color: #ffffff;
  width: auto;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#contact-form button:hover {
  background: #0056b3;
}

footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.5em;
  margin: 0 15px;
  transition: color 0.3s ease;
}

nav a:hover,
.social-links a:hover {
  color: #007bff;
}

.services,
.contact {
  padding: 80px 0;
}

.contact h1,
.services h2,
.portfolio h1,
.portfolio h2,
.contact h2 {
  margin-bottom: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  margin-bottom: 50px;
}

.contact-card p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card p i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
}

.contact-card p a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card p a:hover {
  color: var(--primary-color);
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

.footer-legal {
  margin-top: 12px;
}

/* --- Final CTA on Home Page --- */
.final-cta {
  padding: 60px 0;
  text-align: center;
  background-color: var(--light-bg);
}

.centered-cta {
  display: inline-block;
  float: none;
  margin: 0 auto;
}

/* --- Contact Page Redesign --- */
.contact-hero {
  background-color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 300;
}

.hero-text h1 span {
  color: var(--primary-color);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.contact-box-wrapper {
  background-color: #eef2f6;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 0;
}

.contact-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  margin-bottom: 2rem;
}

.profile-image {
  flex: 0 0 auto;
  text-align: center;
}

.profile-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-image h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.profile-content {
  flex: 1;
}

.profile-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.profile-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.quick-contact-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.contact-link i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-link .fab.fa-facebook-messenger {
  color: #0084ff;
}

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

.action-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.action-btn {
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.action-btn:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

.btn-outline {
  background-color: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section {
  padding: 60px 0;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-wrapper h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-section .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-section .form-group label {
  color: #333333;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  display: block;
}

.contact-form-section .form-group input,
.contact-form-section .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-section .form-group input::placeholder,
.contact-form-section .form-group textarea::placeholder {
  color: #a0a0a0;
  opacity: 1;
}

.contact-form-section .form-group input:focus,
.contact-form-section .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.contact-form-section .form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Shared checkbox label styling for consent and quote lists */
.contact-form-section .checkbox-label,
.consent-group .checkbox-label,
.checkbox-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  cursor: pointer;
  user-select: none;
}

.contact-form-section .checkbox-label input[type="checkbox"],
.consent-group .checkbox-label input[type="checkbox"],
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.contact-form-section .checkbox-label span,
.consent-group .checkbox-label span,
.checkbox-row span {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.45;
  position: relative;
  top: -4px;
  margin-left: 5px;
}

.contact-form-section .checkbox-label span a,
.consent-group .checkbox-label span a,
.checkbox-row span a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-form-section .checkbox-label span a:hover,
.consent-group .checkbox-label span a:hover,
.checkbox-row span a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .contact-form-section .checkbox-label span,
  .consent-group .checkbox-label span,
  .checkbox-row span {
    top: -4px;
  }
}

.contact-form-section .checkbox-label {
  margin-bottom: 2rem;
}

.contact-form-section .submit-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contact-form-section .submit-btn {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  width: auto !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form-section .submit-btn:hover {
  background: #d62839 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.contact-form-section .submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3);
}

.contact-form-section .submit-btn i {
  transition: transform 0.3s ease;
}

.contact-form-section .submit-btn:hover i {
  transform: translateX(4px);
}


/* Contact Details Section */
.contact-details-section {
  padding: 60px 0 100px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.details-info-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.details-item h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.4rem;
  font-weight: 700;
}

.details-item p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.details-item i {
  color: var(--primary-color);
}

.details-item a {
  text-decoration: none;
  color: inherit;
}

.company-info-box {
  padding: 0;
}

.company-info-box h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .quick-contact-row {
    justify-content: center;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-btn {
    width: 100%;
  }

  .contact-box {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }



  .hero-text h1 {
    font-size: 1.8rem;
  }
}

/* Homepage hero redesign */
.hero-redesign.banner {
  align-items: stretch;
  background-image:
    linear-gradient(90deg, rgba(4, 18, 30, 0.98) 0%, rgba(4, 18, 30, 0.92) 29%, rgba(4, 18, 30, 0.58) 52%, rgba(4, 18, 30, 0.10) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.18) 100%),
    url('/images/hero/Celbert.png');
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: flex-start;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(96px, 9vh, 135px) clamp(24px, 8vw, 170px) clamp(34px, 5vh, 70px);
  text-align: left;
}

.hero-redesign .banner-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  max-width: min(1040px, 58vw);
  min-height: auto;
  padding: 0;
  text-align: left;
  transform: none;
  width: 100%;
}

.hero-redesign .banner-heading {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin: 0 0 0.65rem;
  max-width: 920px;
  overflow: visible;
  padding: 0;
  position: relative;
}

.hero-redesign .banner h1,
.hero-redesign h1 {
  color: #fff;
  font-size: clamp(2.85rem, 4.05vw, 5.65rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.hero-redesign h1 span {
  color: #ff2438;
  display: inline;
}

.hero-redesign .heading-underline {
  bottom: -0.45rem;
  height: auto;
  left: min(34vw, 570px);
  max-width: 210px;
  position: absolute;
  width: 24%;
}

.hero-redesign .banner-subtitle {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.06vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1.45rem;
  max-width: 880px;
  padding: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.72);
}

.hero-redesign .banner-benefits {
  display: grid;
  gap: clamp(0.75rem, 1vw, 1.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1rem;
  max-width: 980px;
  width: 100%;
}

.hero-redesign .banner-benefit {
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,248,251,.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.30);
  color: #142334;
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: clamp(116px, 8vw, 148px);
  overflow: visible;
  padding: clamp(1rem, 1.15vw, 1.35rem) clamp(1rem, 1.15vw, 1.45rem);
  position: relative;
}

.hero-redesign .benefit-number {
  color: rgba(20, 35, 52, 0.13);
  font-size: clamp(3rem, 3.5vw, 4.9rem);
  font-weight: 900;
  left: 0.7rem;
  letter-spacing: -0.05em;
  line-height: 1;
  position: absolute;
  top: 0.38rem;
  z-index: 0;
}

.hero-redesign .benefit-icon {
  align-items: center;
  background: radial-gradient(circle at 30% 25%, #ff6d79 0%, #ff1f35 52%, #d20f22 100%);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(255, 31, 53, 0.48);
  display: inline-flex;
  height: clamp(62px, 4.4vw, 82px);
  justify-content: center;
  justify-self: center;
  position: relative;
  width: clamp(62px, 4.4vw, 82px);
  z-index: 2;
}

.hero-redesign .benefit-icon img {
  height: 56%;
  width: 56%;
}

.hero-redesign .banner-benefit p {
  font-size: clamp(0.98rem, 1vw, 1.28rem);
  line-height: 1.28;
  margin: 0;
  position: relative;
  z-index: 2;
}

.hero-redesign .banner-benefit strong,
.hero-redesign .banner-benefit span:not(.benefit-number):not(.benefit-icon) {
  display: block;
}

.hero-redesign .banner-benefit strong {
  color: #142334;
  font-weight: 900;
}

.hero-redesign .banner-benefit p span {
  color: #4c5c6f;
  font-weight: 700;
  margin-top: 0.18rem;
}

.hero-redesign .banner-benefit:nth-child(2) p span {
  color: #ff2438;
  font-weight: 900;
}

.hero-redesign .benefit-illustration {
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-redesign .benefit-illustration.blueprint {
  bottom: -1.2rem;
  left: -0.7rem;
  opacity: 0.58;
  width: clamp(95px, 7vw, 135px);
}

.hero-redesign .banner-benefit:nth-child(2) .benefit-illustration.blueprint {
  opacity: 0.42;
}

.hero-redesign .benefit-illustration.calendar {
  bottom: -1.05rem;
  right: -0.65rem;
  width: clamp(72px, 5.2vw, 106px);
}

.hero-redesign .benefit-illustration.hardhat {
  bottom: -1.35rem;
  right: -0.75rem;
  width: clamp(115px, 8.4vw, 170px);
}

.hero-redesign .benefit-accent {
  position: absolute;
  right: 0.8rem;
  top: 1rem;
  width: 36px;
  z-index: 3;
}

.hero-redesign .banner-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-start;
  margin: 0.2rem 0 1.15rem;
}

.hero-redesign .hero-cta {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  font-size: clamp(1.05rem, 1.08vw, 1.32rem);
  font-weight: 900;
  gap: 0.85rem;
  justify-content: center;
  min-height: 68px;
  padding: 1rem 1.75rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-redesign .hero-cta:hover {
  transform: translateY(-2px);
}

.hero-redesign .hero-cta img {
  flex: 0 0 auto;
  height: 34px;
  width: 34px;
}

.hero-redesign .hero-cta-primary {
  background: #ff1f35;
  box-shadow: 0 14px 32px rgba(255, 31, 53, 0.34);
  color: #fff;
  min-width: min(100%, 455px);
}

.hero-redesign .hero-cta-primary:hover {
  background: #e63946;
}

.hero-redesign .hero-cta-primary .cta-arrow {
  height: 23px;
  margin-left: 0.25rem;
  width: 23px;
}

.hero-redesign .hero-cta-secondary {
  background: #fff;
  border: 3px solid #ff1f35;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  color: #ff1f35;
  min-width: min(100%, 320px);
}

.hero-redesign .hero-trust {
  align-items: center;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.25rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.72);
}

.hero-redesign .trust-item {
  align-items: center;
  display: inline-flex;
  font-size: clamp(0.92rem, 0.95vw, 1.12rem);
  font-weight: 800;
  gap: 0.65rem;
  line-height: 1.25;
  min-height: 38px;
  position: relative;
}

.hero-redesign .trust-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.58);
  content: '';
  height: 26px;
  margin-left: 1.1rem;
  width: 2px;
}

.hero-redesign .trust-item img {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3));
  height: 34px;
  width: 34px;
}

.hero-caption {
  color: #102234;
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 3rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.04;
  position: absolute;
  right: clamp(60px, 7vw, 155px);
  text-align: center;
  text-shadow: 0 2px 0 rgba(255,255,255,.35);
  top: clamp(120px, 17vh, 210px);
  transform: rotate(-7deg);
  z-index: 1;
}

.hero-caption img {
  display: block;
  margin: 0.3rem auto 0;
  width: clamp(70px, 6vw, 115px);
}

@media (max-width: 1200px) {
  .hero-redesign.banner {
    padding-left: 38px;
    padding-right: 38px;
  }

  .hero-redesign .banner-content {
    max-width: 760px;
  }

  .hero-redesign .banner-benefits {
    grid-template-columns: 1fr;
    max-width: 610px;
  }

  .hero-redesign .banner-benefit {
    grid-template-columns: 86px 1fr;
  }

  .hero-caption {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-redesign.banner {
    background-image:
      linear-gradient(180deg, rgba(4, 18, 30, 0.95) 0%, rgba(4, 18, 30, 0.88) 48%, rgba(4, 18, 30, 0.70) 100%),
      url('/images/hero/backgrounds/house-mobile-900x1200.webp');
    background-position: center top;
    min-height: auto;
    padding: 112px 18px 42px;
  }

  .hero-redesign .banner-content {
    max-width: none;
  }

  .hero-redesign .banner-heading {
    margin-bottom: 1rem;
  }

  .hero-redesign h1 {
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: 1.02;
  }

  .hero-redesign .heading-underline {
    left: 42%;
    width: 36%;
  }

  .hero-redesign .banner-subtitle {
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
  }

  .hero-redesign .banner-benefits {
    gap: 0.9rem;
    margin-bottom: 1.2rem;
  }
}

