/* ==================== FONT IMPORTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700&family=Roboto:wght@500&family=Inter:wght@400;500;600;700&display=swap');

/* ==================== CSS CUSTOM PROPERTIES ==================== */
:root {
  --primary-color: #5AA3D6;
  --text-dark: #333333;
  --text-black: #000000;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --gray-bg: #cccccc;
  --gray-light: #f0f0f0;
  --border-color: #ccc;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --max-width: 1440px;
  --header-height: 95px;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
  box-sizing: border-box;
}

body {
  padding-top: var(--header-height);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.container-max { max-width: var(--max-width); margin: 0 auto; }
.transition-default { transition: var(--transition); }
.highlight-text { color: var(--primary-color); }

/* Common button styles */
.btn-primary {
  background-color: var(--text-black);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #333333;
  text-decoration: none;
  color: var(--white);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: var(--transition);
}

/* Hide mobile menu header on desktop */
@media (min-width: 992px) {
  .mobile-menu-header {
    display: none !important;
  }
}

.navbar {
  max-width: 100%;
  height: var(--header-height);
  padding: 20px 30px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white) !important;
  position: relative;
  z-index: 100;
}

.nav-menu {
  width: auto;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: flex-end; 
}

.nav-menu .nav-item {
  margin-right: 40px;
}

.nav-menu .nav-item:last-child {
  margin-right: 0;
}

.nav-menu .nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dark);
  padding: 50px 0;
  transition: color 0.3s ease;
}

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

.nav-menu .nav-link.active {
  max-width: none;
  height: 42px;
  padding: 10px 20px;
  gap: 10px;
  background: var(--text-black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-menu .nav-link.active:hover {
  color: var(--white);
}

/* Mobile navigation */
.navbar-collapse {
  transition: all 0.3s ease;
}

.navbar-toggler {
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.25rem 0.5rem;
  outline: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem rgba(0,0,0,0.1);
}

.navbar-toggler:hover {
  border-color: var(--primary-color);
}

.navbar-toggler[aria-expanded="true"] {
  border-color: var(--primary-color);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  width: 100%;
  max-width: 100%;
  height: 1000px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  z-index: 1;
}

.hero-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero text overlays */
.hero-text-overlay {
  position: absolute;
    top: 40px;
    left: 40px;
    transform: none; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0;
  opacity: 0;
    transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-text-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.text-container {
  background-color: var(--white);
    width: fit-content;
    padding: 20px;
    margin: 0;
    display: inline-block;
    position: relative;
}

.elegance-container {
    position: relative;
}

.continuation-text {
    opacity: 0;
    animation: fadeInWithBackground 0.1s linear forwards;
    animation-delay: 2s;
    position: absolute;
    left: calc(100% - 20px);
    top: 0;
    display: inline-block;
    background-color: transparent;
  padding: 20px 15px;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 68px;
    line-height: 1;
    letter-spacing: -2px;
    height: 100%;
    box-sizing: border-box;
}

.efficiency-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
  padding: 0;
}

/* Sequential text animations */
.sequential-container {
  overflow: visible;
  position: relative;
}

.sequential-text {
  position: absolute;
  left: 20px;
  opacity: 0;
  white-space: nowrap;
  background-color: transparent;
  padding: 20px;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 68px;
  line-height: 1;
}

.first-text {
  animation: fadeInWithBackground 2s forwards;
  animation-delay: 2s;
}

.slide2-text {
  position: absolute;
  top: calc(40px + 68px + 20px);
  left: 40px;
  opacity: 0;
  z-index: 10;
  visibility: hidden;
  padding: 0;
  background-color: transparent;
  margin-top: 20px;
  transition: opacity 1s ease;
}

.slide2-text .efficiency-title {
  margin: 0;
  padding: 0;
}

.slide2-text .sequential-text {
  position: relative;
  left: 0;
  padding: 20px;
  display: inline-block;
  opacity: 1;
  background-color: var(--white);
}

.hero-slide:nth-child(4).active ~ .slide2-text {
  visibility: visible;
  opacity: 1;
}

/* Hero text customizations */
.hero-text-2 .text-container {
  padding: 20px;
  background-color: var(--white);
  display: inline-block;
  width: auto;
  height: fit-content;
  box-sizing: border-box;
}

.hero-text-2 .text-container:first-child {
  padding: 20px;
  margin: 0;
}

.hero-text-2 .text-container:first-child .highlight-text {
  display: inline-block;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 68px;
    line-height: 1;
    letter-spacing: -2px;
  padding: 0;
  height: auto;
}

.hero-text-2 .efficiency-title {
    margin: 0;
    padding: 0;
  height: fit-content;
  line-height: 1;
}

/* ==================== MAIN CONTENT SECTIONS ==================== */

/* Vision Section */
.vision-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 745px;
  margin: 0 auto;
  padding: 160px 0;
  display: flex;
  justify-content: flex-start;
}

.vision-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 21px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.vision-image {
  flex: 0 0 40%;
  max-width: auto;
  height: 385px;
  background-color: var(--gray-bg);
  margin: 0;
  padding: 0;
  background-size: contain; 
  background-position: center center;
  background-repeat: no-repeat;
}

.vision-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0 10px 0 20px;
}

