/* Enhanced Submit Button Style */
.contact-btn-ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  width: 100%;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  background: linear-gradient(90deg, #7b3ff2 60%, #a98cff 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(123,63,242,0.13);
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px rgba(123,63,242,0.08);
  /* Remove max-width/min-width so it matches the input fields */
}
.contact-btn-ref:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px 0 rgba(123,63,242,0.10);
}
/* Ordered Contact Section Layout */
.contact-ordered-wrapper {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 0 32px 0;
}
.contact-ordered-wrapper .contact-info {
  flex: 1.1;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0;
}
.contact-ordered-wrapper .contact-form-ref {
  flex: 1.2;
  min-width: 280px;
  max-width: 420px;
  margin: 0 auto;
  align-self: flex-start;
}
@media (max-width: 900px) {
  .contact-ordered-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    padding: 18px 0 18px 0;
  }
  .contact-ordered-wrapper .contact-info,
  .contact-ordered-wrapper .contact-form-ref {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
    margin: 0 auto;
  }
}
/* Motion Design Info Styling */
.motion-design-info {
  width: 100%;
  text-align: center;
  margin-top: 18px;
  padding: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.motion-design-info .motion-design-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main-light);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}
.motion-design-info .motion-design-meta {
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0;
}
body.dark-mode .motion-design-info .motion-design-title {
  color: var(--text-main-dark);
}
body.dark-mode .motion-design-info .motion-design-meta {
  color: var(--primary-light);
}
/* Motion Design Section: Horizontal Video Alignment */
/* Motion Design Section: Centered and Larger Videos */
.motion-design-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
/* Much larger motion design cards and videos */
.motion-design-card {
  flex: 0 1 720px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.motion-design-card video {
  width: 720px;
  max-width: 98vw;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.12);
}
@media (max-width: 1100px) {
  .motion-design-card {
    max-width: 98vw;
  }
  .motion-design-card video {
    width: 98vw;
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .motion-design-list {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .motion-design-card {
    max-width: 98vw;
  }
  .motion-design-card video {
    width: 98vw;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .motion-design-list {
    gap: 18px;
    justify-content: center;
  }
  .motion-design-card {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .motion-design-list {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .motion-design-card {
    max-width: 98vw;
  }
}
body:not(.dark-mode) .poster-slide-info {
  background: #fff !important;
  color: #232942 !important;
}
body:not(.dark-mode) .poster-slide-title {
  color: #232942 !important;
}
body:not(.dark-mode) .poster-slide-meta-label {
  color: #7b3ff2 !important;
}
body:not(.dark-mode) .poster-slide-meta-value {
  color: #232942 !important;
}

/* --- Poster Slideshow Info Section: Theme Adaptive, Clean --- */
.poster-slide-info {
  background: #fff;
  color: #232942;
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
body.dark-mode .poster-slide-info {
  background: var(--card-dark);
  color: var(--text-main-dark);
}
.poster-slide-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232942;
  margin-bottom: 0;
  text-align: left;
}
body.dark-mode .poster-slide-title {
  color: var(--text-main-dark);
}
.poster-slide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  font-size: 1rem;
  color: #7b3ff2;
  margin-bottom: 0;
  width: 100%;
  border-bottom: none;
  padding-bottom: 0;
}
body.dark-mode .poster-slide-meta-row {
  color: var(--text-sub-dark);
}
.poster-slide-meta-label {
  font-weight: 500;
  color: #7b3ff2;
  margin-right: 4px;
}
body.dark-mode .poster-slide-meta-label {
  color: var(--text-sub-dark);
}
.poster-slide-meta-value {
  font-weight: 700;
  color: #232942;
  margin-right: 18px;
}
body.dark-mode .poster-slide-meta-value {
  color: var(--text-main-dark);
}
/* Poster Projects Slideshow Section - Theme Adaptive */
.poster-slideshow-section {
  margin: 64px auto 0 auto;
  width: 100vw;
  max-width: 1300px;
  text-align: center;
}
.poster-slideshow-title {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 38px;
}
.poster-slideshow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin: 0 auto;
}
.poster-slides-outer {
  overflow: hidden;
  width: 1080px;
  max-width: 98vw;
  margin: 0 12px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.poster-slides-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  will-change: transform;
}
.poster-slide-card {
  background: var(--card-light);
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.18);
  overflow: hidden;
  width: 340px;
  min-width: 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
body.dark-mode .poster-slide-card {
  background: var(--card-dark);
}
.poster-slide-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
.poster-slide-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-dark);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.poster-slide-info {
  background: #fff;
  color: #232942;
body.dark-mode .poster-slide-info {
  background: var(--card-dark);
  color: var(--text-main-dark);
}
body.dark-mode .poster-slide-info {
  background: var(--card-dark);
  color: var(--text-main-dark);
}
  padding: 0 12px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  min-height: 80px;
}
body.dark-mode .poster-slide-info {
  background: var(--card-dark);
  color: var(--text-main-dark);
}
}
.poster-slide-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232942;
}
body.dark-mode .poster-slide-title {
  color: var(--text-main-dark);
}
}
body.dark-mode .poster-slide-title {
  color: var(--text-main-dark);
}
}
body.dark-mode .poster-slide-title {
  color: var(--text-main-dark);
}
  margin-bottom: 0;
  text-align: left;
}
.poster-slide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  font-size: 1rem;
  color: var(--text-sub-light);
  margin-bottom: 0;
  width: 100%;
  border-bottom: none;
  padding-bottom: 0;
}
body.dark-mode .poster-slide-title {
  color: var(--text-main-dark);
}
body.dark-mode .poster-slide-meta-row {
  color: var(--text-sub-dark);
}
.poster-slide-meta-label {
  font-weight: 500;
  color: #7b3ff2;
}
body.dark-mode .poster-slide-meta-label {
  color: var(--text-sub-dark);
}
}
body.dark-mode .poster-slide-meta-label {
  color: var(--text-sub-dark);
}
}
body.dark-mode .poster-slide-meta-label {
  color: var(--text-sub-dark);
}
  margin-right: 4px;
}
.poster-slide-meta-value {
  font-weight: 700;
  color: #232942;
}
body.dark-mode .poster-slide-meta-value {
  color: var(--text-main-dark);
}
}
body.dark-mode .poster-slide-meta-value {
  color: var(--text-main-dark);
}
}
body.dark-mode .poster-slide-meta-value {
  color: var(--text-main-dark);
}
  margin-right: 18px;
}
body.dark-mode .poster-slide-meta-label {
  color: var(--text-sub-dark);
}
body.dark-mode .poster-slide-meta-value {
  color: var(--text-main-dark);
}
.poster-slide-btn {
  background: #fff;
  color: var(--primary, #7b3ff2);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(123,63,242,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  margin: 0 12px;
  transition: background 0.18s, color 0.18s;
}
body.dark-mode .poster-slide-btn {
  background: var(--card-dark);
  color: var(--primary-light);
}
.poster-slide-btn:hover {
  background: var(--primary, #7b3ff2);
  color: #fff;
}
@media (max-width: 1100px) {
  .poster-slides-outer { width: 98vw; }
}
@media (max-width: 900px) {
  .poster-slides-outer { width: 98vw; }
  .poster-slide-card {
    width: 98vw;
    min-width: 180px;
    max-width: 98vw;
  }
  .poster-slide-img {
    height: 160px;
  }
}
@media (max-width: 600px) {
  .poster-slideshow-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
  .poster-slides-outer {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    width: 98vw;
  }
  .poster-slide-card {
    width: 98vw;
    min-width: 120px;
    max-width: 98vw;
  }
  .poster-slide-img {
    height: 120px;
  }
  .poster-slide-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}
/* Poster Slideshow Animation Styles */
.poster-slides-outer {
  overflow: hidden;
  width: 1080px;
  max-width: 98vw;
  margin: 0 12px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.poster-slides-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  will-change: transform;
}
@media (max-width: 1100px) {
  .poster-slides-outer { width: 98vw; }
}
@media (max-width: 900px) {
  .poster-slides-outer { width: 98vw; }
}
@media (max-width: 600px) {
  .poster-slides-outer { width: 98vw; }
}
/* Poster Projects Slideshow Section */
.poster-slideshow-section {
  margin: 64px auto 0 auto;
  width: 100vw;
  max-width: 1300px;
  text-align: center;
}
.poster-slideshow-title {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 38px;
}
.poster-slideshow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin: 0 auto;
}
.poster-slides-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  width: 100%;
  justify-content: center;
  max-width: 1200px;
}
.poster-slide-card {
  background: #23233a;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.18);
  overflow: hidden;
  width: 340px;
  min-width: 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.poster-slide-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
.poster-slide-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #181828;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.poster-slide-info {
  background: #23233a;
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  min-height: 80px;
}
.poster-slide-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  text-align: left;
}
.poster-slide-meta-row {
  margin-bottom: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  font-size: 1rem;
  color: #bdbdbd;
  margin-bottom: 0;
  width: 100%;
  border-bottom: none;
  padding-bottom: 0;
}
.poster-slide-meta-label {
  font-weight: 500;
  color: #bdbdbd;
  margin-right: 4px;
}
.poster-slide-meta-value {
  font-weight: 700;
  color: #fff;
  margin-right: 18px;
}
.poster-slide-action {
  margin-top: 18px;
  background: var(--primary, #7b3ff2);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 0;
  width: 100%;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(123,63,242,0.10);
  transition: background 0.18s, box-shadow 0.18s;
}
.poster-slide-action:hover {
  background: #a98cff;
  color: #23233a;
}
.poster-slide-btn {
  background: #fff;
  color: var(--primary, #7b3ff2);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(123,63,242,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  margin: 0 12px;
  transition: background 0.18s, color 0.18s;
}
.poster-slide-btn:hover {
  background: var(--primary, #7b3ff2);
  color: #fff;
}
@media (max-width: 1100px) {
  .poster-slides-wrapper {
    gap: 18px;
  }
  .poster-slide-card {
    width: 90vw;
    min-width: 220px;
    max-width: 320px;
  }
}
@media (max-width: 900px) {
  .poster-slides-wrapper {
    gap: 10px;
  }
  .poster-slide-card {
    width: 98vw;
    min-width: 180px;
    max-width: 98vw;
  }
  .poster-slide-img {
    height: 160px;
  }
}
@media (max-width: 600px) {
  .poster-slideshow-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
  .poster-slides-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .poster-slide-card {
    width: 98vw;
    min-width: 120px;
    max-width: 98vw;
  }
  .poster-slide-img {
    height: 120px;
  }
  .poster-slide-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}
/* Modern Projects Grid for Projects Page */
.projects-section {
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 48px 0;
}
.projects-title {
  color: var(--text-main-light);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 32px 0;
  text-align: center;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 32px;
  justify-items: center;
  width: 100%;
  margin: 0 auto;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  width: 100%;
  max-width: 320px;
}
.project-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 18px;
}
.project-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #232942;
  margin-bottom: 4px;
}
.project-subtitle {
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}
@media (max-width: 600px) {
  .projects-section {
    padding: 0 0 24px 0;
  }
  .projects-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px 0;
    width: 100vw;
    padding: 0 0vw;
  }
  .project-card {
    max-width: 98vw;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }
  .project-image {
    margin-bottom: 10px;
  }
  .project-title {
    font-size: 1rem;
  }
  .project-subtitle {
    font-size: 0.95rem;
  }
}
/* CSS Variables for colors and spacing */
:root {
  --primary: #7b3ff2;
  --primary-light: #a98cff;
  --bg-dark: #181828;
  --bg-light: #f7f8fa;
  --card-light: #fff;
  --card-dark: #23233a;
  --text-main-light: #232942;
  --text-main-dark: #f3f3f3;
  --text-sub-light: #7b3ff2;
  --text-sub-dark: #a98cff;
}
html, body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body {
  flex: 1 0 auto;
  margin: 0;
  padding: 0;
  background: var(--bg-light);
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  text-align: initial;
  color: var(--text-main-light);
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive containers */
.navbar-container,
.hero-content,
.categories-section,
.logos-section,
.footer-section,
.main-content-container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Fluid logo cards */
.logo-card {
  width: 100%;
  max-width: 380px;
  min-width: 220px;
  height: auto;
  min-height: 180px;
  max-height: 220px;
  background: var(--card-light);
  border-radius: var(--radius-md);
  padding: 36px 38px 28px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
}
.logo-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
.logo-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  margin-right: 24px;
}
.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
}

