/* Import normalize.css and Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Variables */
:root {
  /* Colors */
  --pure-white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --midnight-blue: #0F1123;
  
  /* Brand Colors */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #14b8a6;
  --secondary-light: #2dd4bf;
  --secondary-dark: #0d9488;
  --accent: #f43f5e;
  --accent-light: #fb7185;
  --accent-dark: #e11d48;


  /* teting Colors */
  --custom-1: #d9e7f4;
  
  /* Overlays */
  --hero-overlay-light: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
  --hero-overlay-dark: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--custom-1);
  overflow-x: hidden;
  padding-top: 72px; /* Add space for fixed header */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

#footer {
  flex-shrink: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--gray-900);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.75rem;
  }
}

h2 {
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.875rem;
  }
}


/* Background Image - FULL */
.background__image-full {
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

/* Light overlay option */
.background__image-full.overlay-light::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-light);
}

/* Dark overlay option */
.background__image-full.overlay-dark::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-dark);
}

.background__image-full > * {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* Background Image - TILED */
.background__image-tiled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-repeat: repeat;
  background-attachment: scroll;
  /* Default size of each tile - can be overridden in HTML with --tile-size */
  --tile-size: 100px;
  background-size: var(--tile-size);
}

/* Light overlay option */
.background__image-tiled.overlay-light::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-light);
  z-index: 1;
}

/* Dark overlay option */
.background__image-tiled.overlay-dark::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-dark);
  z-index: 1;
}

.background__image-tiled > * {
  position: relative;
  z-index: 2;
}


/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--spacing-md) 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__list {
  display: none;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav__list {
    display: flex;
    flex-shrink: 0;
  }
}

.nav__link {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
  white-space: nowrap;
}

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

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 550px;
  padding: var(--spacing-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--pure-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding: calc(var(--spacing-4xl) + 20px) 0 var(--spacing-2xl);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero__icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero__icon {
    margin-top: var(--spacing-xl);
  }
}

.hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 2;
}

.hero__left {
  flex: 0 0 auto;
}

.hero__right {
  flex: 1;
}

.hero__profile {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--pure-white);
  box-shadow: var(--shadow-lg);
}

.hero__profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__text-content {
  text-align: left;
  max-width: 800px;
  padding: var(--spacing-xl);
}

.hero__title {
  margin-bottom: var(--spacing-md);
  color: var(--pure-white);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--pure-white);
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__cta {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero__content-wrapper {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xl);
  }

  .hero__text-content {
    text-align: center;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__cta {
    justify-content: center;
  }
}

.hero__visual {
  position: relative;
  height: 400px;
  margin-top: var(--spacing-xl);
}

@media (min-width: 1024px) {
  .hero__visual {
    margin-top: 0;
  }
}

/* Half image overlay beside content */
.hero__overlay-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.8;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