.vision-text h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 1.65;
  letter-spacing: 0%;
  color: var(--text-black);
  margin: 0;
  text-align: left;
}

/* Portfolio Header Section */
.portfolio-header-section {
  width: 100%;
  max-width: var(--max-width);
  padding: 80px 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.portfolio-header-section .header-title {
  flex: 0 0 65%;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 56.25px;
  letter-spacing: 0%;
}

.portfolio-header-section .header-title span.highlight {
  color: var(--primary-color);
}

.portfolio-header-section .header-title span.normal {
  color: var(--text-black);
}

.portfolio-header-section .header-description {
  padding-right: 20px;
}

.portfolio-header-section .header-description .portfolio-button {
  width: auto;
  height: 42px;
  padding: 14px 10px;
  background-color: var(--text-black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  line-height: 14px;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.portfolio-header-section .header-description .portfolio-button:hover {
  background-color: #333333;
}

/* Portfolio Projects Section */
.portfolio-projects-section {
  width: 100%;
  padding: 40px 20px;
  height: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 440px 441px 460px;
  grid-template-rows: auto;
  gap: 20px;
  justify-content: center;
}

.portfolio-item {
  position: relative;
  background-color: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio item dimensions */
.portfolio-1 { width: 440px; height: 520px; grid-column: 1; grid-row: 1; }
.portfolio-2 { width: 440px; height: 623px; grid-column: 1; grid-row: 2; margin-top: -235px; }
.portfolio-3 { width: 441px; height: 754px; grid-column: 2; grid-row: 1; }
.portfolio-4 { width: 440px; height: 521px; grid-column: 2; grid-row: 2; }
.portfolio-5 { width: 440px; height: 623px; grid-column: 3; grid-row: 1; }
.portfolio-6 { width: 440px; height: 521px; grid-column: 3; grid-row: 2; margin-top: -135px; }

.portfolio-label {
 position: absolute;
    bottom: 0;
    left: 0;
  width: fit-content;
  min-width: 100px;
  max-width: 90%;
    height: 75px;
  padding: 10px;
  background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.portfolio-title {
width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: -0.2px;
    vertical-align: middle;
  text-align: left;
  color: var(--text-black);
}

.portfolio-description {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
  font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
  text-align: left;
}

/* Experience Section */
.experience-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 853px;
  margin: 0 auto;
  padding: 160px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.experience-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 21px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.experience-text {
  flex: 0 0 34%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 20px;
}

.experience-text h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 1.25;
  letter-spacing: -0.2%;
  color: var(--text-black);
  margin-bottom: 40px;
}

.experience-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.5px;
  color: var(--text-black);
}

.contact-button {
  width: auto;
  height: 42px;
  padding: 14px 30px;
  background-color: var(--text-black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  line-height: 14px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
  align-self: flex-start;
    text-decoration: none;
}

.contact-button:hover {
  background-color: #333333;
}

.experience-image {
  flex: 0 0 65%;
  max-width: 940px;
  height: 533px;
  background-color: var(--gray-bg);
  margin: 0;
  padding: 0;
  align-self: stretch;
}

/* Inspired Section */
.inspired-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 1179px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: flex-start;
}

.inspired-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 21px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.inspired-image {
  flex: 0 0 253px;
  max-width: 253px;
  width: 253px;
  height: 1179px;
  background-color: var(--gray-bg);
  margin: 0;
  padding: 0;
  align-self: stretch;
  background-position: 50% center !important;
}

.inspired-text {
  flex: 1;
  max-width: calc(100% - 273px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  padding: 0 0 0 20px;
  flex-direction: column;
  gap: 60px;
}

.inspired-text h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 56.25px;
  letter-spacing: -0.2%;
  vertical-align: middle;
  color: var(--text-black);
  margin-bottom: 40px;
}

.inspired-text h2 .highlight {
  color: var(--primary-color);
}

.inspired-content-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inspired-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 36.4px;
  letter-spacing: -0.2px;
  vertical-align: middle;
  color: var(--text-black);
  margin-bottom: 0;
}

.inspired-text-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--text-black);
}

/* Unique Solution Section */
.unique-solution-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 401px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.unique-solution-container {
  width: 100%;
  max-width: 1360px;
  padding: 20px 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.unique-solution-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 56.25px;
  letter-spacing: -0.2%;
  color: var(--text-black);
}

.unique-solution-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--text-black);
  max-width: 600px;
}

/* ==================== CONTACT PAGE STYLES ==================== */
.contact-section .contact-container {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 300px;
  position: relative;
  top: var(--header-height);
  margin: 0 auto;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.contact-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 56.25px;
  letter-spacing: -0.2px;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 30px;
}

