/* ============================================
   VITABYTE SOFTWARE - MAIN STYLESHEET
   ============================================ */

/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap");

/* CSS Variables */
:root {
  /* Primary Colors - Teal/Dark Blue scheme */
  --primary-dark: #0a2540;
  --primary-teal: #00a99d;
  --primary-light: #00c4b4;
  --accent-blue: #1a73e8;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #212529;

  /* Typography */
  --font-primary: "Roboto", sans-serif;
  --font-heading: "Bebas Neue", sans-serif;
  --font-accent: "Montserrat", sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.5px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: var(--primary-teal);
  color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-transparent {
  background-color: transparent;
  box-shadow: none;
}

.header-transparent .nav-links a {
  color: var(--white);
}

.header-transparent .mobile-menu-btn span {
  background-color: var(--white);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-solid {
  display: block;
}

.logo-transparent {
  display: none;
}

.header-transparent .logo-solid {
  display: none;
}

.header-transparent .logo-transparent {
  display: block;
}

.logo-vita {
  color: var(--primary-dark);
}

.logo-byte {
  color: var(--primary-teal);
}

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

.nav-links a {
  font-family: var(--font-heading);
  color: var(--dark-gray);
  font-weight: 400;
  font-size: 20px;
  position: relative;
  letter-spacing: 1px;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-teal);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--primary-teal);
}

.nav-links .btn {
  padding: 10px 24px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  margin-top: 0;
  overflow: hidden;
}

.home-page .hero {
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d4d4d4;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.85) 0%,
    rgba(0, 169, 157, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--white);
  padding: 60px 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: center;
  color: var(--off-white);
  letter-spacing: 1px;
}

/* ============================================
   SERVICES QUICK LINKS SECTION
   ============================================ */
.services-quick-links {
  padding: 60px 0;
  background-color: var(--white);
}

.services-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.services-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-link-card {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-teal) 100%
  );
  padding: 80px 40px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-link-card h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-link-card-image {
  background: none;
}

.service-link-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.service-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.3) 0%,
    rgba(0, 169, 157, 0.2) 100%
  );
  z-index: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-teal) 100%
  );
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-column {
  display: flex;
  align-items: center;
  color: var(--white);
}

.about-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--white);
  margin: 0;
}

.about-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.about-form-column {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.contact-form-inline {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background-color: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23343a40' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

/* ============================================
   INSIGHTS/BLOG SECTION
   ============================================ */
.insights-section {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.insights-text-column h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.insights-text-column p {
  font-size: 17px;
  color: var(--medium-gray);
  margin-bottom: 30px;
  line-height: 1.7;
}

.insights-card-column {
  display: flex;
  justify-content: flex-end;
}

.insight-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.insight-image {
  height: 220px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.insight-content {
  padding: 25px;
}

.insight-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.insight-content h3 a:hover {
  color: var(--primary-teal);
}

.insight-content p {
  font-size: 15px;
  color: var(--medium-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.read-more {
  color: var(--primary-teal);
  font-weight: 500;
  font-size: 14px;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.clients-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 50px;
}

.clients-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
}

.clients-carousel {
  overflow: hidden;
  position: relative;
}

.clients-carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-continuous 30s linear infinite;
}

.clients-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-continuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.client-placeholder {
  background-color: var(--light-gray);
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--medium-gray);
  font-size: 14px;
  text-align: center;
  min-width: 140px;
}

/* Responsive Clients Carousel */
@media (max-width: 992px) {
  .client-logo {
    flex: 0 0 200px;
  }
}

@media (max-width: 768px) {
  .client-logo {
    flex: 0 0 180px;
  }

  .clients-carousel-track {
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .client-logo {
    flex: 0 0 150px;
  }

  .clients-carousel-track {
    animation-duration: 20s;
  }
}

/* Image Placeholders */
.image-placeholder {
  background-color: #d4d4d4;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.team-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-text-col {
  flex: 1;
}

.team-grid-col {
  flex: 1;
}

.team-section .section-title {
  text-align: left;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.team-description {
  font-size: 18px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 0;
  text-align: left;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-content: center;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (max-width: 992px) {
  .team-content {
    flex-direction: column;
    text-align: center;
  }

  .team-grid {
    width: 100%;
  }

  .team-section .section-title,
  .team-description {
    text-align: center;
  }
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--off-white);
}

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

.team-member h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 5px;
  font-weight: 600;
}

.team-member span {
  font-size: 14px;
  color: var(--primary-teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   OUR WORK SECTION
   ============================================ */
.our-work-section {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.our-work-section .section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.work-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 300px;
}

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

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

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--white);
}

.work-overlay h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Home page - with image background */
.home-page .newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../media/2024/10/a-macro-monitor-screen-with-program-code-on-it-ma-2024-08-27-05-35-47-utc-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 1;
}

.home-page .newsletter-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.85) 0%,
    rgba(0, 169, 157, 0.85) 100%
  );
  z-index: 2;
}