@media (max-width: 1023px) {
  .hero__overlay-image {
    display: none;
  }
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.shape {
  position: absolute;
  border-radius: var(--radius-xl);
}

.shape--1 {
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  top: 20%;
  left: 20%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape--2 {
  width: 40%;
  height: 40%;
  background: var(--secondary);
  bottom: 10%;
  right: 10%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.shape--3 {
  width: 30%;
  height: 30%;
  background: var(--accent);
  top: 10%;
  right: 30%;
  opacity: 0.1;
  animation: float 7s ease-in-out infinite;
}

/* Services Section */
.services {
  background-color: var(--gray-100);
  padding: var(--spacing-3xl) 0;
}

.services__grid {
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--pure-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: var(--pure-white);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.service-card__description {
  color: var(--gray-600);
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
}

/* Page Card */
.page-card {
  background: var(--pure-white);
  max-width: 800px;
  margin: var(--spacing-2xl) auto;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.15),
              0 5px 15px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

@media (max-width: 768px) {
  .page-card {
    margin: var(--spacing-xl) var(--spacing-md);
    padding: var(--spacing-xl);
  }
}

/* Portfolio Section */
.portfolio-preview {
  padding: var(--spacing-3xl) 0;
}

.section__title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section__title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  margin: var(--spacing-sm) auto 0;
  border-radius: var(--radius-full);
}

.portfolio-grid {
  display: grid;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.05);
}

.portfolio-card__image {
  height: 240px;
  overflow: hidden;
  background: var(--gray-100);
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.portfolio-card__content {
  padding: var(--spacing-lg);
  background: var(--pure-white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card__category {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.portfolio-card__description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.portfolio-card__tags {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.portfolio-preview__cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--pure-white);
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta__title,
.cta__description {
  color: var(--pure-white);
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-xl) 0 var(--spacing-xl);
}

.footer__grid {
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer__brand {
  margin-bottom: var(--spacing-xl);
}

.footer__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.footer__tagline {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.footer__abn {
  color: var(--gray-500);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.footer__social {
  display: flex;
  gap: var(--spacing-md);
}

.footer__social-link {
  color: var(--gray-600);
  font-size: 1.25rem;
  transition: color 0.2s ease-in-out;
}

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

.footer__title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  color: var(--gray-800);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__list a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

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

.footer__bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing);
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.footer__copyright {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--pure-white);
  border: none;
}

.btn--primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--primary-inverted {
  background: var(--pure-white);
  color: var(--primary);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--primary-inverted:hover {
  background: var(--gray-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--secondary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(244, 63, 94, 0.1) 100%);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn--secondary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--pure-white);
  border-color: transparent;
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn--ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn--large {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: 1.125rem;
}

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

/* Spacer System */
.spacer {
  display: block;
  width: 100%;
  height: var(--spacer-height, var(--spacing-2xl)); /* Default to 2xl spacing */
}

/* Predefined spacer sizes */
.spacer--xs {
  --spacer-height: var(--spacing-xs);
}

.spacer--sm {
  --spacer-height: var(--spacing-sm);
}

.spacer--md {
  --spacer-height: var(--spacing-md);
}

.spacer--lg {
  --spacer-height: var(--spacing-lg);
}

.spacer--xl {
  --spacer-height: var(--spacing-xl);
}

.spacer--2xl {
  --spacer-height: var(--spacing-2xl);
}

.spacer--3xl {
  --spacer-height: var(--spacing-3xl);
}

.spacer--4xl {
  --spacer-height: var(--spacing-4xl);
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

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

/* Mobile Navigation */
.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .nav__mobile-toggle {
    display: block;
  }
  
  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pure-white);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: center;
    display: none;
    border-top: 1px solid var(--gray-200);
  }
  
  .nav__list--active {
    display: flex;
  }
  
  .nav__list li {
    width: 100%;
    text-align: center;
  }
  
  .nav__list .nav__link {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
  }
  
  .nav__list .nav__link:last-child {
    border-bottom: none;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .nav__logo {
    font-size: 1.1rem;
  }
  
  .nav .container {
    padding: 0 var(--spacing-sm);
  }
}

.nav__mobile-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.nav__mobile-toggle--active .nav__mobile-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__mobile-toggle--active .nav__mobile-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__mobile-toggle--active .nav__mobile-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Price Indicators */
.price-indicator {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.dollar {
  font-size: 2.0rem;
  font-weight: 600;
  color: var(--gray-300);
  transition: color 0.2s ease-in-out;
}

.dollar.active {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

/* Reviews Section */
.reviews {
  padding: var(--spacing-3xl) 0;
  background: var(--gray-100);
}

.reviews__grid {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: var(--spacing-md) 0;
}

@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid var(--gray-200);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

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

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 0.875rem;
}

.review-card__stars i {
  transition: color 0.2s ease-in-out;
}

.review-card__stars .far {
  color: var(--gray-300);
}

.review-card__service {
  background: var(--primary);
  color: var(--pure-white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-card__content {
  flex: 1;
  margin: 0 0 var(--spacing-lg) 0;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  position: relative;
}

.review-card__content::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-family: serif;
  opacity: 0.3;
}

.review-card__author {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}

.review-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__author-info strong {
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 600;
}

.review-card__author-info span {
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Horizontal scrolling for mobile */
@media (max-width: 767px) {
  .reviews__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-md);
    margin: 0 calc(-1 * var(--spacing-md));
  }
  
  .review-card {
    min-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Custom scrollbar for webkit browsers */
.reviews__grid::-webkit-scrollbar {
  height: 6px;
}

.reviews__grid::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: var(--radius-full);
}

.reviews__grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

.reviews__grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Animation for review cards */
.review-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

/* Star rating hover effects */
.review-card__stars:hover .fas {
  color: #f59e0b;
}

/* Service tag variations */
.review-card__service--app {
  background: var(--secondary);
}

.review-card__service--web {
  background: var(--primary);
}

.review-card__service--game {
  background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .review-card {
    padding: var(--spacing-lg);
    min-height: 260px;
  }
  
  .review-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .review-card__content {
    font-size: 0.875rem;
  }
}

/* Contact Page Styles */
.contact-content {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

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

.contact-info {
    background: var(--pure-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    background: var(--pure-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-800);
    transition: border-color 0.2s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .contact-form .btn {
        width: auto;
        min-width: 200px;
    }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.screenshot-swiper {
    width: 100%;
    padding: 20px 0;
}

.screenshot-swiper .swiper-slide {
    /* Adjust this value to change screenshot size on mobile devices */
    width: 350px;
    height: auto;
    transition: transform 0.3s ease;
}

.screenshot-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Active slide styling */
.screenshot-swiper .swiper-slide-active {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .screenshot-swiper .swiper-slide {
        /* Adjust this value to change screenshot size on desktop devices */
        width: 500px;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lightbox__nav:hover {
    opacity: 0.8;
}

.lightbox__nav--prev {
    left: -60px;
}

.lightbox__nav--next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox__close {
        top: -40px;
        right: 0;
    }
    
    .lightbox__nav {
        width: 40px;
        height: 80px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .lightbox__nav--prev {
        left: 0;
    }

    .lightbox__nav--next {
        right: 0;
    }
}

/* Form Response Messages */
.form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-weight: 500;
}

.form-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}