/* Core Styles and Variables */
:root {
    --primary: #0056b3;
    --secondary: #333;
    --accent: #ff6b00;
    --light: #f8f9fa;
    --dark: #212529;
    --gradient-primary: linear-gradient(135deg, #0056b3, #007bff);
    --gradient-accent: linear-gradient(135deg, #ff6b00, #ff9500);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #fff;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .section-header h2 span {
    color: var(--accent);
  }
  
  .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
  }
  
  .primary-btn {
    background: var(--gradient-accent);
    color: white;
  }
  
  .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  .secondary-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
  }
  
  .secondary-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
  }
  /* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
  }
  
  /* Logo styles for scrolled navigation */
  nav.scrolled .logo-img {
    height: 40px;
  }
  
  /* Responsive logo styles */
  @media (max-width: 992px) {
    .logo-img {
      height: 40px;
    }
  }
  
  @media (max-width: 768px) {
    .logo-img {
      height: 35px;
    }
  }
  
  @media (max-width: 576px) {
    .logo-img {
      height: 30px;
    }
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Mobile navigation styles */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
      margin-right: 10px;
    }
    
    .nav-container {
      padding: 0 15px;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(33, 37, 41, 0.95);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
    }
    
    .nav-links.active {
      opacity: 1;
      visibility: visible;
    }
    
    .nav-link {
      display: block;
      margin: 15px 0;
      font-size: 22px;
      text-align: center;
      transform: translateY(10px);
      opacity: 0;
      transition: all 0.3s ease;
      color: white;
      padding: 10px 30px;
      border-radius: 4px;
    }
    
    .nav-link:hover {
      color: var(--accent);
      background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active .nav-link {
      opacity: 1;
      transform: translateY(0);
    }
    
    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
    
    /* Close button for mobile menu */
    .menu-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .menu-close::before,
    .menu-close::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 25%;
      width: 50%;
      height: 2px;
      background-color: white;
      transition: all 0.3s ease;
    }
    
    .menu-close::before {
      transform: rotate(45deg);
    }
    
    .menu-close::after {
      transform: rotate(-45deg);
    }
    
    .menu-close:hover {
      background: rgba(255, 255, 255, 0.3);
    }
    
    .menu-close:hover::before,
    .menu-close:hover::after {
      background-color: var(--accent);
    }
  }
  
  /* Header/Hero Section */
  header {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hero-content {
    flex: 1;
    max-width: 600px;
  }
  
  .glitch-text {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    color: white;
  }
  
  .glitch-text::before,
  .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff6b00;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
  }
  
  .glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #0056b3;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
  }
  
  @keyframes glitch-anim {
    0% {
      clip: rect(31px, 9999px, 94px, 0);
    }
    10% {
      clip: rect(112px, 9999px, 76px, 0);
    }
    20% {
      clip: rect(85px, 9999px, 77px, 0);
    }
    30% {
      clip: rect(137px, 9999px, 61px, 0);
    }
    40% {
      clip: rect(115px, 9999px, 49px, 0);
    }
    50% {
      clip: rect(40px, 9999px, 18px, 0);
    }
    60% {
      clip: rect(58px, 9999px, 78px, 0);
    }
    70% {
      clip: rect(42px, 9999px, 96px, 0);
    }
    80% {
      clip: rect(117px, 9999px, 29px, 0);
    }
    90% {
      clip: rect(30px, 9999px, 99px, 0);
    }
    100% {
      clip: rect(68px, 9999px, 27px, 0);
    }
  }
  
  @keyframes glitch-anim2 {
    0% {
      clip: rect(129px, 9999px, 36px, 0);
    }
    10% {
      clip: rect(36px, 9999px, 4px, 0);
    }
    20% {
      clip: rect(114px, 9999px, 34px, 0);
    }
    30% {
      clip: rect(1px, 9999px, 120px, 0);
    }
    40% {
      clip: rect(15px, 9999px, 54px, 0);
    }
    50% {
      clip: rect(138px, 9999px, 10px, 0);
    }
    60% {
      clip: rect(53px, 9999px, 74px, 0);
    }
    70% {
      clip: rect(148px, 9999px, 90px, 0);
    }
    80% {
      clip: rect(56px, 9999px, 39px, 0);
    }
    90% {
      clip: rect(124px, 9999px, 18px, 0);
    }
    100% {
      clip: rect(61px, 9999px, 97px, 0);
    }
  }
  
  .tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .highlight {
    color: var(--accent);
    font-weight: 600;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
  }
  
  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .rotating-model {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
  }
  
  @keyframes rotate {
    0% {
      transform: rotateX(0) rotateY(0);
    }
    100% {
      transform: rotateX(360deg) rotateY(360deg);
    }
  }
  
  .model-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
  }
  
  .front {
    transform: translateZ(150px);
    background: url('assets/COMMERCIAL/HAIRE.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .back {
    transform: rotateY(180deg) translateZ(150px);
    background: url('assets/INDUSTRIAL/SEIMENS-PROJECT.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .left {
    transform: rotateY(-90deg) translateZ(150px);
    background: url('assets/PEMB/YCLD.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .right {
    transform: rotateY(90deg) translateZ(150px);
    background: url('assets/INDUSTRIAL/Boiler.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .top {
    transform: rotateX(90deg) translateZ(150px);
    background: url('assets/COMMERCIAL/senegal_comb1.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .bottom {
    transform: rotateX(-90deg) translateZ(150px);
    background: url('assets/PEMB/DSC00977.JPG');
    background-size: cover;
    background-position: center;
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
  }
  
  .wheel {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
  }
  
  @keyframes scroll {
    0% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
  }
  
  .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
  }
  
  .arrow span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .arrow span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes arrow {
    0% {
      opacity: 0;
      transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: rotate(45deg) translate(5px, 5px);
    }
  }
  /* Services Section */
.services {
    background-color: var(--light);
    position: relative;
    z-index: 1;
  }
  
  .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    width: 60%;
  }
  
  .divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    flex-grow: 1;
  }
  
  .divider-icon {
    margin: 0 15px;
    color: var(--accent);
    font-size: 1.5rem;
    animation: spin 8s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .service-card {
    background-color: transparent;
    perspective: 1000px;
    height: 500px;
  }
  
  .service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
  }
  
  .service-card:hover .service-card-inner {
    transform: rotateY(180deg);
  }
  
  .service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .service-card-front {
    background: white;
    color: var(--dark);
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .service-card-back {
    background: white;
    color: var(--dark);
    transform: rotateY(180deg);
    border: 1px solid rgba(0,0,0,0.05);
    justify-content: space-between;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
  }
  
  .service-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .service-card h4 {
    text-align: center;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .service-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 86, 179, 0.3);
  }
  
  .service-card p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
  }
  
  .service-features li i {
    color: var(--accent);
    margin-right: 0.8rem;
    font-size: 1.1rem;
  }
  
  .service-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
  }
  
  .services-cta {
    text-align: center;
    background: rgba(255, 107, 0, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
  }
  
  .services-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
  }
  
  /* Projects Section */
  .projects {
    background-color: white;
  }
  
  .project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
  }
  
  .project-card:hover .project-overlay {
    opacity: 1;
  }
  
  .project-category {
    color: white;
    background: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .project-link {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
  }
  
  .project-link:hover {
    background: var(--primary);
  }
  
  .project-info {
    padding: 1.5rem;
    background: white;
  }
  
  .project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
  }
  
  .project-info p {
    color: #666;
    font-size: 0.9rem;
  }
  /* Projects Section */
