/* ==========================================================================
WEBSITE HOME | ABOUT, CONTACT, EVENTS & REGISTRATION
========================================================================== */

/* ==========================================================================
1. GLOBAL VARIABLES & SHARED FOUNDATIONS
========================================================================== */

:root {
  --body-bg: #020305;
  --body-gradient:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.055), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(34, 211, 238, 0.035), transparent 28%),
    linear-gradient(145deg, #0b0e14 0%, #020305 72%);
  --body-text: #ffffff;
  --panel-bg: linear-gradient(145deg, rgba(16, 20, 28, 0.72), rgba(5, 5, 5, 0.9));
  --accent-cyan: #22d3ee;
  --accent-purple: #a855f7;
  --accent-pink: #ff00fb;
  --border-color: rgba(0, 209, 255, 0.25);
  --brand-text: #22d3ee;
  --brand-subtext: rgba(255, 255, 255, 0.6);
  --card-list-text: #ffffff;

  /* Floating navigation */

  --nav-bg: rgba(5, 7, 11, 0.82);
  --nav-text: rgba(255, 255, 255, 0.5);
  --nav-hover-bg: rgba(34, 211, 238, 0.15);
  --banner-img-bg: rgba(255, 255, 255, 0.95);

  /* Dark-mode subtitles */

  --card-sub-cyan: #22d3ee;
  --card-sub-purple: #a855f7;
  --card-sub-pink: #ff00fb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--body-gradient);
  background-attachment: fixed;
  background-color: var(--body-bg) !important;
  color: var(--body-text) !important;
  font-family: "Urbanist", "Segoe UI", Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

[id^="section-"] {
  scroll-margin-top: 90px;
}

h1 {
  font-size: clamp(38px, 7vw, 85px);
  margin: 20px 0 10px 0;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(0, 209, 255, 0.4);
  text-transform: uppercase;
}

.glass-panel,
.project-card {
  background: var(--panel-bg) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 44px rgba(0, 0, 0, 0.34);
  border-radius: 30px;
  padding: clamp(25px, 5%, 45px);
  margin: 25px 0;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  cursor: pointer;
  color: var(--body-text) !important;
}

.glass-panel:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 209, 255, 0.15);
  border-color: var(--accent-cyan) !important;
}

.sub-purple {
  color: var(--card-sub-purple) !important;
  margin: 0;
  font-size: 28px !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.events-section {
  margin-top: 20px !important;
  padding: 35px !important;
  text-align: left;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.glass-panel {
  border-radius: 30px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45) !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.glass-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.6) !important;
}

.project-card {
  padding: 42px !important;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}

h2 {
  letter-spacing: 0.3px;
}

.section-title {
  font-size: 42px !important;
  line-height: 1.15;
  margin: 0 0 30px;
  font-weight: 800;
  letter-spacing: 1px;
}

html {
  scroll-behavior: smooth;
}