/* Responsive grid for logo list */
.logos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
  border: none !important;
  box-shadow: none !important;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96vw;
  max-width: 1300px;
  min-width: 220px;
  margin: 40px auto 0 auto;
  padding: 0 4vw;
  height: 9vw;
  min-height: 38px;
  max-height: 110px;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
  position: static;
  top: auto;
  z-index: auto;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(.4,1.5,.5,1);
  border: none !important;
  box-shadow: none !important;
}
.navbar-logo {
  display: flex;
  align-items: center;
  flex: 1;
}
.navbar-logo img {
  height: min(6vw, 60px);
  margin-right: 2vw;
}
.navbar-logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(6vw, 60px);
  height: min(6vw, 60px);
  border-radius: 50%;
  background: var(--card-light);
  border: 2.5px solid transparent;
  overflow: hidden;
  margin-right: 2vw;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.10);
  transition: border-color 0.2s, background 0.2s;
}
 .navbar-logo-circle img {
   display: block;
   margin: 0 auto;
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%;
 }
body.dark-mode .navbar-logo-circle {
  background: var(--card-dark);
  border-color: transparent;
}
.navbar-title {
  font-size: min(2.5vw, 2rem);
  color: #7b3ff2;
  font-weight: 600;
  letter-spacing: 1px;
}
.navbar-links {
  display: flex;
  gap: min(4vw, 32px);
}
.navbar-link {
  text-decoration: none;
  color: var(--text-main-light);
  font-size: min(1.3vw, 1.1rem);
  font-weight: 500;
  padding: min(1vw, 10px) min(2vw, 22px);
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
.navbar-link.active, .navbar-link:hover {
  background: #7b3ff2;
  color: #fff;
}
@media (max-width: 800px), (max-aspect-ratio: 4/3) {
  .navbar-container {
    flex-direction: column;
    height: auto;
    padding: 2vw 1vw;
    width: 99vw;
    min-width: 0;
  }
  .navbar-logo {
    justify-content: center;
    width: 100%;
    margin-bottom: 1vw;
  }
  .navbar-logo img { height: min(5vw, 44px); margin-right: 1vw; }
  .navbar-title { font-size: min(2vw, 1.3rem); }
  .navbar-links {
    flex-direction: column;
    gap: 1vw;
    width: 100%;
    align-items: stretch;
  }
  .navbar-link {
    width: 100%;
    text-align: center;
    padding: min(1vw, 10px) 0;
    font-size: min(1.5vw, 1rem);
  }
}
@media (max-width: 480px), (max-aspect-ratio: 3/4) {
  .navbar-container { padding: 1vw 0.5vw; border-radius: 30px; }
  .navbar-title { font-size: min(1.5vw, 1.1rem); }
  .navbar-logo img { height: min(4vw, 32px); }
  .navbar-link { font-size: min(2vw, 0.95rem); padding: min(0.8vw, 8px) 0; }
}
.hero-section {
  width: 100vw;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 90vw;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}
.hero-left {
  flex: 1.2;
  color: var(--text-main);
  padding-right: 32px;
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: #e0d7ff;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  line-height: 1.1;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #e0d7ff;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
}
.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.hero-btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.hero-btn.outline:hover {
  background: #fff;
  color: var(--primary);
}
.hero-btn.filled {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.hero-btn.filled:hover {
  background: #fff;
  color: var(--primary);
}
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 340px;
  max-height: 340px;
}
.profile-img {
  width: 420px;
  height: 420px;
  object-fit: contain;
  border-radius: var(--radius-md);
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-left { padding-right: 0; }
  .hero-right { width: 100%; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hero-section { min-height: 340px; margin-top: 16px; }
  .hero-title { font-size: 1.5rem; }
  .profile-img-wrapper { padding: 8px; max-width: 320px; max-height: 320px; }
  .profile-img { width: 300px; height: 300px; }
  .hero-content { padding: 18px 0; }
}
.categories-section {
  margin: 64px auto 0 auto;
  width: 90vw;
  max-width: 1300px;
  text-align: center;
}
.categories-title {
  color: var(--text-main);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 38px;
}
.categories-title .highlight { color: var(--primary); }
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 60px;
}
.category-card {
  background: var(--card-light);
  border-radius: var(--radius-md);
  padding: 36px 38px 28px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  min-height: 180px;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
.category-icon {
  background: none !important;
  border-radius: 0 !important;
  width: auto;
  height: auto;
  display: inline;
  align-items: unset;
  justify-content: unset;
  margin-bottom: 18px;
  font-size: 2.2rem;
  color: var(--primary);
  box-shadow: none !important;
}
.category-label {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .categories-list { gap: 18px; }
  .category-card { min-width: 140px; min-height: 140px; padding: 24px 12px 18px 12px; }
}
@media (max-width: 600px) {
  .categories-title { font-size: 1.2rem; }
  .categories-list { flex-direction: column; gap: 14px; }
  .category-card { min-width: 90vw; min-height: 90px; padding: 18px 0 12px 0; }
  .category-icon { width: auto; height: auto; font-size: 1.3rem; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
}
.footer-section {
  width: 100vw;
  background: var(--bg-light);
  box-shadow: 0 -2px 16px 0 rgba(31,38,135,0.07);
  padding: 0;
  flex-shrink: 0;
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: 1;
}
.footer-content {
  width: 100vw;
  margin: 0 auto;
  padding: 18px 0 16px 0;
  text-align: center;
  font-size: 1rem;
  color: var(--text-sub-light);
  box-sizing: border-box;
  max-width: none;
  min-width: 0;
}
.footer-content b { font-weight: 700; }
@media (max-width: 800px), (max-aspect-ratio: 4/3) {
  .footer-content {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px), (max-aspect-ratio: 3/4) {
  .footer-content {
    font-size: 0.9rem;
  }
}
.logos-section {
  margin: 60px auto 0 auto;
  width: 90vw;
  max-width: 1300px;
  text-align: center;
}
.logos-title {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 38px;
}
.logos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.logo-card {
  width: 100%;
  max-width: 380px;
  min-width: 220px;
  height: auto;
  min-height: 180px;
  max-height: 220px;
  background: var(--card-light);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 32px 24px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.logo-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
.logo-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 10px;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  margin-right: 24px;
}
.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}
.logo-details {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--text-main);
  text-align: left;
}
.logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.logo-meta {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.logo-link {
  color: var(--primary);
  font-size: 1rem;
  text-decoration: underline;
  margin-top: 10px;
  font-weight: 500;
  transition: color 0.2s;
}
.logo-link:hover { color: #fff; }
@media (max-width: 900px) {
  .logos-list { gap: 18px; }
  .logo-card {
    max-width: 98vw;
    min-width: 160px;
  }
  .logo-image-wrapper {
    max-width: 100px;
    min-width: 60px;
  }
}
@media (max-width: 600px) {
  .hero-title,
  .categories-title,
  .logos-title {
    font-size: 1.2rem;
  }
  .logo-card {
    max-width: 98vw;
    min-width: 120px;
    padding: 10px 2vw;
  }
  .logo-image-wrapper {
    max-width: 70px;
    min-width: 40px;
  }
}
@media (aspect-ratio: 16/9) {
  .hero-section,
  .logos-section {
    padding-top: 2vw;
    padding-bottom: 2vw;
  }
}
@media (aspect-ratio: 9/16) {
  .hero-section,
  .logos-section {
    padding-top: 4vw;
    padding-bottom: 4vw;
  }
}
.main-content-container {
  width: 96vw;
  max-width: 1300px;
  min-width: 220px;
  margin: 0 auto;
  box-sizing: border-box;
  flex: 1 0 auto;
  margin-bottom: 56px;
}
@media (max-width: 800px), (max-aspect-ratio: 4/3) {
  .main-content-container {
    width: 99vw;
    min-width: 0;
    padding: 0 1vw;
  }
}
@media (max-width: 480px), (max-aspect-ratio: 3/4) {
  .main-content-container {
    width: 100vw;
    padding: 0 0.5vw;
  }
}
.about-section, .about-section .about-text {
  color: #fff;
}
.contact-ref {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 0;
}
.contact-container {
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  width: 100%;
  justify-content: center;
  /* overflow: visible; */
  max-width: 1000px;
  min-width: 960px;
  flex-wrap: nowrap;
/* removed extra closing brace */
}
.contact-info {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #222;
}
.contact-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #232942;
  margin-top: 0;
}
.contact-desc {
  color: #8b8b8b;
  font-size: 1.08rem;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  background: #f3eaff;
  color: #a259ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-label {
  font-size: 0.98rem;
  color: #8b8b8b;
}
.contact-value {
  font-size: 1.08rem;
  color: #232942;
  font-weight: 600;
}
.contact-socials {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.contact-social {
  color: #a259ff;
  font-size: 1.7rem;
  transition: color 0.2s;
}
.contact-social:hover {
  color: #7b3ff2;
}
.contact-form-col {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-form-desc {
  color: #8b8b8b;
  font-size: 1.08rem;
  margin-bottom: 18px;
}
/* Contact form layout and compact input/textarea styling */
.contact-form-ref {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-ref input,
.contact-form-ref textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  background: linear-gradient(120deg, #f5f6fa 80%, #f3eaff 100%);
  color: var(--text-main-light);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s, background 0.3s;
  box-shadow: 0 2px 8px 0 rgba(123,63,242,0.07);
}
.contact-form-ref input {
  min-height: 20px;
}
.contact-form-ref textarea {
  min-height: 28px;
  resize: vertical;
}
.contact-form-ref input:focus,
.contact-form-ref textarea:focus {
  border: 1.5px solid var(--primary);
}
body.dark-mode .contact-form-ref input,
body.dark-mode .contact-form-ref textarea {
  background: var(--card-dark);
  color: var(--text-main-dark);
  border: 1px solid #444;
  border-radius: 12px;
}
.contact-form-row {
  display: flex;
  gap: 18px;
}
.contact-form-row input[name="budget"] {
  flex: 0 0 120px;
  min-width: 0;
  max-width: 160px;
}
.contact-form-row input[name="subject"] {
  flex: 1 1 auto;
  min-width: 0;
}
}
.contact-btn-ref:hover {
  background: linear-gradient(90deg, #a98cff 0%, #7b3ff2 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(123,63,242,0.18);
}
body.dark-mode .contact-btn-ref {
  background: linear-gradient(90deg, #a98cff 60%, #7b3ff2 100%);
  color: #fff;
}
body.dark-mode .contact-btn-ref:hover {
  background: linear-gradient(90deg, #7b3ff2 0%, #a98cff 100%);
}
/* removed orphaned property block */
.contact-btn-ref:hover {
  background: var(--primary-light);
}
body.dark-mode .contact-btn-ref {
  background: var(--primary-light);
  color: #fff;
}
body.dark-mode .contact-btn-ref:hover {
  background: var(--primary);
}
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 32px;
    padding: 32px 12px 24px 12px;
  }
  .contact-info, .contact-form-col {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .contact-ref {
    padding: 18px 0;
  }
  .contact-container {
    padding: 12px 2vw 12px 2vw;
    border-radius: 10px;
  }
  .contact-heading {
    font-size: 1.2rem;
  }
}
.about-section-ref {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 70vh;
  padding: 40px 0 60px 0;
}
.about-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.about-img-main {
  flex: 1.1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.about-img-main img {
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
}
.about-col {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
}
.about-story-card {
  background: #7b3ff2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px 24px 32px;
  margin-bottom: 18px;
  min-width: 320px;
  max-width: 420px;
}
.about-story-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  flex: 1;
}
.about-story-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-content-block {
  margin-top: 12px;
}
.about-content-block .about-heading,
.about-content-block .about-desc {
  color: #232942;
}
.about-heading {
  font-size: 2.1rem;
  font-weight: 700;
  color: #232942;
  margin-bottom: 18px;
}
.about-desc {
  color: #555;
  font-size: 1.13rem;
  line-height: 1.7;
}
.about-info-stats {
  width: 100%;
  max-width: 1200px;
  margin: 48px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.about-info-grid {
  display: flex;
  flex-direction: row;
  gap: 48px;
  width: 100%;
}
.about-info-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  padding: 0;
  min-width: 320px;
  max-width: 420px;
  flex: 1.1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.about-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #232942;
  padding: 22px 28px 12px 28px;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
}
.about-info-table {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.about-info-row {
  display: flex;
  flex-direction: row;
  padding: 14px 28px;
  border-bottom: 1px solid #f7f7f7;
  background: var(--card-light);
  font-size: 1.08rem;
}
.about-info-row:nth-child(even) {
  background: #f5f6fa;
}
.about-info-row:last-child {
  border-bottom: none;
}
.about-info-label {
  color: #7b3ff2;
  font-weight: 700;
  min-width: 90px;
  width: 120px;
}
.about-info-value {
  color: #222;
  font-weight: 400;
}
.about-stats-grid {
  flex: 2;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-left: 32px;
}
.about-stat {
  flex: 0 1 220px;
  min-width: 180px;
  max-width: 260px;
  min-height: 120px;
  max-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.04);
  margin: 0;
  text-align: center;
}
.about-stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #232942;
  margin-bottom: 4px;
}
.about-stat-label {
  color: #7b3ff2;
  font-size: 1.08rem;
  font-weight: 500;
}
@media (max-width: 1000px) {
  .about-stats-grid {
    flex-direction: column;
    gap: 18px;
    margin-left: 0;
    align-items: center;
  }
  .about-stat {
    width: 90vw;
    min-width: 0;
    max-width: 98vw;
    border-radius: 10px;
    padding-left: 0;
  }
}
@media (max-width: 600px) {
  .about-stats-grid {
    gap: 10px;
  }
  .about-stat {
    min-height: 80px;
    max-height: 100px;
    font-size: 0.98rem;
  }
  .about-stat-number {
    font-size: 1.5rem;
  }
  .about-stat-label {
    font-size: 0.98rem;
  }
}
body:not(.dark-mode) .hero-section .hero-title,
body:not(.dark-mode) .hero-section .hero-subtitle,
body:not(.dark-mode) .hero-section .hero-desc {
  color: #232942 !important;
}
body:not(.dark-mode) .hero-section .hero-btn.filled {
  background: #7b3ff2;
  color: #fff !important;
}
body:not(.dark-mode) .hero-section .hero-btn.outline {
  border-color: #7b3ff2;
  color: #7b3ff2 !important;
}
body:not(.dark-mode) .hero-section .hero-btn.outline:hover {
  background: #7b3ff2;
  color: #fff !important;
}

/* Theme toggle button and dark mode styles */
.theme-toggle-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 999;
  background: #fff;
  color: #7b3ff2;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.10);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.theme-toggle-btn:hover {
  background: #7b3ff2;
  color: #fff;
}
body.dark-mode {
  background: #181828;
  color: #f3f3f3;
}
body.dark-mode .navbar-container {
  background: #23233a;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.25);
}
body.dark-mode .navbar-link {
  color: #e0e0e0;
}
body.dark-mode .navbar-link.active, body.dark-mode .navbar-link:hover {
  background: var(--primary);
  color: #fff;
}
body.dark-mode .main-content-container,
body.dark-mode .about-section-ref,
body.dark-mode .about-info-stats {
  background: transparent;
}
body.dark-mode .about-info-card,
body.dark-mode .about-stat,
body.dark-mode .about-story-card,
body.dark-mode .contact-container,
body.dark-mode .logo-card,
body.dark-mode .category-card {
  background: var(--card-dark);
  color: var(--text-main-dark);
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.18);
}
body.dark-mode .about-info-row {
  background: var(--card-dark);
  color: var(--text-main-dark);
}
body.dark-mode .about-info-row:nth-child(even) {
  background: #1a1a2a;
}
body.dark-mode .about-info-title {
  color: #fff;
}
body.dark-mode .about-info-label,
body.dark-mode .about-info-value,
body.dark-mode .about-info-title {
  color: #f3f3f3 !important;
}
body.dark-mode .about-stat-number {
  color: #fff;
}
body.dark-mode .about-content-block .about-heading,
body.dark-mode .about-content-block .about-desc {
  color: #fff;
}
body.dark-mode .footer-section {
  background: #181828;
  color: #fff;
}
body.dark-mode .footer-content {
  color: #a98cff;
}
body.dark-mode .contact-section,
body.dark-mode .contact-label,
body.dark-mode .contact-value,
body.dark-mode .contact-form-desc,
body.dark-mode .contact-heading,
body.dark-mode .contact-desc,
body.dark-mode .contact-social {
  color: #f3f3f3 !important;
}
body.dark-mode .contact-social {
  opacity: 0.9;
}
body.dark-mode .contact-social:hover {
  color: #a98cff !important;
  opacity: 1;
}
body.dark-mode .contact-form-ref input,
body.dark-mode .contact-form-ref textarea {
  color: #f3f3f3 !important;
}