.contact-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form-container {
  width: 100%;
  max-width: 864px;
  height: auto;
  position: relative;
  top: var(--header-height);
  left: 0;
  transform: none;
  margin: 0 auto;
  gap: 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

.form-group {
  flex: 1;
}

.form-control {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 143%;
  letter-spacing: -0.2%;
  width: 100%;
  height: 48px;
  border: 1.2px solid var(--border-color);
  padding: 0 15px;
  box-sizing: border-box;
  border-radius: 0;
}

.form-control-message {
  width: 100%;
  height: 186px;
  border: 1.2px solid var(--border-color);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 143%;
  letter-spacing: -0.2%;
  padding: 15px;
  resize: none;
  box-sizing: border-box;
  border-radius: 0;
}

.form-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}

.questions-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 200px;
  margin-top: 150px;
  gap: 40px;
  padding: 40px 20px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.questions-header {
  font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 35px;
    line-height: 56.25px;
    letter-spacing: -0.2px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
}

.contact-info p {
  font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    margin: 0;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
    padding: 0 15px;
  }
  
/* ==================== SERVICES PAGE STYLES ==================== */
.services-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.services-title {
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-item {
  margin-bottom: 20px;
  padding: 0.5rem 0;
}

.service-item.row {
    display: flex;
    flex-direction: column;
  position: relative;
}

.service-item .service-title {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  padding-bottom: 10px;
}

.service-item .service-description {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.service-title h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 55px;
  letter-spacing: -0.2px;
  vertical-align: middle;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-right: 35px;
}

.service-description p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  vertical-align: middle;
  color: var(--text-black);
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
    margin-left: 30%;
    width: 70%;
    box-sizing: border-box;
    padding-left: 0;
}

.service-list-item {
    cursor: pointer;
    margin-bottom: 25px;
    position: relative;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-list-item:last-child {
  margin-bottom: 10px;
}

.service-list-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  padding-left: 30px;
    position: relative;
}

.service-list-title::after {
    content: none;
}

.service-list-item:hover .service-list-title span {
  color: var(--primary-color);
  transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-list-item.active .service-list-title span {
  color: var(--primary-color);
}

.service-list-title span {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 35px;
  letter-spacing: -0.5px;
  color: var(--text-black);
  transition: color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-list-description {
    max-height: 0;
    overflow: hidden;
  transition: max-height 1.2s cubic-bezier(0.23, 1, 0.32, 1), 
              opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), 
              margin 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              padding 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-10px);
}

.service-list-item.active .service-list-description {
  max-height: 500px;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  transform: translateY(0);
}