.patent-action-link {
  color: #fff;
  background: linear-gradient(135deg, #ff334f, #37e07c);
  box-shadow: 0 10px 25px rgba(255, 51, 79, 0.2);
}

.patent-action-link:hover,
.patent-action-link:focus-visible {
  box-shadow:
    0 14px 30px rgba(255, 51, 79, 0.22),
    0 8px 22px rgba(55, 224, 124, 0.2);
}

/* ==========================================================================
2. MAIN NAVIGATION
========================================================================== */

.side-navigation-list,
.side-navigation-list li {
  display: contents;
}

.side-navigation-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-navigation {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  width: 65px;
  background: var(--nav-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.side-navigation a {
  color: var(--nav-text);
  font-size: 20px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.side-navigation a:hover {
  color: var(--accent-cyan);
  background: var(--nav-hover-bg);
  transform: scale(1.1);
}

.side-navigation a::after {
  content: attr(data-title);
  position: absolute;
  left: 75px;
  background: var(--panel-bg);
  color: var(--body-text);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.side-navigation a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.top-portfolio-button {
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 30, 0.96), rgba(28, 15, 52, 0.96)) padding-box,
    linear-gradient(135deg, var(--accent-cyan), var(--accent-purple)) border-box;
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(34, 211, 238, 0.14);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.top-portfolio-button:hover,
.top-portfolio-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(168, 85, 247, 0.24);
  outline: none;
}

.top-portfolio-button .fa-id-card {
  color: var(--accent-cyan);
}

.top-portfolio-button .fa-arrow-right {
  color: #c084fc;
  font-size: 12px;
}

/* ==========================================================================
3. HOME HERO
========================================================================== */

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

#site-header {
  width: 100%;
}



.subtitle {
  opacity: 0.8;
  font-size: 19px;
  margin-bottom: 40px;
  font-weight: 400;
}

.page-wrapper {
  max-width: 1200px;
  margin: auto;
}

.home-page .page-wrapper {
  padding-top: 95px;
}

.home-hero {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-hero 



.home-hero .subtitle {
  width: 100%;
  max-width: 850px;
  margin: 18px auto 30px;
  line-height: 1.65;
}

/* ==========================================================================
4. ABOUT US
========================================================================== */

.homepage-section-title {
  font-size: 42px !important;
  line-height: 1.15;
  margin: 0 0 30px;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-section {
  margin-top: 20px !important;
  text-align: left;
  padding: 35px !important;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-card {
  background: linear-gradient(145deg, rgba(16, 20, 28, 0.58), rgba(5, 5, 5, 0.82));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
}

.about-card h3 {
  color: var(--accent-cyan);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 800;
}

.about-card p {
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 15px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
5. CONTACT US
========================================================================== */

.profile-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 40px !important;
  margin: 50px 0 !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.profile-img {
  width: 500px !important;
  height: auto !important;
  border-radius: 30px !important;
  border: 3px solid var(--border-color) !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.final-identity-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
  width: 100%;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.brand-box:hover {
  transform: translateX(8px);
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--accent-cyan);
}

.brand-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-info a {
  color: var(--brand-text) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 21px !important;
  line-height: 1.2;
}

.brand-info span {
  color: var(--brand-subtext) !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.statement-text {
  font-size: 21px !important;
  color: var(--body-text) !important;
  margin: 0;
  line-height: 1.4;
}

.profile-container {
  gap: 42px;
}

.home-contact-panel {
  flex: 1;
  min-width: 320px;
  margin: 0;
  padding: 38px;
}

.home-contact-panel .statement-text {
  margin-bottom: 24px;
}

.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 25px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.24);
}

.contact-linkedin .contact-icon {
  background: #0a66c2;
}

.contact-github .contact-icon {
  background: #24292f;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-email .contact-icon {
  background: linear-gradient(135deg, #ea4335, #c5221f);
}

.contact-university .contact-icon {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-logo img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  box-sizing: border-box;
}

.cv-request-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.07), rgba(168, 85, 247, 0.09));
  border: 1px solid var(--border-color);
  border-left: 4px solid #fbbf24;
  border-radius: 18px;
  text-align: left;
}

.cv-request-card > i {
  margin-top: 4px;
  color: #fbbf24;
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
}

.cv-request-card p {
  margin: 0;
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.65;
}

.cv-request-card strong {
  color: #fbbf24;
}

/* ==========================================================================
6. EVENTS & NEWS
========================================================================== */

.event-card {
  min-width: 0;
  padding: 28px;
  background: linear-gradient(145deg, rgba(16, 20, 28, 0.58), rgba(5, 5, 5, 0.82));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-sizing: border-box;
}

.event-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-pink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.event-card h3 {
  margin: 0 0 16px;
  color: var(--accent-cyan);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.event-card p {
  margin: 0;
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.8;
}

.event-card strong {
  color: var(--brand-text);
}

.home-page .event-card {
  display: flex;
  flex-direction: column;
}

.event-action-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(110deg, rgba(37, 211, 102, 0.95), rgba(18, 140, 126, 0.92) 42%, rgba(10, 102, 194, 0.92));
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.event-action-link:hover,
.event-action-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 102, 194, 0.3);
  outline: none;
}

.event-action-link i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.event-action-link:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
7. REGISTRATION FORM
========================================================================== */

#registrationForm input,
#registrationForm textarea {
  color: #f3eadc !important;
  font-family: "Urbanist", "Segoe UI", Arial, sans-serif !important;
  caret-color: var(--accent-cyan);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

#registrationForm input::placeholder,
#registrationForm textarea::placeholder {
  color: rgba(243, 234, 220, 0.45);
}

#registrationForm input:hover,
#registrationForm textarea:hover {
  border-color: var(--accent-cyan) !important;
}