/* Other pages - solid footer color */
.about-page .newsletter-section,
.what-we-do-page .newsletter-section,
.case-studies-page .newsletter-section,
.manufacturing-page .newsletter-section,
.commerce-logistics-page .newsletter-section,
.healthcare-page .newsletter-section,
.case-study-single-page .newsletter-section,
.blog-page .newsletter-section,
.contact-page .newsletter-section {
  background-color: var(--primary-dark);
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  color: var(--white);
  position: relative;
  z-index: 3;
}

.newsletter-text {
  text-align: right;
}

.newsletter-text h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}

.newsletter-text p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

.newsletter-form-wrapper {
  max-width: 400px;
  width: 100%;
}

.newsletter-form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-field {
  width: 100%;
}

.newsletter-input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
  width: 100%;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
}

.screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Newsletter Section */
@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-text h2 {
    font-size: 28px;
  }

  .newsletter-text p {
    font-size: 16px;
  }

  .newsletter-form-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo-section img {
  max-width: 250px;
  height: auto;
}

.footer-menu-section nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-section nav ul li {
  margin-bottom: 12px;
}

.footer-menu-section nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: var(--transition);
}

.footer-menu-section nav ul li a:hover,
.footer-menu-section nav ul li a.active {
  color: var(--primary-teal);
}

.footer-company-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--white);
}

.footer-company-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-badge-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer-badge-wrapper img {
  max-width: 150px;
  height: auto;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-teal);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-badge-section {
    grid-column: 1 / -1;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-section img {
    margin: 0 auto;
  }

  .footer-company-section h3,
  .footer-company-section p {
    text-align: center;
  }

  .footer-badge-section {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-teal) 100%
  );
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
  padding: var(--section-padding);
  min-height: 400px;
}

.main-content .container {
  max-width: var(--container-max);
}

/* ============================================
   ABOUT US CONTENT SECTION
   ============================================ */
.about-us-content {
  padding: var(--section-padding);
  background-color: var(--white);
}

.about-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-us-image {
  width: 100%;
}

.about-us-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-us-text h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.about-us-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.about-us-text p:last-of-type {
  margin-bottom: 30px;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Responsive About Us Section */
@media (max-width: 992px) {
  .about-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-us-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-us-text h2 {
    font-size: 28px;
  }

  .about-us-text p {
    font-size: 15px;
  }
}

/* ============================================
   WHAT WE DO INTRO SECTION
   ============================================ */
.what-we-do-intro {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 120px 0 120px 150px;
  overflow: hidden;
  justify-content: flex-start;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d4d4d4;
}

.intro-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.intro-background-image {
  position: absolute;
  top: -30%;
  left: 50%;
  min-width: 100%;
  min-height: 150%;
  width: auto;
  height: auto;
  transform: translate(-50%, 0);
  object-fit: cover;
}

.intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.75) 0%,
    rgba(0, 169, 157, 0.65) 100%
  );
}

.what-we-do-intro .intro-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 0;
  margin-top: 40px;
}

.what-we-do-intro .container {
  padding-left: 0;
  margin-left: 0;
  width: auto;
}

.what-we-do-intro .intro-content h2 {
  font-size: 42px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-align: left;
  margin: 0;
  max-width: 500px;
}

@media (max-width: 768px) {
  .what-we-do-intro {
    min-height: 500px;
    padding: 80px 20px;
  }

  .what-we-do-intro .intro-content {
    margin-left: 0;
    max-width: 100%;
  }

  .what-we-do-intro .intro-content h2 {
    font-size: 28px;
    max-width: 100%;
  }

  .intro-background-image {
    min-height: 130%;
    top: -20%;
  }
}

/* ============================================
   CUSTOM SOFTWARE SECTION
   ============================================ */
.custom-software-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.custom-software-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.custom-software-image {
  background-image: url("../media/2024/10/Engineering-meeting-scaled.jpg");
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 8px;
}