.service-list-description p {
    padding-left: 55px;
  padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

.bullet-icon {
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    margin-right: 20px;
}

.service-list-item.active .bullet-icon {
    transform: scale(1.1);
}

.thin-blue-line {
    border: none;
    height: 1px;
  background-color: var(--primary-color);
     margin: 10px 0; 
  opacity: 0.7;
}

/* ==================== ELEVATE SECTION ==================== */
.elevate-section {
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  min-height: 200px;
  gap: 40px;
  padding: 40px 20px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.elevate-header {
  font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 56.25px;
    letter-spacing: -0.2px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
}

.contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* ==================== FOOTER STYLES ==================== */
.site-footer {
  width: 100%;
  background-color: var(--white);
  padding: 20px 0;
  position: relative;
  z-index: 50;
}

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

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  max-width: 100%;
  height: auto;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-menu {
  width: auto; 
  height: 42px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-item {
  margin-right: 40px;
}

.footer-item:last-child {
  margin-right: 0;
  gap: 0;
}

.footer-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-mobile {
  width: 100%;
  padding: 20px 0;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-container {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.footer-brand img {
  max-width: 220px;
  height: auto;
}

/* ==================== PROJECT PAGE STYLES ==================== */
.portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.portfolio-link:hover {
    text-decoration: none;
    color: inherit;
}

.project-navigation {
  width: 100%;
  height: 70px;
  position: relative;
  opacity: 0.5;
  background-color: transparent;
  z-index: 10;
}

.navigation-container {
  width: 100%;
  max-width: auto;
  height: 100%;
  padding: 20px 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.back-link {
  padding-left: 60px;
}

.back-link a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 29px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-arrow-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.project-title-section {
  width: auto;
  height: 137px;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px;
}

.project-title-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 60px;
    padding-right: 60px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.project-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin: 0;
  padding: 0;
}

.project-metadata {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-light);
}

.metadata-item {
  display: flex;
  gap: 5px;
}

.metadata-value {
  font-weight: 500;
  color: var(--text-dark);
}

.separator {
  color: var(--text-muted);
  font-weight: 300;
}

.project-banner-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.banner-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-background-section {
    width: auto;
    height: auto;
    left: 41px;
    gap: 16px;
  padding: 80px 20px;
}

.project-background-label {
  font-family: "Inter", sans-serif;
    font-weight: 300;
  font-style: normal;
    font-size: 36px;
    line-height: 46px;
    letter-spacing: -0.5px;
    text-align: right;
}

.project-background-text {
  font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    letter-spacing: -0.5px;
    padding-left: 10px;
}

.project-images-section {
  width: auto;
  max-width: var(--max-width);
  padding: 20px 40px 10px;
  position: relative;
  margin: 0 auto;
}

.project-images-container {
  max-width: var(--max-width);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.project-image-container {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: auto;
  transform: rotate(0deg);
  opacity: 1;
  position: relative;
  display: block;
  object-fit: cover;
}

.project-image-caption-section {
  width: auto;
  max-width: var(--max-width);
  padding: 20px 40px;
  position: relative;
  margin: 0 auto;
}

.project-image-caption-section .project-container {
  max-width: var(--max-width);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.project-image-caption-section .project-image-container {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.project-image-caption-section .project-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

.image-caption-container {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.caption-text {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 29px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 0;
  width: 100%;
}

.full-width-image-section {
  width: auto;
  max-width: var(--max-width);
  padding: 20px 40px 60px;
  position: relative;
  margin: 0 auto;
}

.full-width-image-container {
  width: 100%;
  margin-bottom: 0;
}

.full-width-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Portfolio Gallery */
.portfolio-gallery {
    padding-bottom: 80px;
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-gallery-item {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--white);
  overflow: visible;
}

.portfolio-gallery-img {
    width: 420px;
    height: 260px;
    object-fit: cover;
    display: block;
    transform: rotate(0deg);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.portfolio-gallery-item:hover .portfolio-gallery-img {
    opacity: 0.9;
}

.portfolio-gallery-item .portfolio-label {
  position: static;
    padding: 20px;
  background-color: var(--white);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
    width: 100%;
    box-sizing: border-box;
}

.portfolio-gallery-item .portfolio-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  color: var(--text-dark);
}

.portfolio-gallery-item .portfolio-description {
    font-size: 14px;
  color: var(--text-light);
    text-transform: uppercase;
    font-weight: 500;
}

.portfolio-gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-gallery-link:hover {
    text-decoration: none;
    color: inherit;
}

.portfolio-gallery-link:hover .portfolio-gallery-item {
    transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInWithBackground {
  0% { 
    opacity: 0;
    background-color: transparent;
  }
  100% { 
    opacity: 1;
    background-color: var(--white);
  }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

.hero-text-overlay.fade-out,
.slide2-text.fade-out {
  animation: fadeOut 1s ease-out forwards;
}

.hero-text-overlay, 
.slide2-text {
  transition: opacity 1s ease;
}

/* Reveal animations */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-grid .reveal-element:nth-child(1) { transition-delay: 0s; }
.portfolio-grid .reveal-element:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid .reveal-element:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid .reveal-element:nth-child(4) { transition-delay: 0.3s; }
.portfolio-grid .reveal-element:nth-child(5) { transition-delay: 0.4s; }
.portfolio-grid .reveal-element:nth-child(6) { transition-delay: 0.5s; }

.inspired-text .reveal-element:nth-child(1) { transition-delay: 0s; }
.inspired-text .reveal-element:nth-child(2) { transition-delay: 0.1s; }
.inspired-text .reveal-element:nth-child(3) { transition-delay: 0.2s; }
.inspired-text .reveal-element:nth-child(4) { transition-delay: 0.3s; }
.inspired-text .reveal-element:nth-child(5) { transition-delay: 0.4s; }

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
  visibility: visible;
  opacity: 1;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--text-black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==================== MEDIA QUERIES ==================== */

/* Large screens (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .portfolio-label {
    width: fit-content;
    min-width: 220px;
    max-width: 85%;
    height: 70px;
    padding: 8px 30px 8px 8px;
  }
  
  .portfolio-title {
    font-size: 22px;
    letter-spacing: -0.3px;
  }
  
  .portfolio-description {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .elegance-container {
    top: -0.5px;
  }

  .portfolio-grid {
    grid-template-columns: 350px 350px 350px;
    gap: 15px;
  }
  
  .portfolio-1 { width: 350px; height: 400px; }
  .portfolio-2 { width: 350px; height: 500px; margin-top: -180px; }
  .portfolio-3 { width: 350px; height: 600px; }
  .portfolio-4 { width: 350px; height: 400px; }
  .portfolio-5 { width: 350px; height: 500px; }
  .portfolio-6 { width: 350px; height: 400px; margin-top: -110px; }
  
  .vision-section { padding: 120px 0; }
  .vision-image { max-width: 400px; }
  .vision-text { padding: 0 40px 0 20px; }
  
  .experience-section { padding: 120px 20px; }
  .experience-text { flex: 0 0 40%; }
  .experience-image { flex: 0 0 58%; height: 470px; }
  
  .inspired-image { max-width: 320px; }
  .inspired-text { padding-left: 20px; padding-right: 20px; gap: 40px; }
}

/* Medium screens (1024px) */
@media (width: 1024px) {
  .portfolio-label {
    width: fit-content;
    min-width: 200px;
    max-width: 80%;
    height: 65px;
    padding: 8px 25px 8px 8px;
  }
  
  .portfolio-title { font-size: 20px; letter-spacing: -0.3px; }
  .portfolio-description { font-size: 11px; letter-spacing: 1.2px; }
  .elegance-container { top: -0.5px; }
  
  .vision-section { width: 100%; padding: 100px 0; }
  .vision-content { padding: 0; }
  .vision-image { max-width: 336px; height: 637px; }
  .vision-text { padding: 0 20px 0 10px; max-width: 100%; height: 100%; }
  .vision-text h2 { font-size: 45px; line-height: 1.5; }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 308px 308px 308px;
    grid-template-rows: auto;
    gap: 20px;
    justify-content: center;
  }

  .portfolio-1 { width: 308px; height: 312px; }
  .portfolio-2 { width: 308px; height: 503px; margin-top: -150px; }
  .portfolio-3 { width: 308px; height: 452px; }
  .portfolio-4 { width: 308px; height: 446px; }
  .portfolio-5 { width: 308px; height: 372px; }
  .portfolio-6 { width: 308px; height: 450px; margin-top: -90px; }

  .experience-image {
    flex: 0 0 32%;
    height: 533px;
    width: 254px;
    order: 2;
    padding: 0%;
  }

  .experience-text { flex: 0 0 70%; }
  .inspired-image { height: 1179px; }
  .inspired-title { padding-right: 80px; }
}


/* iPad Mini and tablet portrait (768px - 834px width) */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  .hero-text-overlay {
    top: 30px;
    left: 30px;
  }
  
  .text-container {
    padding: 15px;
    max-width: calc(100vw - 80px);
    box-sizing: border-box;
  }
  
  .efficiency-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
  }
  
  .continuation-text {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    padding: 15px 12px;
    left: calc(100% - 15px);
  }
  
  .sequential-text {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    padding: 15px;
  }
  
  .slide2-text {
    top: calc(30px + 48px + 40px);
    left: 30px;
    max-width: calc(100vw - 60px);
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  .slide2-text.text-container {
    padding: 15px;
    margin: 0;
    background-color: var(--white);
    width: fit-content;
    display: inline-block;
    position: absolute;
  }
  
  .slide2-text .efficiency-title {
    margin: 0;
    padding: 0;
  }
  
  .slide2-text .sequential-text {
    position: relative;
    left: 0;
    padding: 0;
    margin: 0;
    display: inline-block;
    background-color: transparent;
  }
  
  .hero-text-2 .text-container:first-child .highlight-text {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
  }
  
  .portfolio-label {
    width: fit-content;
    min-width: 180px;
    max-width: 85%;
    height: 55px;
    padding: 6px 15px 6px 6px;
  }
  
  .portfolio-title { font-size: 16px; letter-spacing: -0.2px; }
  .portfolio-description { font-size: 9px; letter-spacing: 0.8px; }
  
  /* Vision section adjustments for tablet portrait */
  .vision-section {
    padding: 80px 20px;
  }
  
  .vision-image {
    flex: 0 0 40%;
    height: 385px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: var(--gray-bg);
  }
  
  .vision-text h2 {
    font-size: 36px;
    line-height: 1.4;
  }
  
  /* Experience section adjustments */
  .experience-section {
    padding: 80px 20px;
  }
  
  .experience-image {
    flex: 0 0 40%;
    height: 533px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: var(--gray-bg);
  }
  
  .experience-text {
    flex: 0 0 55%;
  }
  
  .experience-text h2 {
    font-size: 36px;
    line-height: 1.4;
  }
  
  /* Portfolio header adjustments */
  .portfolio-header-section .header-title {
    font-size: 36px;
    line-height: 1.4;
  }
  
  /* Inspired section adjustments */
  .inspired-section {
    padding: 80px 20px;
  }
  
  .inspired-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 21px;
  }
  
  .inspired-image {
    flex: 0 0 30%;
    height: 600px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: var(--gray-bg);
  }
  
  .inspired-text {
    flex: 0 0 65%;
    padding: 0;
    gap: 40px;
  }
  
  .inspired-text h2 {
    font-size: 36px;
    line-height: 1.4;
  }
  
  .inspired-title {
    font-size: 20px;
    line-height: 1.4;
  }
  
  /* Unique solution section adjustments */
  .unique-solution-title {
    font-size: 36px;
    line-height: 1.4;
  }
}

/* iPad specific (768x1024) - More specific override */
@media (width: 768px) and (height: 1024px) {
  .inspired-section {
    padding: 80px 20px;
    min-height: auto;
  }
  
  .inspired-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 21px;
  }
  
  .inspired-image {
    flex: 0 0 253px !important;
    max-width: 253px !important;
    width: 253px !important;
    height: 1179px !important;
    min-height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: var(--gray-bg);
    align-self: stretch;
  }
  
  .inspired-text {
    flex: 0 0 450px;
    max-width: 450px;
    padding: 110px 0 0 20px;
    gap: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .inspired-text h2 {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .inspired-title {
    font-size: 20px;
    line-height: 1.4;
  }
  
  .inspired-content-group {
    gap: 5px;
  }
  
  /* Project page fixes */
  .project-navigation {
    height: auto !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  
  .navigation-container {
    padding: 5px 30px;
    height: auto;
  }
  
  .back-link {
    padding-left: 30px;
  }
  
  .project-title-section {
    position: relative;
    z-index: 10;
    background-color: var(--white);
    margin-bottom: 20px;
    padding: 15px 40px;
  }
  
  .project-banner-section {
    position: relative;
    z-index: 5;
    margin-top: 0;
  }
}

/* Tablet and small screens (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .portfolio-label {
    width: fit-content;
    min-width: 150px;
    max-width: 85%;
    height: 50px;
    padding: 4px 12px 4px 4px;
  }
  
  .portfolio-title { font-size: 14px; letter-spacing: -0.1px; }
  .portfolio-description { font-size: 8px; letter-spacing: 0.5px; }
  
  .efficiency-title { font-size: 35px; }
  .continuation-text { font-size: 35px; }
  .sequential-text { font-size: 35px; top: -43px; }

  .contact-section .contact-container { top: 70px; }
  .contact-title { font-size: 32px; line-height: 40px; margin-bottom: 20px; }
  .contact-subtitle { font-size: 14px; line-height: 24px; margin-bottom: 20px; }
  .contact-form-container { top: 70px; }
  .form-row { flex-direction: column; gap: 20px; }
  
  .questions-section { margin-top: 100px; }
  .questions-header { font-size: 28px; line-height: 38px; }
  .elevate-section { margin-top: 100px; }
  .elevate-header { font-size: 28px; line-height: 38px; }
}

/* Mobile devices (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
  /* Services page mobile fixes */
  .service-item.row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .service-item .service-title,
  .service-item .service-description {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .service-title h3 {
    font-size: 20px;
    line-height: 1.3;
    padding-right: 0;
  }
  
  /* Fix service list indentation on mobile */
  .service-list {
    margin-left: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
  
  .service-list-title {
    padding-left: 0 !important;
  }
  
  /* Adjust service list title font size for mobile */
  .service-list-title span {
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: var(--text-black) !important;
  }
  
  /* Decrease space between bullet icon and text */
  .bullet-icon {
    margin-right: 8px !important;
  }
  
  /* Align service list description with title */
  .service-list-description p {
    padding-left: 0 !important;
    padding-right: 20px !important;
    margin-top: 8px !important;
  }
  .portfolio-label {
    width: fit-content;
    min-width: 140px;
    max-width: 90%;
    height: 45px;
    padding: 3px 10px 3px 3px;
  }
  
  .portfolio-title { font-size: 12px; letter-spacing: -0.1px; }
  .portfolio-description { font-size: 7px; letter-spacing: 0.3px; }
  
  .efficiency-title { font-size: 25px; }
  .continuation-text { font-size: 25px; }
  .sequential-text { font-size: 25px; top: -43px; }
  
  .vision-image { display: none; }
  .vision-text {
    flex: 1 0 100%;
    padding: 0 20px;
  }
  .vision-text h2 {
    font-size: 25px;
    line-height: 1.5;
    padding: 10px;
  }
  
  .vision-section {
    padding: 0;
    min-height: auto;
  }
  
  .vision-content {
    padding: 20px 0;
  }

  .portfolio-header-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }
  
  .portfolio-header-section .header-title {
    flex: 1 0 100%;
    font-size: 28px;
    line-height: 1.4;
    padding: 10px;
  }
  
  .portfolio-header-section .header-description {
    font-size: 16px;
    line-height: 1.6;
    padding: 10px;
  }

  .portfolio-projects-section {
    padding: 0;
    width: 100%;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  
  .portfolio-item {
    width: 320px;
    height: 300px;
  }
  
  .portfolio-1, .portfolio-2, .portfolio-3, 
  .portfolio-4, .portfolio-5, .portfolio-6 {
    grid-column: 1;
    margin-top: 0;
  }
  
  .portfolio-1 { grid-row: 1; }
  .portfolio-2 { grid-row: 2; }
  .portfolio-3 { grid-row: 3; }
  .portfolio-4 { grid-row: 4; }
  .portfolio-5 { grid-row: 5; }
  .portfolio-6 { grid-row: 6; }

  .experience-content {
    flex-direction: column;
    padding: 20px;
  }
  
  .experience-text {
    flex: 1 0 100%;
    order: 1;
    margin: 0;
    padding: 0;
  }
  
  .experience-image {
    flex: 1 0 100%;
    order: 2;
    height: 300px;
    margin-top: 30px;
    width: 100%;
    display: block;
    background-color: var(--gray-bg);
    min-height: 300px;
    position: relative;
  }
  
  .experience-text h2 {
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-right: 30px;
  }
  
  .experience-section {
    padding: 40px 0;
    min-height: auto;
  }

  .inspired-image { display: none; }
  .inspired-content { flex-direction: column; }
  .inspired-text {
    flex: 1 0 100%;
    padding: 20px;
    gap: 30px;
  }
  .inspired-text h2 {
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .inspired-title {
    font-size: 16px;
    line-height: 22px;
    padding-right: 0;
  }
  .inspired-text-description {
    font-size: 14px;
    line-height: 22px;
  }
  .inspired-section { padding: 40px 0; }
  .inspired-content-group { gap: 5px; }

  .unique-solution-title {
    font-size: 25px;
    line-height: 1.4;
  }
  
  .unique-solution-description {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }
  
  .unique-solution-container {
    padding: 40px 20px;
  }

  .contact-section .contact-container { top: 60px; }
  .contact-title { font-size: 28px; line-height: 36px; margin-bottom: 15px; }
  .contact-subtitle { font-size: 14px; line-height: 22px; margin-bottom: 20px; }
  .contact-form-container { top: 60px; padding: 0 15px; }
  .form-row { flex-direction: column; gap: 20px; }
  
  .questions-section { margin-top: 80px; padding: 20px 15px; }
  .questions-header { font-size: 24px; line-height: 30px; margin-bottom: 15px; }
  .contact-info p { font-size: 14px; line-height: 24px; }
  
  .vision-button { width: 100%; }
  .elevate-section { margin-top: 80px; padding: 20px 15px; }
  .elevate-header { font-size: 24px; line-height: 30px; margin-bottom: 15px; }
}

/* Small mobile devices (≤360px) */
@media (max-width: 360px) {
  /* Services page mobile fixes */
  .service-item.row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .service-item .service-title,
  .service-item .service-description {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .service-title h3 {
    font-size: 18px;
    line-height: 1.3;
    padding-right: 0;
  }
  
  /* Fix service list indentation on mobile */
  .service-list {
    margin-left: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
  
  .service-list-title {
    padding-left: 0 !important;
  }
  
  /* Adjust service list title font size for mobile */
  .service-list-title span {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: var(--text-black) !important;
  }
  
  /* Decrease space between bullet icon and text */
  .bullet-icon {
    margin-right: 6px !important;
  }
  
  /* Align service list description with title */
  .service-list-description p {
    padding-left: 0 !important;
    padding-right: 15px !important;
    margin-top: 8px !important;
  }
  .portfolio-label {
    width: fit-content;
    min-width: 120px;
    max-width: 95%;
    height: 40px;
    padding: 2px 8px 2px 2px;
  }
  
  .portfolio-title { font-size: 11px; letter-spacing: -0.1px; }
  .portfolio-description { font-size: 6px; letter-spacing: 0.2px; }

  .contact-section .contact-container { top: 50px; }
  .contact-title { font-size: 24px; line-height: 30px; }
  .contact-subtitle { font-size: 13px; line-height: 20px; }
  .contact-form-container { top: 50px; padding: 0 10px; }
  .form-label { font-size: 14px; }
  .form-control, .form-control-message { font-size: 14px; }
  
  .questions-section { margin-top: 60px; }
  .questions-header { font-size: 22px; }
  .elevate-section { margin-top: 60px; }
  .elevate-header { font-size: 22px; }
}

/* Mobile navigation */
@media (max-width: 991.98px) {
  .nav-menu {
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    list-style: none;
  }
  
  .nav-item {
    padding: 0 !important;
    width: 100% !important;
    margin-right: 0 !important;
    text-align: center !important;
    display: block !important;
  }
  
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile menu header */
  .mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    z-index: 10000;
  }
  
  /* Show mobile menu header only when menu is open */
  .navbar-collapse.show .mobile-menu-header {
    display: flex;
  }
  
  .mobile-menu-logo {
    max-width: 200px;
    height: auto;
  }
  
  .mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
  }
  
  .mobile-menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
  }
  
  .navbar-collapse.show {
    padding: 0;
    max-height: 100vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu .nav-link {
    padding: 1.5rem 2rem !important;
    margin: 0 !important;
    font-size: 24px;
    font-weight: 300;
    color: var(--white) !important;
    height: auto !important;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-bottom: none;
    border: none !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    justify-content: unset !important;
    align-items: unset !important;
    gap: unset !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    letter-spacing: -0.3px;
  }
  
  .nav-menu .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
  }
  
  .nav-menu .nav-link.active {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    padding: 1.5rem 2rem !important;
    margin: 0 !important;
    background-color: transparent !important;
    color: var(--white) !important;
    font-weight: 400;
    font-size: 24px;
    text-align: center !important;
    justify-content: unset !important;
    align-items: unset !important;
    gap: unset !important;
    white-space: normal !important;
    border: none !important;
    box-sizing: border-box !important;
    letter-spacing: -0.3px;
  }
  
  .nav-menu .nav-link.active:hover {
    color: var(--primary-color) !important;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 12px 15px;
  }
  
  .navbar-brand {
    max-width: 160px;
  }
  

}

/* Tablet landscape and desktop portfolio adjustments */
@media (max-width: 1024px) and (min-width: 835px) {
  .portfolio-projects-section {
    padding: 40px 10px;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .portfolio-1, .portfolio-2, .portfolio-3, 
  .portfolio-4, .portfolio-5, .portfolio-6 {
    width: 100% !important;
  }
  
  .portfolio-title { font-size: 24px; }
  .portfolio-description { font-size: 13px; }
}

/* Mobile portfolio adjustments */
@media (max-width: 768px) {
  /* Services page mobile fixes */
  .service-item.row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .service-item .service-title,
  .service-item .service-description {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  .service-title h3 {
    font-size: 24px;
    line-height: 1.3;
    padding-right: 0;
    margin-bottom: 15px;
  }
  
  /* Fix service list indentation on mobile - align with service title */
  .service-list {
    margin-left: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
  
  .service-list-title {
    padding-left: 0 !important;
  }
  
  /* Adjust service list title font size for mobile */
  .service-list-title span {
    font-size: 18px !important;
    line-height: 1.4 !important;
    color: var(--text-black) !important;
  }
  
  /* Decrease space between bullet icon and text */
  .bullet-icon {
    margin-right: 10px !important;
  }
  
  /* Align service list description with title */
  .service-list-description p {
    padding-left: 0 !important;
    padding-right: 20px !important;
    margin-top: 8px !important;
  }
  
  .portfolio-projects-section {
    padding: 15px 5px;
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    padding: 0 5px;
  }
  
  .portfolio-1, .portfolio-2, .portfolio-3, 
  .portfolio-4, .portfolio-5, .portfolio-6 {
    width: 100% !important;
    margin-top: 0 !important;
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  
  .portfolio-1 { height: 450px; }
  .portfolio-2 { height: 520px; }
  .portfolio-3 { height: 600px; }
  .portfolio-4 { height: 450px; }
  .portfolio-5 { height: 520px; }
  .portfolio-6 { height: 450px; }
  
  .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .portfolio-label {
    position: absolute;
    bottom: 0px;
    left: 0;
    padding: 6px 15px;
  }
  
  .portfolio-title { font-size: 22px; }
  .portfolio-description { font-size: 12px; letter-spacing: 1.2px; }
}

@media (max-width: 480px) {
  .portfolio-projects-section {
    padding: 12px 3px;
  }
  
  .portfolio-grid {
    gap: 15px;
    padding: 0 3px;
  }
  
  .portfolio-1 { height: 400px; }
  .portfolio-2 { height: 470px; }
  .portfolio-3 { height: 550px; }
  .portfolio-4 { height: 400px; }
  .portfolio-5 { height: 470px; }
  .portfolio-6 { height: 400px; }
  
  .portfolio-label {
    bottom: 0px;
    left: 0;
    padding: 5px 12px;
  }
  
  .portfolio-title { font-size: 20px; }
  .portfolio-description { font-size: 11px; letter-spacing: 1px; }
}

@media (max-width: 360px) {
  .portfolio-projects-section {
    padding: 10px 2px;
  }
  
  .portfolio-grid {
    padding: 0 2px;
    gap: 12px;
  }
  
  .portfolio-1 { height: 350px; }
  .portfolio-2 { height: 420px; }
  .portfolio-3 { height: 500px; }
  .portfolio-4 { height: 350px; }
  .portfolio-5 { height: 420px; }
  .portfolio-6 { height: 350px; }
  
  .portfolio-label {
    bottom: 0px;
    left: 0;
    padding: 4px 10px;
  }
  
  .portfolio-title {
    font-size: 18px;
    line-height: 1.1;
  }
  
  .portfolio-description {
    font-size: 10px;
    letter-spacing: 0.8px;
  }
}

/* Project page responsive */
@media (max-width: 768px) {
  .project-navigation {
    height: auto;
    margin-bottom: 120px;
  }
  
  .navigation-container {
    padding: 15px 20px;
  }
  
  .back-link {
    padding-left: 30px;
  }
  
  .project-title-section {
    top: 120px;
    height: auto;
    padding: 30px;
  }
  
  .project-title {
    font-size: 28px;
  }
  
  .project-title-container {
    padding-left: 30px;
  }
  
  .project-metadata {
    font-size: 14px;
    gap: 10px;
  }
  
  .project-images-section {
    padding: 15px 20px 40px;
  }
  
  .project-image-container {
    margin-bottom: 20px;
  }
  
  .image-caption-container {
    padding: 15px 0;
    margin-top: 10px;
    text-align: left;
  }
  
  .full-width-image-section {
    padding: 15px 20px 40px;
  }
  
  .project-banner-section {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .project-navigation {
    top: 70px;
    margin-bottom: 100px;
  }
  
  .navigation-container {
    padding: 12px 15px;
  }
  
  .back-link {
    padding-left: 15px;
  }
  
  .back-link a {
    font-size: 14px;
  }
  
  .project-title-section {
    top: 100px;
    padding: 20px;
  }
  
  .project-title {
    font-size: 24px;
  }
  
  .project-title-container {
    padding-left: 15px;
  }
  
  .project-metadata {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .separator {
    display: none;
  }
  
  .project-images-section {
    padding: 10px 15px 30px;
  }
  
  .image-caption-container {
    padding: 10px 0;
    text-align: left;
  }
  
  .full-width-image-section {
    padding: 10px 15px 30px;
  }
  
  .project-banner-section {
    margin-top: 15px;
  }
}

@media (max-width: 1024px) {
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .project-metadata {
    margin-top: 5px;
  }
}

/* Portfolio gallery responsive */
@media (max-width: 1200px) {
  .portfolio-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .portfolio-gallery-img {
    width: 100%;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .portfolio-gallery-img {
    width: 100%;
    height: 240px;
  }
  
  .portfolio-gallery {
    padding: 60px 0;
  }
  
  .portfolio-gallery-item .portfolio-label {
    padding: 15px;
  }
  
  .portfolio-gallery-item .portfolio-title {
    font-size: 16px;
  }
  
  .service-title {
    margin-bottom: 1rem;
  }
}