#registrationForm input:focus,
#registrationForm textarea:focus {
  outline: none;
  border-color: var(--accent-pink) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 16px rgba(255, 0, 251, 0.22);
}

.home-page .about-section,
.home-page .events-section,
.registration-section {
  margin: 40px auto;
}

.registration-section > p {
  margin-bottom: 24px;
  color: var(--body-text);
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-field-wide,
.registration-submit,
.form-message {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--brand-text);
  font-weight: 700;
}

.registration-form input,
.registration-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  color: var(--brand-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.registration-form input:focus,
.registration-form textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
  outline: none;
}

.registration-submit {
  padding: 15px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

/* ========================================================================== 
8. PROFESSIONAL PORTFOLIO ENTRY
========================================================================== */

.portfolio-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  color: #fff;
  background: linear-gradient(115deg, #d4af37 0%, #c87949 42%, #9333ea 100%);
  border-radius: 999px;
  box-shadow:
    0 14px 34px rgba(147, 51, 234, 0.28),
    0 0 22px rgba(212, 175, 55, 0.16);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.portfolio-cta a:hover,
.portfolio-cta a:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow:
    0 18px 40px rgba(147, 51, 234, 0.34),
    0 0 28px rgba(212, 175, 55, 0.24);
  outline: none;
}

.portfolio-cta {
  margin: 58px auto;
  padding: 42px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border-color);
  border-radius: 28px;
}

.portfolio-cta p {
  margin: 0 0 22px;
  color: var(--body-text);
  font-size: 19px;
}

/* ========================================================================== 
9. FOOTER
========================================================================== */

#site-footer {
  width: 100%;
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-copyright {
  opacity: 0.6;
}

.footer-source-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.footer-source-link:hover,
.footer-source-link:focus-visible {
  color: #22d3ee;
  text-shadow:
    0 0 8px rgba(34, 211, 238, 0.8),
    0 0 18px rgba(34, 211, 238, 0.55);
  outline: none;
}

/* ========================================================================== 
10. RESPONSIVE DESIGN & MEDIA QUERIES
========================================================================== */

@media (max-width: 1200px) {
  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .side-navigation {
    display: flex;
    position: sticky;
    top: 10px;
    left: auto;
    transform: none;
    width: calc(100% - 30px);
    max-width: 900px;
    height: auto;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    margin: 10px auto;
    border-radius: 22px;
  }

  .side-navigation a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .side-navigation a::after {
    display: none;
  }
}

