/* McLeans Tech Website Styles */

/* CSS Variables for Color Palette */
:root {
  --royal-blue: #00b4d8;
  --jet-black: #0d1b2a;
  --bright-cyan: #00b4d8;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #0d1b2a;
  --text-primary: #050f19;
  --text-secondary: #0b151f;
  --text-muted: #718096;
  --border-light: #e9ecef;
  --shadow: rgba(13, 27, 42, 0.1);
  --shadow-hover: rgba(13, 27, 42, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 15px;

  /* Content Width Variables */
  --content-max-width: 700px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--jet-black);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 1001;
  border-radius: var(--border-radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  font-size: 16px;
}

/* Ensure text contrast on dark backgrounds */
.header {
  background-color: var(--white);
  color: var(--jet-black);
}

.footer {
  background-color: var(--jet-black);
  color: var(--white);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--jet-black);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--jet-black);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(13, 27, 42, 0.7);
  line-height: 1.5;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Global description styling for consistency */
.description,
.section-header p {
  font-size: 1.1rem;
  color: rgba(13, 27, 42, 0.7);
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 20px; /* Reduced padding for smaller buttons */
  text-decoration: none;
  border-radius: 8px; /* Slightly less rounded for a more modern look */
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  min-height: 40px; /* Reduced min-height */
  min-width: 100px; /* Reduced min-width */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--royal-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
  outline: none;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 2px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--bright-cyan);
  border-color: var(--bright-cyan);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--bright-cyan);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
  outline: none;
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 2px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(13, 27, 42, 0.98);
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo i {
  margin-right: 10px;
  color: var(--bright-cyan);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--bright-cyan);
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bright-cyan);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding-top: 50px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, var(--royal-blue) 20 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--royal-blue) 15 0%, transparent 50%);
  opacity: 0.1;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 2rem 30px;
    gap: 3rem;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-visual {
    order: 2;
    margin-top: 3rem;
    width: 100%;
    overflow: hidden;
  }

  .hero-stats {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .hero-buttons {
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .hero-buttons .btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 2rem 20px;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-visual {
    order: 2;
    margin-top: 2.5rem;
    width: 100%;
    overflow: hidden;
  }

  .visual-container {
    height: 200px;
  }

  .floating-card {
    width: 110px;
    padding: 1rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-stats {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .hero-buttons {
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-direction: column;
  }

  .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

.hero-content {
  color: var(--jet-black);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--royal-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 768px) {
  .hero-badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
  }
}

.hero-badge i {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.highlight {
  background: linear-gradient(45deg, var(--royal-blue), var(--jet-black));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  opacity: 1;
  transform: none;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: none;
    text-align: justify;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: none;
    text-align: justify;
  }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  opacity: 1;
  transform: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--medium-gray);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  opacity: 1;
  transform: none;
}

.hero-buttons .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: translateX(4px);
}

.hero-buttons .btn-secondary:hover i {
  transform: rotate(15deg);
}

.tech-showcase {
  opacity: 1;
  transform: none;
}

.tech-label {
  display: block;
  font-size: 1rem;
  color: var(--jet-black);
  margin-bottom: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

.tech-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-icon {
  width: 45px;
  height: 45px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--royal-blue);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover {
  transform: translateY(-3px);
  border-color: var(--royal-blue);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
  color: var(--bright-cyan);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
  border: 2px solid var(--light-gray);
  width: 140px;
  transition: all 0.3s ease;
}

.floating-card i {
  font-size: 1.8rem;
  color: var(--royal-blue);
}

.floating-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jet-black);
  text-align: center;
}

/* Arrange cards in a ring format */
.card-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.card-2 {
  top: 20%;
  right: 20%;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

.card-4 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4.5s;
}

.hero-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.graphic-circle {
  width: 300px;
  height: 300px;
  border: 3px solid var(--royal-blue);
  border-radius: 50%;
  opacity: 0.2;
  animation: rotate 20s linear infinite;
}