.custom-software-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.custom-software-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

@media (max-width: 992px) {
  .custom-software-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .custom-software-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .custom-software-text h2 {
    font-size: 2rem;
  }

  .custom-software-text p {
    font-size: 1rem;
  }

  .custom-software-image {
    min-height: 250px;
  }
}

/* ============================================
   DIGITAL AUTOMATION SECTION
   ============================================ */
.digital-automation-section {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.digital-automation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.digital-automation-image {
  background-image: url("../media/2024/10/Scientist-scaled.jpg");
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 8px;
}

.digital-automation-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.digital-automation-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

@media (max-width: 992px) {
  .digital-automation-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .digital-automation-image {
    min-height: 300px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .digital-automation-text h2 {
    font-size: 2rem;
  }

  .digital-automation-text p {
    font-size: 1rem;
  }

  .digital-automation-image {
    min-height: 250px;
  }
}

/* ============================================
   DATA ANALYSIS & VISUALISATION SECTION
   ============================================ */
.data-analysis-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.data-analysis-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.data-analysis-image {
  background-image: url("../media/2024/10/Heavy-manufacturing-scaled.jpg");
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 8px;
}

.data-analysis-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.data-analysis-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

@media (max-width: 992px) {
  .data-analysis-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .data-analysis-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .data-analysis-text h2 {
    font-size: 2rem;
  }

  .data-analysis-text p {
    font-size: 1rem;
  }

  .data-analysis-image {
    min-height: 250px;
  }
}

/* ============================================
   OTHER SERVICES SECTION
   ============================================ */
.other-services-section {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.other-services-header {
  text-align: center;
  margin-bottom: 60px;
}

.other-services-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.other-services-content {
  display: grid;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.service-item p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .other-services-header h2 {
    font-size: 2.5rem;
  }

  .other-services-content {
    gap: 40px;
  }

  .service-item h3 {
    font-size: 1.75rem;
  }

  .service-item p {
    font-size: 1rem;
  }
}

/* ============================================
   CASE STUDIES PAGE
   ============================================ */
.case-studies-intro {
  padding: var(--section-padding);
  background-color: var(--white);
  margin-top: 80px;
}

.case-studies-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
  min-height: 600px;
}

.case-studies-header {
  grid-column: 1;
  grid-row: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.case-studies-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.case-studies-header p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

.case-study-card {
  background-color: var(--primary-dark);
  padding: 40px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.manufacturing-card {
  grid-column: 2;
  grid-row: 1;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)),
    url("../media/2024/11/Manufacturing.jpg");
  background-size: cover;
  background-position: center;
}

.commerce-card {
  grid-column: 1;
  grid-row: 2;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)),
    url("../media/2024/11/Commerce-Logistics.jpg");
  background-size: cover;
  background-position: center;
}

.healthcare-card {
  grid-column: 2;
  grid-row: 2;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)),
    url("../media/2024/11/Healthcare.jpg");
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .case-studies-intro {
    margin-top: 60px;
  }

  .case-studies-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .case-studies-header {
    grid-column: 1;
    grid-row: 1;
    padding: 20px;
  }

  .case-studies-header h2 {
    font-size: 2rem;
  }

  .manufacturing-card {
    grid-column: 1;
    grid-row: 2;
  }

  .commerce-card {
    grid-column: 1;
    grid-row: 3;
  }

  .healthcare-card {
    grid-column: 1;
    grid-row: 4;
  }

  .case-study-card h3 {
    font-size: 1.75rem;
  }
}

/* ============================================
   PAGE CONTENT (GENERIC)
   ============================================ */
.page-content {
  padding: var(--section-padding);
  background-color: var(--white);
  margin-top: 80px;
  min-height: 400px;
}