@media (max-width: 1200px) {
  .profile-container {
    flex-direction: column !important;
    gap: 25px !important;
  }
  .profile-img {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 600px) {
  .page-wrapper {
    padding: 20px 20px !important;
  }

  h1 {
    font-size: 24px !important;
    letter-spacing: 0.5px !important;
    margin: 10px 0 6px 0 !important;
  }

  .subtitle {
    font-size: 12px !important;
    margin-bottom: 20px !important;
    opacity: 0.7;
  }

  .sub-purple {
    font-size: 18px !important;
  }

  

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

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

@media (max-width: 600px) {
  #section-contact > .glass-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 20px !important;
  }

  .final-identity-bar {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .profile-container {
    gap: 24px !important;
  }

  .profile-img {
    width: 38% !important;
    max-width: 390px !important;
  }

  #section-contact > .glass-panel {
    min-width: 0 !important;
    padding: 24px !important;
  }

  #section-contact > .glass-panel > div {
    padding: 20px !important;
  }

  #section-contact .homepage-section-title {
    font-size: 36px !important;
    margin-bottom: 22px;
  }

  #section-contact .statement-text {
    font-size: 18px !important;
  }

  #section-contact .final-identity-bar {
    gap: 12px;
    margin: 16px 0;
  }

  #section-contact .brand-box {
    min-width: 0;
    gap: 10px;
    padding: 12px !important;
  }

  #section-contact .brand-info {
    min-width: 0;
  }

  #section-contact .brand-info a {
    font-size: 17px !important;
    overflow-wrap: anywhere;
  }

  #section-contact .brand-info span {
    font-size: 10px !important;
    letter-spacing: 0.5px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }

  .page-wrapper {
    width: 100%;
    padding: 64px 12px 18px !important;
  }

  .project-card {
    padding: 18px !important;
  }

  .section-title,
  .homepage-section-title {
    font-size: 29px !important;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .about-section {
    padding: 18px !important;
  }

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

  .about-card {
    width: 100%;
    min-width: 0;
    padding: 18px;
    box-sizing: border-box;
    text-align: left;
  }

  .about-card h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .about-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-card {
    width: 100%;
    min-width: 0;
    padding: 18px;
    text-align: left;
  }

  .event-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
    line-height: 1.3;
  }

  .event-card p {
    font-size: 15px;
    line-height: 1.6;
  }

  .profile-container {
    width: 100% !important;
    margin: 30px 0 !important;
    gap: 18px !important;
  }

  .profile-img {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    max-height: 440px;
  }

  #section-contact > .glass-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    box-sizing: border-box;
  }

  #section-contact > .glass-panel > div {
    padding: 16px !important;
  }

  #section-contact .statement-text {
    font-size: 15px !important;
  }

  #section-contact .final-identity-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0 0;
  }

  #section-contact .brand-box {
    min-width: 0;
    padding: 12px !important;
  }

  #section-contact .brand-info {
    min-width: 0;
  }

  #section-contact .brand-info a,
  #section-contact .brand-info span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 1200px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  header h1,
  .page-wrapper > header h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .side-navigation {
    position: fixed !important;
    top: auto !important;
    right: 12px !important;
    bottom: 10px !important;
    left: 12px !important;
    width: auto !important;
    height: 56px !important;
    padding: 7px 10px !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    transform: none !important;
    border-radius: 18px !important;
  }

  .page-wrapper {
    max-width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1500px) {
  body:not(.home-page) .side-navigation {
    position: fixed !important;
    top: 16px !important;
    right: auto !important;
    bottom: auto !important;
    left: 20px !important;
    width: auto !important;
    max-width: calc(100vw - 390px) !important;
    height: 58px !important;
    padding: 7px 12px !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    overflow-x: auto !important;
    transform: none !important;
    border-radius: 18px !important;
  }

  body:not(.home-page) .side-navigation a {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  body:not(.home-page) .page-wrapper {
    padding-top: 92px !important;
  }
}

@media (max-width: 900px) {
  body:not(.home-page) .side-navigation {
    position: fixed !important;
    top: 76px !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    height: 56px !important;
    padding: 7px 10px !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    transform: none !important;
    border-radius: 18px !important;
  }

  body:not(.home-page) .page-wrapper {
    padding-top: 150px !important;
  }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .home-page .side-navigation {
    position: fixed !important;
    top: 16px !important;
    right: auto !important;
    bottom: auto !important;
    left: 16px !important;
    z-index: 1100;
    display: flex !important;
    width: auto !important;
    height: 64px !important;
    padding: 8px 12px !important;
    transform: none !important;
    flex-flow: row nowrap !important;
  }

  .home-page .side-navigation a {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .home-page .page-wrapper {
    padding-top: 100px !important;
  }
}

@media (max-width: 700px) {
  .top-portfolio-button {
    top: 12px;
    right: 12px;
    min-height: 44px;
    padding: 0 14px;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .top-portfolio-button .fa-arrow-right {
    display: none;
  }

  .home-page .side-navigation {
    position: fixed !important;
    top: 68px !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    z-index: 1100;
    display: flex !important;
    width: auto !important;
    height: 58px !important;
    padding: 7px 9px !important;
    transform: none !important;
    flex-flow: row nowrap !important;
    justify-content: space-around;
    overflow-x: auto;
  }

  .home-page .side-navigation a {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .home-page .side-navigation a::after {
    display: none;
  }

  .home-page .page-wrapper {
    padding-top: 148px !important;
  }

  .home-hero {
    min-height: 500px;
    overflow: hidden;
    padding-inline: 6px;
  }

  .home-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.75rem, 8vw, 2.15rem) !important;
    line-height: 1.18;
    letter-spacing: 0 !important;
    white-space: normal;
    overflow-wrap: normal;
  }

  .home-hero .subtitle {
    max-width: 330px;
    font-size: 13px !important;
    line-height: 1.55;
  }

  