.graphic-dots {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, var(--royal-blue) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.1;
  animation: rotate 30s linear infinite reverse;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design for Hero */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-buttons .btn {
    min-width: 160px;
  }

  .tech-icons {
    justify-content: center;
  }

  .visual-container {
    height: 300px;
  }

  .floating-card {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 120px;
    padding: 1rem;
  }

  .visual-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    justify-items: center;
    height: auto;
    padding: 1rem;
  }
}

/* Mobile Responsive Styles for Hero Section */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 2rem 30px;
    gap: 3rem;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-visual {
    order: 2;
    margin-top: 3rem;
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 2rem 20px;
    gap: 2.5rem;
  }
}

/* Services Section */
.services {
  padding: 8rem 0;
  background-color: var(--light-gray);
}

@media (max-width: 768px) {
  .services {
    padding: 5rem 0;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 4rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 1.5rem;
  }
}

.section-header h2 {
  /* Inherits font-size, font-weight, and margin from global h2 */
  color: var(--jet-black);
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
  text-align: center;
}

@media (max-width: 768px) {
  .service-card {
    padding: 2rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem;
    border-radius: 10px;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-icon i {
  font-size: 3rem;
  color: var(--royal-blue);
}

@media (max-width: 768px) {
  .service-icon {
    margin-bottom: 1rem;
  }

  .service-icon i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .service-icon {
    margin-bottom: 0.8rem;
  }

  .service-icon i {
    font-size: 2rem;
  }
}

.service-card h3 {
  /* Inherits font-size, font-weight, and margin from global h3 */
  color: var(--jet-black);
}

.service-card p {
  /* Inherits margin-bottom from global p */
  color: var(--text-secondary);
  text-align: left;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--royal-blue);
  font-weight: bold;
}

/* About Section - Redesigned */
.about {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, var(--royal-blue) 0%, transparent 40%);
  opacity: 0.05;
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.about-header {
  margin-bottom: 3rem;
}

/* Removed - inherits from global h2 styles */

/* Removed - inherits from global .lead styles */

.about-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 4rem; /* Larger bottom margin for section spacing */
}

/* Statistics Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.2);
  border-color: var(--royal-blue);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--jet-black);
  font-weight: 600;
  margin: 0;
}

/* Technology Stack Visual */
.tech-showcase {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

/* Removed - inherits from global h3 styles */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.tech-item {
  background: var(--white);
  padding: 2.5rem 1rem 2rem 1rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.tech-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--royal-blue);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.2);
}

.tech-item i {
  font-size: 2.5rem;
  color: var(--royal-blue);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.tech-item:hover i {
  color: var(--bright-cyan);
  transform: scale(1.1);
}

.tech-item span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--jet-black);
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about {
    padding: 4rem 0;
  }

  /* Global responsive styling */
  .lead {
    font-size: 1.2rem;
  }

  .description,
  .section-header p {
    font-size: 1rem;
  }

  /* Removed - inherits from global h2 responsive styles */

  /* Lead responsive styling now handled by global .lead */

  .about-description {
    font-size: 0.95rem;
  }

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tech-item {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .tech-item i {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

  .tech-item span {
    font-size: 0.85rem;
  }

  .about-content {
    padding: 0 15px;
  }

  .service-highlights {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

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

.portfolio-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-image i {
  font-size: 4rem;
  color: var(--white);
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-content h3 {
  /* Inherits font-size, font-weight, and margin from global h3 */
  color: var(--jet-black);
}

.portfolio-content p {
  /* Inherits margin-bottom from global p */
  color: var(--text-secondary);
}

.portfolio-tech {
  display: inline-block;
  background-color: var(--light-gray);
  color: var(--royal-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--jet-black);
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Note: Using global h2 styles - color override needed for white text on dark background */
.contact-info h2 {
  color: var(--white);
}

.contact-info p {
  color: var(--light-gray) !important;
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

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

.contact-item i {
  color: var(--bright-cyan);
  font-size: 1.2rem;
  width: 20px;
}

.contact-item span {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Ensure contact section text is always visible */
.contact .contact-item span {
  color: #ffffff !important; /* Force white color for dark background */
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.social-link:hover {
  background-color: var(--bright-cyan);
  color: var(--jet-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

/* Form Styles */
.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-cyan);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(96, 165, 250, 0.8); /* Light blue/cyan color for better visibility */
}

.form-group select option {
  background-color: var(--jet-black);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--jet-black);
  padding: 3rem 0 1rem;
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--bright-cyan);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--white);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--bright-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: var(--bright-cyan) !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-bottom p {
  color: var(--bright-cyan) !important;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--jet-black);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 0 15px;
    padding-top: 1rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero-buttons .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    justify-content: center;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: var(--bright-cyan) !important;
    font-weight: 500;
  }

  .footer-bottom p {
    color: var(--bright-cyan) !important;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
  }

  h1 {
    /* Keep using the clamp function for responsiveness */
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-buttons .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-width: 140px;
  }

  .stats {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--bright-cyan) !important;
    line-height: 1.4;
    font-weight: 500;
  }

  .footer-bottom p {
    color: var(--bright-cyan) !important;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed header */
html {
  scroll-padding-top: 80px;
}

/* Page Header Styles */
.page-header {
  background: linear-gradient(135deg, var(--jet-black) 0%, var(--royal-blue) 100%);
  padding: 7.5rem 0 5rem; /* Consistent with global section padding */
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 60%
    ),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  /* Inherits font-size, font-weight, and margin from global h1 */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Services Hero Section */
.services-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  opacity: 0.3;
  z-index: 1;
}

.services-overview {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.overview-icon {
  width: 60px;
  height: 60px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.overview-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jet-black);
}

.services-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.main-circle {
  width: 150px;
  height: 150px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.floating-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--royal-blue);
  animation: orbit 10s linear infinite;
}

.icon-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.icon-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 2.5s;
}

.icon-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 5s;
}

.icon-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 7.5s;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(120px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(120px) rotate(-360deg);
  }
}