.page-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.page-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.post-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.post-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 169, 157, 0) 0%,
    rgba(0, 169, 157, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-card-image::after {
  opacity: 1;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.post-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

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

.post-card-title a:hover {
  color: var(--primary-teal);
}

.post-card-excerpt {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-card-excerpt p {
  margin: 0;
  font-size: 1rem;
}

.post-card-read-more {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.post-card-read-more:hover {
  color: var(--primary-dark);
}

@media (max-width: 992px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-content {
    margin-top: 60px;
  }

  .page-content h1 {
    font-size: 2.5rem;
  }

  .page-content h2 {
    font-size: 1.75rem;
  }

  .page-content p {
    font-size: 1rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .post-card-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   CASE STUDY SINGLE PAGE
   ============================================ */
.case-study-single-page .case-study-content {
  padding: var(--section-padding);
  background-color: var(--white);
  margin-top: 80px;
  width: 100%;
  display: flex !important;
  justify-content: center;
}

.case-study-single-page .case-study-content .container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.case-study-single-page .case-study-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.case-study-single-page .case-study-image-section {
  width: 100%;
  order: 2;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.case-study-single-page .case-study-image-section img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.case-study-single-page .case-study-text-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  order: 1;
  width: 100%;
}

.case-study-single-page .case-study-logo {
  display: flex;
  justify-content: center;
}

.case-study-single-page .case-study-logo img {
  max-width: 300px;
  height: auto;
}

.case-study-single-page .case-study-text-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  margin: 0;
}

.case-study-single-page .case-study-text-section h2 {
  text-align: center;
}

.case-study-single-page .case-study-description {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-study-single-page .case-study-description p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  text-align: left;
  width: 100%;
}

.case-study-single-page .case-study-description strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.case-study-single-page .case-study-description ul {
  margin: 1rem auto 1.5rem auto;
  padding-left: 40px;
  text-align: left;
  max-width: 600px;
  list-style-position: outside;
  list-style-type: disc;
}

.case-study-single-page .case-study-description ul li {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  display: list-item;
}

@media (max-width: 992px) {
  .case-study-single-page .case-study-layout {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .case-study-single-page .case-study-content {
    margin-top: 60px;
  }

  .case-study-single-page .case-study-text-section h1 {
    font-size: 2rem;
  }

  .case-study-single-page .case-study-description p,
  .case-study-single-page .case-study-description ul li {
    font-size: 1rem;
  }

  .case-study-single-page .case-study-image-section img {
    max-width: 100%;
  }

  .case-study-single-page .case-study-logo img {
    max-width: 200px;
  }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   TEAM SECTION HEADER
   ============================================ */
.team-section-header {
  padding: 60px 0 40px;
  background-color: var(--white);
  text-align: center;
}

.team-section-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .team-section-header h2 {
    font-size: 28px;
  }
}

/* ============================================
   TEAM MEMBER SECTION
   ============================================ */
.team-member-section {
  padding: 40px 0 80px;
  background-color: var(--white);
}

.team-member-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.team-member-image {
  width: 100%;
}

.team-member-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.team-member-info h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.team-member-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 20px;
  font-family: var(--font-primary);
}

.team-member-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
  margin: 0;
}

/* Responsive Team Member Section */
@media (max-width: 992px) {
  .team-member-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-member-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .team-member-info h2 {
    font-size: 26px;
  }

  .team-member-info h3 {
    font-size: 18px;
  }

  .team-member-info p {
    font-size: 15px;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
  padding: 20px 0;
  background-color: var(--off-white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary-teal);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb span {
  color: var(--medium-gray);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.category-card {
  background-color: var(--off-white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.category-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-teal),
    var(--primary-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.category-card-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--white);
}

.category-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.category-card p {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 20px;
}

.category-card .btn {
  padding: 10px 24px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CASE STUDIES PAGE LAYOUT
   ============================================ */
.case-intro-section {
  padding: 60px 0;
  background-color: var(--white);
}

.case-intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--medium-gray);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.case-category-section {
  padding: 60px 0;
  background-color: var(--white);
}

.case-category-section.alt-bg {
  background-color: var(--off-white);
}

.category-header {
  margin-bottom: 30px;
}

.category-title-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.category-title-link h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

.category-title-link:hover h2 {
  color: var(--primary-teal);
}

.view-all {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-teal);
}

.category-title-link:hover .view-all {
  color: var(--primary-dark);
}

.case-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.case-preview-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-category-section.alt-bg .case-preview-card {
  background-color: var(--white);
}

.case-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-preview-card a {
  display: block;
}

.case-preview-image {
  height: 200px;
  overflow: hidden;
}

.case-preview-image .image-placeholder {
  height: 100%;
}

.case-preview-content {
  padding: 25px;
}

.case-preview-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-preview-card:hover .case-preview-content h3 {
  color: var(--primary-teal);
}

.case-preview-content p {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.case-preview-content .read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-teal);
}

/* Case Study Detail Page */
.case-study-detail {
  padding: var(--section-padding);
  background-color: var(--white);
}

.case-study-header {
  margin-bottom: 40px;
}

.case-study-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.case-study-tagline {
  font-size: 18px;
  color: var(--primary-teal);
  font-weight: 500;
  margin-bottom: 10px;
}

.case-study-hero-image {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.case-study-hero-image .image-placeholder {
  height: 100%;
}

.case-study-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.case-study-main h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.case-study-main p {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.case-study-sidebar {
  background-color: var(--off-white);
  padding: 30px;
  border-radius: 8px;
  height: fit-content;
}

.case-study-sidebar h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.case-study-sidebar ul {
  list-style: none;
}

.case-study-sidebar ul li {
  font-size: 15px;
  color: var(--medium-gray);
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-study-sidebar ul li:last-child {
  border-bottom: none;
}

.case-study-sidebar ul li::before {
  content: "✓";
  color: var(--primary-teal);
  font-weight: 600;
}

.case-study-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.case-study-images .image-placeholder {
  height: 250px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .case-preview-grid {
    grid-template-columns: 1fr;
  }

  .case-study-content {
    grid-template-columns: 1fr;
  }

  .case-study-images {
    grid-template-columns: 1fr;
  }

  .case-study-hero-image {
    height: 250px;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-intro {
  padding: var(--section-padding);
  background-color: var(--white);
}

.about-intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-intro-text h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-intro-text p {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Team Section Removed (Supperseded by Subject Matter Experts styles above) */

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */
.services-intro {
  padding: var(--section-padding);
  background-color: var(--white);
  text-align: center;
}

.services-intro p {
  font-size: 20px;
  color: var(--medium-gray);
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-teal),
    var(--primary-light)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.service-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.service-content p {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
}

.service-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* Other Services */
.other-services {
  padding: var(--section-padding);
  background-color: var(--white);
}

.other-services h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 50px;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.other-service-card {
  padding: 40px;
  background-color: var(--off-white);
  border-radius: 8px;
  transition: var(--transition);
}

.other-service-card:hover {
  box-shadow: var(--shadow-md);
}

.other-service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.other-service-card p {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ============================================
   CASE STUDIES PAGE STYLES
   ============================================ */
.case-studies-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.case-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.case-intro p {
  font-size: 17px;
  color: var(--medium-gray);
  line-height: 1.8;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-card {
  background-color: var(--off-white);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 250px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.case-content {
  padding: 30px;
}

.case-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.case-content p {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */
.blog-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

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

.blog-card {
  background-color: var(--off-white);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-image {
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content h3 a:hover {
  color: var(--primary-teal);
}

.blog-content p {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-section {
  padding: 150px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-teal),
    var(--primary-light)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.contact-item-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.contact-item-text p {
  font-size: 15px;
  color: var(--medium-gray);
}

/* Contact List Styles */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.contact-list .contact-item {
  margin-bottom: 25px;
}

.contact-list .contact-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-list .contact-item a:hover {
  color: var(--primary-teal);
}

.contact-list .contact-item:not(:has(a)) {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-teal);
}

.contact-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
}

.contact-item a:hover .contact-icon svg {
  fill: var(--primary-dark);
}

/* Contact Form */
.contact-form {
  background-color: var(--off-white);
  padding: 40px;
  border-radius: 8px;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background-color: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

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

.contact-form .btn {
  width: 100%;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-header h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .about-intro-content,
  .service-item,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid,
  .case-studies-grid,
  .other-services-grid {
    grid-template-columns: 1fr;
  }

  .insights-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .insights-card-column {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

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

  .client-placeholder {
    min-width: auto;
  }
}

/* ============================================
   BLOG TABLE STYLES
   ============================================ */
.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

.blog-table thead tr {
  background-color: #00a99d;
  color: #ffffff;
  font-weight: bold;
}

.blog-table th,
.blog-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.blog-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.blog-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.blog-table tbody tr:last-of-type {
  border-bottom: 2px solid #00a99d;
}

.blog-table tbody tr:hover {
  background-color: #f1f1f1;
  cursor: default;
}

/* ============================================
   BLOG POST CONTENT STYLES
   ============================================ */
.blog-post-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.blog-post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-post-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 24px;
  padding-left: 40px;
  list-style-position: outside;
}

.blog-post-content ul {
  list-style-type: disc;
}

.blog-post-content ol {
  list-style-type: decimal;
}

.blog-post-content li {
  margin-bottom: 8px;
  line-height: 1.8;
  display: list-item;
}