.projects {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTEgMTFhNSA1IDAgMCAxIDAtMTAgNSA1IDAgMCAxIDAgMTBabTUwLTVhNSA1IDAgMCAwLTEwIDAgNSA1IDAgMCAwIDEwIDBaTTExIDYxYTUgNSAwIDAgMSAwLTEwIDUgNSAwIDAgMSAwIDEwWm01MC01YTUgNSAwIDAgMC0xMCAwIDUgNSAwIDAgMCAxMCAwWiIgZmlsbD0iI2YwZjBmMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+');
  opacity: 0.3;
  z-index: -1;
}

.row-header {
  margin: 2.5rem 0 1.5rem;
  position: relative;
  text-align: left;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.row-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  color: white;
  background: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.project-link {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.project-link:hover {
  background: var(--primary);
  transform: rotate(45deg);
}

.project-info {
  padding: 1.5rem;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-info h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.project-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.project-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Tablet responsiveness */
@media (max-width: 992px) {
  .container {
    width: 90%;
    padding: 0 15px;
  }
  
  .project-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-container {
    padding: 0.8rem 1rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-link {
    margin-left: 1.5rem;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .project-showcase {
    grid-template-columns: 1fr;
  }
  
  .row-header h3 {
    font-size: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content .tagline {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .section-divider {
    margin: 1.5rem auto;
  }
  
  header {
    height: 80vh;
  }
}

/* About Section */
.about {
    background-color: var(--light);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .highlight-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .about-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: var(--dark);
    font-weight: 500;
  }
  
  .software-logos {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .software-logo-container {
    position: relative;
  }
  
  .software-logo {
    height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
  }
  
  .software-logo:hover {
    filter: grayscale(0%);
  }
  
  .logo-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
  }
  
  .logo-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
  }
  
  .software-logo-container:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
  }
  
  /* Software logo icon fallback */
  .software-icon-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: all 0.3s ease;
  }
  
  .software-icon-fallback i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
  }
  
  .software-icon-fallback span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
  }
  
  .software-logo-container:hover .software-icon-fallback {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
  }
  
  .image-stack {
    position: relative;
    width: 100%;
    height: 400px;
  }
  
  .stack-img {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  
  .img-back {
    top: 0;
    right: 0;
    z-index: 1;
  }
  
  .img-front {
    bottom: 0;
    left: 0;
    z-index: 2;
  }
  
  .about-content:hover .img-back {
    transform: translate(-10px, 10px);
  }
  
  .about-content:hover .img-front {
    transform: translate(10px, -10px);
  }
  
  /* Testimonials Section */
  .testimonials {
    background-color: white;
    position: relative;
  }
  
  .testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 250px;
  }
  
  .testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
  }
  
  .testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
  }
  
  .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .author-name {
    font-weight: 600;
    color: var(--dark);
  }
  
  .author-title {
    font-size: 0.9rem;
    color: #666;
  }
  
  .testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
  }
  
  .control-prev,
  .control-next {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .control-prev:hover,
  .control-next:hover {
    background: var(--accent);
    color: white;
  }
  
  .control-indicators {
    display: flex;
    gap: 0.5rem;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .indicator.active {
    background: var(--accent);
    transform: scale(1.3);
  }
  
  /* Contact Section */
  .contact {
    background-color: var(--light);
  }
  
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
  
  /* Contact section mobile styles */
  @media (max-width: 992px) {
    .contact-wrapper {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
  
  .contact-info {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
  }
  
  @media (max-width: 768px) {
    .contact-info {
      padding: 1.5rem;
    }
    
    .contact-info-wrapper {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
  }
  
  .contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
  
  @media (max-width: 768px) {
    .contact-method {
      margin-bottom: 1.5rem;
    }
    
    .contact-details h3 {
      font-size: 1.1rem;
    }
    
    .contact-details p {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 576px) {
    .contact-method {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .contact-icon {
      margin-right: 0;
      margin-bottom: 1rem;
      width: 45px;
      height: 45px;
    }
    
    .social-links {
      justify-content: center;
    }
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: var(--accent);
    font-size: 1.2rem;
  }
  
  .contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark);
    transition: var(--transition);
  }
  
  .social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
  }
  
  .contact-form-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .form-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
  }
  
  .form-subtitle {
    color: #666;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  @media (max-width: 768px) {
    .contact-form {
      padding: 1.5rem;
    }
    
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
      margin-bottom: 0;
    }
    
    .form-group {
      margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
      padding: 0.7rem;
      font-size: 0.95rem;
    }
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
  }
  
  .form-group textarea {
    height: 150px;
    resize: vertical;
  }
  
  .submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .btn-icon {
    transition: var(--transition);
  }
  
  .submit-btn:hover .btn-icon {
    transform: translateX(5px);
  }
  /* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }
  
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .footer-logo-link:hover {
    transform: translateY(-5px);
  }
  
  .footer-logo-img {
    height: 300px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
  }
  
  .footer-logo-link:hover .footer-logo-img {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
  }
  
  /* Footer logo responsive styles */
  @media (max-width: 992px) {
    .footer-logo-img {
      height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-logo-img {
      height: 200px;
    }
  }
  
  @media (max-width: 576px) {
    .footer-logo-img {
      height: 150px;
    }
  }
  
  .footer-tagline {
    margin-bottom: 1.5rem;
    color: #aaa;
  }
  
  .footer-nav {
    display: flex;
    gap: 2rem;
  }
  
  .footer-nav a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-nav a:hover {
    color: var(--accent);
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
  }
  
  .footer-legal {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-legal a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-legal a:hover {
    color: white;
  }
  
  /* Custom Cursor */
  .cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    display: none;
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .hero-content {
      max-width: 500px;
    }
    
    .glitch-text {
      font-size: 3rem;
    }
    
    .rotating-model {
      width: 250px;
      height: 250px;
    }
    
    .model-face {
      width: 250px;
      height: 250px;
    }
    
    .front, .back, .left, .right, .top, .bottom {
      transform: translateZ(125px);
    }
    
    .back {
      transform: rotateY(180deg) translateZ(125px);
    }
    
    .left {
      transform: rotateY(-90deg) translateZ(125px);
    }
    
    .right {
      transform: rotateY(90deg) translateZ(125px);
    }
    
    .top {
      transform: rotateX(90deg) translateZ(125px);
    }
    
    .bottom {
      transform: rotateX(-90deg) translateZ(125px);
    }
  }
  
  @media (max-width: 992px) {
    header .container {
      flex-direction: column;
      text-align: center;
    }
    
    .hero-content {
      max-width: 100%;
      margin-bottom: 3rem;
    }
    
    .cta-buttons {
      justify-content: center;
    }
    
    .about-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .about-visual {
      order: -1;
    }
    
    .contact-wrapper {
      grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
      height: 300px;
    }
    
    .service-card {
      flex: 0 0 calc(50% - 20px);
    }
    
    .services-grid {
      gap: 20px;
    }
    
    .service-card-front h3 {
      font-size: 1.1rem;
    }
    
    .service-features li {
      font-size: 0.85rem;
      margin-bottom: 0.4rem;
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .menu-toggle {
      display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    
    .glitch-text {
      font-size: 2.5rem;
    }
    
    .rotating-model {
      width: 200px;
      height: 200px;
    }
    
    .model-face {
      width: 200px;
      height: 200px;
    }
    
    .front, .back, .left, .right, .top, .bottom {
      transform: translateZ(100px);
    }
    
    .back {
      transform: rotateY(180deg) translateZ(100px);
    }
    
    .left {
      transform: rotateY(-90deg) translateZ(100px);
    }
    
    .right {
      transform: rotateY(90deg) translateZ(100px);
    }
    
    .top {
      transform: rotateX(90deg) translateZ(100px);
    }
    
    .bottom {
      transform: rotateX(-90deg) translateZ(100px);
    }
    
    .project-showcase {
      grid-template-columns: 1fr;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-legal {
      justify-content: center;
    }
  }
  
  @media (max-width: 576px) {
    .section-header h2 {
      font-size: 2rem;
    }
    
    .glitch-text {
      font-size: 2rem;
    }
    
    .tagline {
      font-size: 1.1rem;
    }
    
    .cta-buttons {
      flex-direction: column;
      gap: 1rem;
    }
    
    .cta-buttons .btn {
      width: 100%;
    }
    
    .form-row {
      grid-template-columns: 1fr;
    }
    
    .testimonial-quote {
      font-size: 1rem;
    }
    
    .footer-nav {
      flex-wrap: wrap;
      gap: 1rem;
    }
  }
  
  /* Form message styling */
  .form-message {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: opacity 0.3s ease;
  }
  
  .form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
  }
  
  .form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
  }
  
  /* Navigation scrolled state */
  nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.7rem 0;
  }
  
  /* Service hover states */
  body[data-active-service="drafting"] {
    --service-color: #0056b3;
  }
  
  body[data-active-service="modeling"] {
    --service-color: #ff6b00;
  }
  
  body[data-active-service="steel"] {
    --service-color: #28a745;
  }
  
  body[data-active-service="bim"] {
    --service-color: #6610f2;
  }
  
  body[data-active-service] .cursor-follower {
    background-color: rgba(var(--service-color, 255, 107, 0), 0.2);
  }
  
  /* Project Estimator Section */
  .project-estimator {
    background: linear-gradient(135deg, rgba(245, 247, 250, 1) 0%, rgba(230, 235, 245, 1) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }

  .project-estimator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDBoNDB2NDBoLTQweiIvPjxwYXRoIGQ9Ik0zMCAyMGExIDEgMCAxIDEgMC0yIDEgMSAwIDAgMSAwIDJtLTEwIDBhMSAxIDAgMSAxIDAtMiAxIDEgMCAwIDEgMCAybS0xMCAwYTEgMSAwIDEgMSAwLTIgMSAxIDAgMCAxIDAgMm0xMC0xMGExIDEgMCAxIDEgMC0yIDEgMSAwIDAgMSAwIDJtMC0xMGExIDEgMCAxIDEgMC0yIDEgMSAwIDAgMSAwIDJtMCAzMGExIDEgMCAxIDEgMC0yIDEgMSAwIDAgMSAwIDJtMTAtMTBhMSAxIDAgMSAxIDAtMiAxIDEgMCAwIDEgMCAybS0xMC0xMGExIDEgMCAxIDEgMC0yIDEgMSAwIDAgMSAwIDJtLTEwIDEwYTEgMSAwIDEgMSAwLTIgMSAxIDAgMCAxIDAgMiIgZmlsbD0iIzAwNTZiMyIgZmlsbC1vcGFjaXR5PSIuMDUiLz48L2c+PC9zdmc+');
    opacity: 0.5;
    z-index: -1;
  }
  
  .estimator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .estimator-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .estimator-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .estimator-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 2;
  }
  
  #type-value {
    position: relative;
  }

  .service-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 3;
  }

  .select-wrapper {
    position: relative;
    width: 100%;
    display: block;
  }

  .select-wrapper select {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9f9f9;
    background-image: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
    border: 1px solid rgba(0, 86, 179, 0.15);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .select-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
  }

  .select-wrapper select:hover {
    border-color: var(--primary);
  }

  .select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    font-size: 0.85rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
  }
  
  .estimator-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
  }
  
  .estimator-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  }
  
  .estimator-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    margin: 1rem 0;
  }
  
  .estimator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .estimator-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.3);
  }
  
  .range-value {
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .engineering-context {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    background-color: rgba(0, 86, 179, 0.05);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 2px solid var(--primary);
  }
  
  .complexity-options, .timeline-options {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }
  
  .complexity-option, .timeline-option {
    flex: 1;
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    position: relative;
    overflow: visible;
  }
  
  .option-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 95%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
  }
  
  .option-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .complexity-option:hover .option-tooltip,
  .timeline-option:hover .option-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .complexity-option i, .timeline-option i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #888;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  
  .complexity-option span, .timeline-option span {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
  }
  
  .complexity-option.active, .timeline-option.active {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    box-shadow: 0 3px 8px rgba(0, 86, 179, 0.1);
  }
  
  .complexity-option.active i, .timeline-option.active i {
    color: var(--primary);
  }
  
  .complexity-option:hover, .timeline-option:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
  }

  .timeline-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f0f0f0;
    position: relative;
  }

  .timeline-option.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNODUgMTVMMTUgODUiIHN0cm9rZT0icmVkIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
  }

  .timeline-option.disabled:hover {
    transform: none;
  }
  
  .estimate-result {
    position: relative;
  }
  
  .estimate-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }

  .estimate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .estimate-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 1.8rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .estimate-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 1;
  }
  
  .estimate-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
  }
  
  .estimate-header p {
    opacity: 0.8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
  }
  
  .estimate-body {
    padding: 2rem;
    flex: 1;
  }
  
  .estimate-price {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }

  .estimate-price::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }
  
  #estimate-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    display: block;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .estimate-disclaimer {
    font-size: 0.9rem;
    color: #888;
    display: block;
    margin-top: 0.5rem;
  }
  
  .estimate-details {
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 1.2rem;
    max-height: 450px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  
  .estimate-details::-webkit-scrollbar {
    width: 6px;
  }
  
  .estimate-details::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .estimate-details::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  
  .estimate-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .estimate-detail:last-child {
    border-bottom: none;
  }
  
  .detail-label {
    font-weight: 500;
    color: var(--dark);
  }
  
  .detail-value {
    font-weight: 600;
    color: var(--primary);
    max-width: 70%;
    text-align: right;
    line-height: 1.5;
  }
  
  #scope-value, #drawings-value {
    font-size: 0.9rem;
  }
  
  .estimate-note {
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    border-left: 3px solid var(--accent);
    margin-top: 1rem;
  }
  
  .estimate-note i {
    color: var(--accent);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
  }
  
  .estimate-note p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }

  .estimate-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .estimate-note a:hover {
    color: var(--accent);
    text-decoration: underline;
  }
  
  .estimate-cta {
    padding: 1.5rem;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .estimate-cta .btn {
    transition: all 0.3s ease;
  }

  .estimate-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Tablet and mobile responsiveness for estimator */
  @media (max-width: 992px) {
    .estimator-wrapper {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .estimate-price #estimate-value {
      font-size: 2.4rem;
    }
    
    .detail-value {
      max-width: 65%;
      font-size: 0.9rem;
    }
    
    #scope-value, #drawings-value {
      font-size: 0.85rem;
    }
  }
  
  /* Mobile specific styles for estimator */
  @media (max-width: 768px) {
    .option-tooltip {
      /* Make tooltips work better on touch devices */
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      width: 100%;
      margin-top: 0.5rem;
      font-size: 0.7rem;
      background-color: rgba(0, 0, 0, 0.6);
    }
    
    .option-tooltip::before {
      display: none; /* Remove tooltip arrow */
    }
    
    .complexity-option, .timeline-option {
      padding-bottom: 1.5rem;
      margin-bottom: 0.5rem;
    }
    
    .engineering-metrics {
      font-size: 0.8rem;
      padding: 0.6rem;
    }
    
    .estimate-details {
      max-height: none;
      overflow-y: visible;
    }
    
    .estimate-price #estimate-value {
      font-size: 2rem;
      line-height: 1.3;
    }
  }
  
  @media (max-width: 576px) {
    .complexity-options, .timeline-options {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .complexity-option, .timeline-option {
      margin: 0;
    }
    
    .estimate-detail {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .detail-label {
      margin-bottom: 0.3rem;
      color: var(--accent);
    }
    
    .detail-value {
      max-width: 100%;
      text-align: left;
    }
    
    .range-value {
      font-size: 1rem;
    }
    
    .engineering-context {
      font-size: 0.8rem;
    }
    
    .estimator-form::before {
      height: 3px;
    }
  }
  
  /* Navigation mobile fixes */
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.95);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: right 0.3s ease;
      z-index: 999;
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .nav-link {
      margin: 1rem 0;
      font-size: 1.2rem;
      color: white;
    }
    
    .menu-toggle {
      display: block;
      z-index: 1000;
    }
    
    .cursor-follower {
      display: none !important;
    }
    
    .about-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .footer-top {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-logo {
      margin-bottom: 1rem;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
    }
  }
  
  /* Pulse animation for estimate card */
  @keyframes pulse {
    0% {
      box-shadow: var(--shadow-lg);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 15px 35px rgba(50, 50, 93, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
      transform: scale(1.02);
    }
    100% {
      box-shadow: var(--shadow-lg);
      transform: scale(1);
    }
  }
  
  .engineering-metrics {
    background-color: #f0f6ff;
    border-radius: var(--border-radius);
    padding: 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 86, 179, 0.2);
    line-height: 1.6;
  }
  
  .engineering-metrics strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
  }
  
  .pulse-animation {
    animation: pulse 1s ease-in-out;
  }
  
  /* Add estimator to navigation */
  .nav-links a[href="#estimator"] {
    position: relative;
    overflow: hidden;
  }
  
  .nav-links a[href="#estimator"]::after {
    content: 'New';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 700;
    animation: pulse 2s infinite;
  }