/* Responsive Services Hero */
@media (max-width: 968px) {
  .services-hero .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .services-overview {
    justify-content: center;
    flex-wrap: wrap;
  }

  .services-graphic {
    width: 250px;
    height: 250px;
  }

  .floating-icon {
    position: absolute;
    display: flex;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* About Hero Section */
.about-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13, 27, 42, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.company-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: center;
  align-items: center;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 1.5rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.2rem;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--jet-black);
  opacity: 0.7;
}

.about-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.central-hub {
  width: 120px;
  height: 120px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.floating-element {
  position: absolute;
  width: 100px;
  height: 60px;
  background: var(--white);
  border: 2px solid var(--royal-blue);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.2rem;
  color: var(--royal-blue);
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.floating-element i {
  font-size: 1.5rem;
}

.floating-element span {
  font-size: 0.875rem;
  font-weight: 600;
}

.elem-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.elem-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.elem-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.elem-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 3s;
}

/* Projects Hero Section */
.projects-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.projects-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(13, 27, 42, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.project-highlights {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.highlight-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--jet-black);
}

.projects-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.success-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.project-node {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--royal-blue);
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

.node-1 {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.node-2 {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.node-3 {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.node-4 {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  animation-delay: 3s;
}

.connection-line {
  position: absolute;
  background: linear-gradient(45deg, var(--royal-blue), transparent);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

.line-1 {
  top: 80px;
  left: 50%;
  width: 2px;
  height: 80px;
  transform: translateX(-50%);
}

.line-2 {
  top: 50%;
  right: 80px;
  width: 80px;
  height: 2px;
  transform: translateY(-50%);
}

.line-3 {
  bottom: 80px;
  left: 50%;
  width: 2px;
  height: 80px;
  transform: translateX(-50%);
}

.line-4 {
  top: 50%;
  left: 80px;
  width: 80px;
  height: 2px;
  transform: translateY(-50%);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive About and Projects Heroes */
@media (max-width: 968px) {
  .about-hero .hero-container,
  .projects-hero .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .company-stats,
  .project-highlights {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-graphic,
  .projects-graphic {
    width: 300px;
    height: 300px;
  }

  .floating-element,
  .project-node {
    position: relative;
    display: none;
  }

  .floating-element:first-child,
  .project-node:first-child {
    display: flex;
    position: relative;
    margin: 0 auto;
  }

  .connection-line {
    display: none;
  }
}

/* Contact Hero Section */
.contact-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(13, 27, 42, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.contact-methods {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.method-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.method-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jet-black);
}

.contact-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.communication-hub {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.contact-orbit {
  width: 70px;
  height: 70px;
  background: var(--white);
  border: 3px solid var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--royal-blue);
  position: absolute;
  animation: orbit 8s linear infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.orbit-1 {
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.orbit-2 {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  animation-delay: 2s;
}

.orbit-3 {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

.orbit-4 {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  animation-delay: 6s;
}

.connection-wave {
  position: absolute;
  border: 2px solid var(--royal-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: wave 4s ease-in-out infinite;
}

.wave-1 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.wave-2 {
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
}

.wave-3 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 2s;
}

@keyframes wave {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

/* Responsive Contact Hero */
@media (max-width: 968px) {
  .contact-hero .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .contact-methods {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-graphic {
    width: 300px;
    height: 300px;
  }

  .contact-orbit {
    position: absolute;
    display: flex;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .communication-hub {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .connection-wave {
    display: block;
  }

  .connection-wave {
    display: none;
  }
}

/* Services Page Redesign */
.services-overview {
  padding: 5rem 0;
  background: var(--white);
}

.services-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-highlight:nth-child(even) .service-visual {
  order: 2;
}

.service-highlight:nth-child(even) .service-content {
  order: 1;
}

.service-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.service-content {
  flex: 1;
}

.service-badge {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  animation: pulse 3s ease-in-out infinite;
}

.service-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.15);
}

.stat h3,
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
}

.stat p,
.stat-label {
  font-size: 0.9rem;
  color: var(--jet-black);
  opacity: 0.7;
  margin: 0;
}

.service-content h3 {
  /* Inherits font-size, font-weight, and margin from global h3 */
  color: var(--jet-black);
}

.service-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  /* Inherits margin-bottom from global p */
  line-height: 1.6;
}

.service-highlights {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 2px solid var(--royal-blue);
}

.highlight-item i {
  color: var(--royal-blue);
}

.highlight-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jet-black);
  white-space: nowrap;
}

/* Process Workflow - Timeline Design */
.process-workflow {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  position: relative;
}

.workflow-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--royal-blue), var(--bright-cyan));
  transform: translateX(-50%);
  border-radius: 2px;
}

.workflow-step {
  position: relative;
  margin: 4rem 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.workflow-step.step-1 {
  animation-delay: 0.1s;
}
.workflow-step.step-2 {
  animation-delay: 0.2s;
}
.workflow-step.step-3 {
  animation-delay: 0.3s;
}
.workflow-step.step-4 {
  animation-delay: 0.4s;
}

.step-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.workflow-step:nth-child(even) .step-wrapper {
  flex-direction: row-reverse;
}

.step-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 120px;
  z-index: 2;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
  border: 4px solid var(--white);
}

.step-icon {
  width: 90px;
  height: 90px;
  background: var(--white);
  border: 3px solid var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--royal-blue);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.workflow-step:hover .step-icon {
  background: var(--royal-blue);
  color: var(--white);
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--royal-blue);
}

.workflow-step:nth-child(even) .step-content {
  border-left: none;
  border-right: 5px solid var(--royal-blue);
}

.workflow-step:hover .step-content {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-content h4 {
  font-size: 1.6rem;
  color: var(--jet-black);
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
}

/* Section Spacer */
.section-spacer {
  height: 60px;
  background: transparent;
}

/* Engagement Models */
.engagement-models {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.engagement-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.engagement-card:hover {
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  color: var(--white);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.card-header h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 600;
}

.card-content {
  padding: 2rem;
}

.card-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.card-features i {
  color: #10b981;
  font-size: 1.2rem;
}

.card-ideal {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--jet-black);
}

/* Success Metrics */
.success-metrics {
  padding: 5rem 0;
  background: var(--white);
}

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

.metric-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--royal-blue), var(--jet-black));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jet-black);
  margin-bottom: 1rem;
}

.metric-description {
  /* Inherits from global .description styling */
  font-size: 1rem; /* Slightly smaller for metrics */
  margin-bottom: 1rem; /* Smaller margin for compact layout */
}

/* Call to Action Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--jet-black) 0%, var(--royal-blue) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  /* Inherits font-size, font-weight, and margin from global h2 */
  color: var(--white);
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.enhanced-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  justify-content: center;
}

.enhanced-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.enhanced-btn:hover::before {
  left: 100%;
}

.enhanced-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.enhanced-btn:hover i {
  transform: translateX(3px);
}

.btn-primary.enhanced-btn {
  background: linear-gradient(135deg, var(--bright-cyan), var(--royal-blue));
  color: var(--white);
  border-color: var(--bright-cyan);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}

.btn-primary.enhanced-btn:hover {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 180, 216, 0.4);
  border-color: var(--white);
}

.btn-secondary.enhanced-btn {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary.enhanced-btn:hover {
  background: var(--white);
  color: var(--jet-black);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Services */
@media (max-width: 968px) {
  .service-highlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-highlight:nth-child(even) .service-visual,
  .service-highlight:nth-child(even) .service-content {
    order: initial;
  }

  /* Timeline Responsive */
  .timeline-line {
    left: 30px;
  }

  .workflow-step .step-wrapper,
  .workflow-step:nth-child(even) .step-wrapper {
    flex-direction: row;
    padding-left: 80px;
  }

  .step-visual {
    position: absolute;
    left: 0;
    min-width: 60px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .service-highlights,
  .step-features {
    justify-content: center;
  }

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

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

  /* CTA Section Responsive */
  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .enhanced-btn {
    width: 100%;
    max-width: 300px;
  }

  /* Removed duplicate tech-stack responsive styles - already defined elsewhere */

  .tech-category {
    padding: 2rem;
    margin: 0;
    min-width: auto;
    flex: none;
  }

  .tech-item {
    min-width: 150px;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Removed duplicate tech-stack responsive styles */

  .tech-category {
    min-width: auto;
    flex: none;
  }

  .category-header {
    gap: 0.5rem;
  }

  .tech-item {
    min-width: 120px;
    padding: 1rem;
    gap: 0.8rem;
  }

  /* Services Showcase Mobile */
  .service-highlight {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    grid-template-columns: none !important;
    align-items: center;
  }

  .service-visual {
    display: none !important;
  }

  .service-badge {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin: 0 auto;
  }

  .service-content {
    width: 100%;
  }

  .service-content p {
    text-align: left;
    margin: 1rem 0;
  }

  .service-highlights {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
    flex-wrap: none !important;
  }

  .highlight-item {
    width: 100%;
    justify-content: center;
  }

  /* Mobile Font Size Improvements */
  p {
    font-size: 1.2rem !important;
    line-height: 1.7;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  h4 {
    font-size: 1.3rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
  }

  .section-header p {
    font-size: 1.1rem !important;
  }

  /* Footer Sections Mobile Centering */
  .footer-section:nth-child(3),
  .footer-section:nth-child(4) {
    text-align: center;
  }

  .footer-section:nth-child(2) ul {
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section:nth-child(3) ul {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-section:nth-child(4) .social-links {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  /* Timeline Mobile */
  .workflow-timeline {
    padding: 1rem 0;
  }

  .timeline-line {
    left: 20px;
  }

  .workflow-step .step-wrapper,
  .workflow-step:nth-child(even) .step-wrapper {
    padding-left: 60px;
  }

  .step-content {
    padding: 1.5rem;
  }

  .step-content h4 {
    font-size: 1.3rem;
  }

  /* CTA Mobile Styles */
  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

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

@media (max-width: 576px) {
  .lead {
    font-size: 1.1rem;
  }

  .description,
  .section-header p {
    font-size: 0.95rem;
  }

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

  .service-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .tech-category {
    padding: 1.5rem;
  }

  .tech-item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .tech-item i {
    font-size: 1.5rem;
  }

  .tech-item span {
    font-size: 0.9rem;
  }
}

/* Active Navigation Link */
.nav-link.active {
  color: var(--bright-cyan) !important;
}

.nav-link.active::after {
  width: 100%;
}

/* Services Detailed Styles */
.services-detailed {
  padding: 4rem 0;
}

.service-card.detailed {
  padding: 3rem;
  margin-bottom: 2rem;
}

.service-benefits {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.service-benefits h4 {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

/* Process Styles */
.service-process {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Technologies Styles */
.technologies {
  padding: 4rem 0;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-category h4 {
  color: var(--jet-black);
  margin-bottom: 1rem;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--royal-blue);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}

.tech-tag:hover {
  background: var(--white);
  color: var(--royal-blue);
  border-color: var(--royal-blue);
}

/* Pricing Styles */
.pricing-overview {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.pricing-card h4 {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

/* Case Study Styles */
.case-studies {
  padding: 4rem 0;
}

.case-study {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: var(--transition);
}

.case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-study-header {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  padding: 2.5rem 2rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.case-study-icon {
  flex-shrink: 0;
}

.case-study-icon i {
  font-size: 3.5rem;
  opacity: 0.9;
}

.case-study-meta h3 {
  /* Inherits font-size, font-weight, and margin from global h3 */
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

/* .case-study-meta h3 now inherits from global h3 styles */

.client-type {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-duration {
  font-size: 0.9rem;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

.case-study-content {
  padding: 2.5rem;
}

.challenge,
.solution,
.results,
.technologies-used {
  margin-bottom: 2.5rem;
}

.challenge p,
.solution p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.challenge ul,
.solution ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.challenge ul li,
.solution ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  position: relative;
}

.challenge ul li::marker,
.solution ul li::marker {
  color: var(--royal-blue);
}

.challenge h4,
.solution h4 {
  /* Inherits font-size, font-weight, and margin from global h4 */
  color: var(--royal-blue);
  position: relative;
  padding-left: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.results h4,
.technologies-used h4 {
  /* Inherits font-size, font-weight, and margin from global h4 */
  color: var(--royal-blue);
  position: relative;
  padding-left: 1.5rem;
}

.challenge h4::before,
.solution h4::before,
.results h4::before,
.technologies-used h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--royal-blue);
  border-radius: 2px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.result-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--light-gray), #f0f5ff);
  border-radius: 12px;
  border: 1px solid rgba(0, 180, 216, 0.1);
  transition: var(--transition);
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.15);
}

.result-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.3rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.quote i {
  color: var(--bright-cyan);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.author strong {
  color: var(--jet-black);
}

.author span {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* Industries Styles */
.industries {
  padding: 4rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 10px;
  transition: var(--transition);
}

.industry-item:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: translateY(-5px);
}

.industry-item i {
  font-size: 3rem;
  color: var(--bright-cyan);
  margin-bottom: 1rem;
}

.industry-item:hover i {
  color: var(--white);
}

/* Contact Page Styles */
.contact-page {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--light-gray) 0%,
    var(--white) 50%,
    var(--light-gray) 100%
  );
  position: relative;
  overflow: hidden;
}

.contact-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, var(--royal-blue) 10 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, var(--royal-blue) 08 0%, transparent 40%),
    radial-gradient(circle at 40% 70%, var(--royal-blue) 05 0%, transparent 30%);
  opacity: 0.4;
  z-index: 1;
}

.contact-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--royal-blue) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  z-index: 1;
}

.contact-page .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.contact-form-section {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.form-header h2 {
  /* Inherits font-size, font-weight, and margin from global h2 */
  color: var(--jet-black);
}

.form-header p {
  color: var(--medium-gray);
  margin-bottom: 2rem;
}

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

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--jet-black);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

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

.btn-large {
  width: 100%;
  padding: 14px 24px; /* Reduced padding for better proportion */
  font-size: 1rem; /* Slightly smaller font */
  font-weight: 600;
}

.contact-info-section {
  position: sticky;
  top: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  color: var(--jet-black); /* Ensure text is dark on white background */
}

.contact-card h3 {
  color: var(--jet-black); /* Dark title on white background */
  margin-bottom: 1rem;
}

/* Removed - inherits from global h3 styles */

.contact-card > p {
  color: var(--text-primary); /* Use darker color for better visibility */
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  color: var(--jet-black) !important; /* Ensure labels are visible */
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-item span {
  color: var(
    --text-primary
  ) !important; /* Use darker color for better visibility with !important to override any conflicts */
  font-size: 1rem;
  font-weight: 600;
}

/* Ensure contact details are always visible */
.contact-card .contact-item span {
  color: #000000 !important; /* Force black color for maximum visibility */
}

.contact-card .contact-item strong {
  color: #000000 !important; /* Force black color for labels too */
}

.response-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.response-time i {
  color: var(--royal-blue);
}

.response-time span {
  color: var(--text-primary); /* Use darker color for better visibility */
  font-size: 0.9rem;
  font-weight: 500;
}

.social-section h4 {
  color: var(--jet-black);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.social-link:hover {
  background: var(--bright-cyan);
  color: var(--jet-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-section,
  .contact-card {
    padding: 2rem;
  }

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

  .contact-info-section {
    position: static;
  }
}

.hours-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.social-section h4 {
  margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  /* Inherits font-size, font-weight, and margin from global h3 */
  color: var(--jet-black);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--jet-black);
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--medium-gray);
  border-radius: 3px;
  display: inline-block;
}

/* FAQ Styles */
.faq-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
  padding: 4rem 0;
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, var(--royal-blue) 05 25%, transparent 25%),
    linear-gradient(-45deg, var(--royal-blue) 05 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--royal-blue) 05 75%),
    linear-gradient(-45deg, transparent 75%, var(--royal-blue) 05 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.3;
  z-index: 1;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.faq-item h4 {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

/* Location Styles */
.location-section {
  padding: 4rem 0;
  background: linear-gradient(
    45deg,
    var(--light-gray) 0%,
    var(--white) 50%,
    var(--light-gray) 100%
  );
  position: relative;
}

.location-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, var(--royal-blue) 08 0%, transparent 50%);
  opacity: 0.6;
  z-index: 1;
}

.location-section .container {
  position: relative;
  z-index: 2;
}

.location-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.location-features {
  margin-top: 1.5rem;
}

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

.feature i {
  color: var(--bright-cyan);
  width: 20px;
}

.map-placeholder {
  background: var(--light-gray);
  border-radius: 10px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
  color: var(--medium-gray);
}

.map-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--royal-blue);
}

/* About Page Specific Styles */
.company-overview {
  padding: 4rem 0;
}

.about-text p {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Removed - uses global .description styling with override in main .about-description */

.company-values {
  margin-top: 3rem;
}

.tech-stack {
  margin-top: 3rem;
  margin-bottom: 6rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 10px;
}

.value-item i {
  font-size: 3rem;
  color: var(--bright-cyan);
  margin-bottom: 1rem;
}

/* Removed - uses global tech-grid styles */

.company-stats {
  background-color: var(--light-gray);
  padding: 4rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-vision {
  padding: 4rem 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.mission,
.vision {
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 15px;
  text-align: center;
}

.mission i,
.vision i {
  font-size: 3rem;
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

.team-section {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
}

.member-photo {
  width: 80px;
  height: 80px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.role {
  color: var(--bright-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-cyan));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  /* Inherits font-size, font-weight, and margin from global h2 */
  color: var(--white);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .location-info {
    grid-template-columns: 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

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

  /* .page-header h1 now inherits from global h1 styles */

  .case-study-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .case-study-icon i {
    font-size: 2.5rem;
  }

  .case-study-meta h3 {
    /* Inherits from global h3 but adjusts line-height for mobile */
    line-height: 1.3;
  }

  .case-study-content {
    padding: 2rem 1.5rem;
  }

  .challenge p,
  .solution p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-left: 0;
  }

  .challenge ul,
  .solution ul {
    max-width: 100%;
    margin-left: 0;
    padding-left: 1.2rem;
  }

  .tech-tags {
    gap: 0.6rem;
  }

  .tech-tag {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Loading animation for better UX */
.loading {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Hover effects for better interactivity */
.service-card:hover .service-icon i {
  color: var(--bright-cyan);
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-image {
  background: linear-gradient(135deg, var(--bright-cyan), var(--royal-blue));
}
