@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem; /*56px*/

  /*========== Colors ==========*/
  --primary-color-hue: 352;
  --dark-color-lightness: 17%;
  --light-color-lightness: 92%;
  --white-color-lightness: 100%;

  --color-white: hsl(252, 30%, var(--white-color-lightness));
  --color-light: hsl(252, 30%, var(--light-color-lightness));
  --color-gray: hsl(252, 15%, 65%);
  --color-primary: hsl(var(--primary-color-hue), 75%, 60%);
  --color-dark: #439940;
  /*--color-dark: #034d7a;*/

  /* Dark theme overrides */
  --dark-background-color: hsl(252, 30%, 10%);
  --dark-text-color: hsl(252, 30%, 85%);
  --dark-button-background: hsl(252, 30%, 40%);
  --dark-link-color: hsl(252, 30%, 85%);
  --dark-link-hover: hsl(252, 75%, 60%);

  /*========== Font and typography ==========*/
  --body-font: 'Rubik', sans-serif;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;

  /*========== Font weight ==========*/
  --font-medium: 400;
  --font-semi-bold: 600;

  /*========== Margins Bottom ==========*/
  --m-0-5: .5rem;
  --m-0-75: .75rem;
  --m-1: 1rem;
  --m-1-5: 1.5rem;
  --m-2: 2rem;
  --m-2-5: 2.5rem;

  /*========== Card padding ==========*/
  --card-padding: 1.9rem 0.95rem;

  /*========== Border radius ==========*/
  --border-radius: 1.25rem;

  /*========== Box shadow ==========*/
  --box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
}


/*==================================================
  BASE
==================================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--color-dark);
  color: var(--color-light);
  line-height: 1.7;
  font-weight: var(--font-medium);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-theme {
  background-color: var(--dark-background-color);
  color: var(--dark-text-color);
}


/*==================================================
  DARK THEME
==================================================*/

body.dark-theme .btn-default {
  background-color: var(--dark-button-background);
}

body.dark-theme .nav-link {
  color: var(--dark-link-color);
}

body.dark-theme .nav-link:hover {
  color: var(--dark-link-hover);
}

body.dark-theme .nav {
  background-color: var(--dark-background-color);
}

body.dark-theme .hero {
  background: url(bg-dark.jpg);
}


/*==================================================
  GENERAL ELEMENTS
==================================================*/

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--color-dark);
}

h1,
h2,
h3 {
  font-weight: var(--font-semi-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}


/*==================================================
  BUTTONS
==================================================*/

.btn {
  padding: 0.75rem 2rem;
  line-height: 1;
  border-radius: var(--border-radius);
}

.btn:focus {
  outline: 0;
}

@keyframes button-push {
  50% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

.btn-default {
  color: #fff;
  background-color: #000;
  transform: perspective(1px) translateZ(0);
  vertical-align: middle;
  display: inline-block;
  border: none;
}

.btn-default:hover {
  animation-name: button-push;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}


/*==================================================
  LAYOUT
==================================================*/

.container {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}


/*==================================================
  REUSABLE CSS CLASSES
==================================================*/

.section-container {
  padding-top: 3.75rem;
  padding-bottom: 4.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.75s forwards;
  animation-delay: 0.3s;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--m-2-5);
}

.row {
  display: flex;
  flex-wrap: wrap;
}


/*==================================================
  HEADER
==================================================*/

.header {
  width: 100%;
  background-color: var(--color-light);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  /* Prevent mobile browsers from clipping the header */
  display: block;
}

.nav {
  height: calc(var(--header-height) + 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 3rem;
}

.nav-logo {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: 0.125rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav-logo h2 {
  margin: 0;
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: 0.125rem;
  white-space: nowrap;
  line-height: 1;
}

.nav-menu {
  margin-left: auto;
}

.nav-list {
  display: flex;
  column-gap: 3rem;
}

.nav-link {
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav-link:hover {
  color: var(--color-primary);
}

.change-theme {
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-btns {
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

.nav-toggle {
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
}

.active-link {
  position: relative;
}

nav a {
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.05);
  color: #f39c12;
}


/*==================================================
  MAIN / HERO
==================================================*/

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(Display/black-bg-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;

  /* Prevent fixed header from covering the hero */
  padding-top: calc(var(--header-height) + 1.5rem);
}

.section-content {
  max-width: 1000px;
  padding: 20px;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-details .title {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 25px;
  color: #ffffff;
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-details .description {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 17px;
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.6s;
}

.buttons {
  display: flex;
  justify-content: center;
}

.button {
  padding: 15px 30px;
  font-size: 1.2rem;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #000000;
  color: #fff;
}


/*==================================================
  SCROLL DOWN
==================================================*/

.scroll-down {
  position: absolute;
  bottom: var(--m-2-5);
  left: 0;
  width: 100%;
}

.scroll-info {
  color: #fff;
}

.mouse-wrapper {
  font-size: var(--small-font-size);
  display: block;
  margin: auto;
  max-width: 100px;
  text-align: center;
}

@keyframes ani-mouse {
  0% {
    top: 29%;
  }

  15% {
    top: 50%;
  }

  50% {
    top: 50%;
  }

  100% {
    top: 29%;
  }
}

.mouse {
  border: 2px solid var(--color-light);
  display: block;
  height: 1.75rem;
  width: 1.25rem;
  margin: auto;
  margin-top: var(--m-0-75);
  border-radius: var(--border-radius);
  position: relative;
}

.mouse .wheel {
  background-color: var(--color-light);
  border-radius: 50%;
  width: 0.25rem;
  height: 0.25rem;
  position: absolute;
  top: var(--m-0-5);
  left: 40%;
  display: block;
  animation: ani-mouse 1.5s linear infinite;
}


/*==================================================
  ABOUT
==================================================*/

.about {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about .section-title {
  margin-top: 50px;
}

.about-img {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 20px;
  transform: translateX(-20px);
}

.about-content {
  flex: 0 0 75%;
  max-width: 75%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about-content .rounded {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-sizing: border-box;
  color: var(--color-dark);
}

.about-text div {
  margin-top: 20px;
}

.about-content .skills {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.about-content .skills .skill-item {
  flex: 1 1 300%;
  width: 300%;
  max-width: 300%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.about-content .skills .skill-item h4 {
  margin-bottom: 10px;
}

.about-content .skills .skill-item .progress {
  background-color: var(--color-light);
  height: 1rem;
  border-radius: var(--border-radius);
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.about-content .skills .skill-item .progress-in {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: var(--border-radius);
  background-color: var(--color-primary);
  width: 0;
  transition: width 0.4s ease;
}

.about-content .skills .skill-item .skills-percent {
  position: absolute;
  right: 0;
  top: -1.5rem;
  font-size: 0.875rem;
  color: var(--color-dark);
  background-color: transparent;
}


/*==================================================
  FACTS
==================================================*/

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: var(--m-2);
}

.fact-item {
  flex: 1 1 25%;
  max-width: 25%;
  margin-top: var(--m-2-5);
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.fact-item i {
  font-size: var(--h2-font-size);
  color: var(--color-gray);
}


/*==================================================
  MEMBERS
==================================================*/

.members .section-title {
  margin-top: 50px;
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.member-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 24px;
  transition: box-shadow 0.3s;
  margin: 20px;
}

.member-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.member-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eaeaea;
  background: #f5f5f5;
}

.member-details {
  flex: 1;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.member-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
}

.member-roles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.member-roles .role {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: #888;
  margin-right: 4px;
}

.member-roles .programmer {
  background: #6c6ce5;
}

.member-roles .sub-programmer {
  background: #ffd15c;
  color: #222;
}

.member-roles .technical-assistant {
  background: #ff4c60;
}

.member-roles .technical {
  background: #4caf50;
}

.member-roles .writer {
  background: #ff9800;
}


/*==================================================
  SERVICES
==================================================*/

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.services .section-title {
  margin-top: 50px;
  text-align: left;
}

.services .service-item {
  flex: 0 0 30%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  margin: 10px auto;
}

.services .service-item .service-item-inner {
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  text-align: center;
  transform: translateY(0);
  transition: 0.3s;
  width: 100%;
}

.services .service-item .service-item-inner:hover {
  transform: translateY(0.625rem);
}

.services .service-item img {
  margin-bottom: var(--m-0-75);
  max-width: 80px;
  height: auto;
}

.service-item h3 {
  margin-bottom: var(--m-0-5);
  color: #fff;
  font-size: 18px;
}

.service-item p {
  color: #fff;
  font-size: 14px;
}


/*==================================================
  OVERVIEW
==================================================*/

#overview {
  padding: 80px 0;
  background-color: var(--color-dark);
}

#overview .section-title {
  text-align: center;
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--color-white);
  margin-bottom: var(--m-2-5);
}

#overview .overview-item h3 {
  font-size: var(--h3-font-size);
  color: var(--color-white);
  margin-bottom: var(--m-0-5);
}

#overview .overview-item p {
  color: var(--color-light);
  line-height: 1.7;
}

#overview .rounded {
  background-color: hsl(252, 30%, 25%);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}


/*==================================================
  PORTFOLIO
==================================================*/

.portfolio .section-title {
  margin-top: 50px;
}

.portfolio .portfolio-filter {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: var(--m-2-5);
}

.portfolio .portfolio-filter button {
  border: none;
  background-color: transparent;
  font-weight: var(--font-semi-bold);
  text-transform: capitalize;
  margin: 0 var(--m-0-75);
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
  color: #fff;
}

.portfolio .portfolio-filter button.active {
  color: var(--color-primary);
  position: relative;
}

.portfolio .portfolio-filter button.active:before {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.portfolio-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: var(--m-2-5);
}

.portfolio-item-inner {
  position: relative;
  overflow: hidden;
}

.portfolio-item .mask {
  background: rgba(0, 0, 0, 0.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s;
}

.portfolio-item .term {
  color: #fff;
  background: var(--color-primary);
  border-bottom-left-radius: 0.98rem;
  border-bottom-right-radius: 0.98rem;
  position: absolute;
  top: 0;
  left: var(--m-1-5);
  font-size: var(--small-font-size);
  display: inline-block;
  padding: 0.19rem 0.625rem;
  transition: 0.3s;
  transform: translateY(-40px);
}

.portfolio-item-inner:hover .mask {
  opacity: 0.9;
}

.portfolio-item-inner:hover h3,
.portfolio-item-inner:hover span {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 0.98rem;
  padding: 0 1.25rem;
  position: absolute;
  top: 3.75rem;
  transform: translateY(30px);
  transition: 0.3s;
  opacity: 0;
}

.portfolio-item .more-button {
  color: #fff;
  position: absolute;
  bottom: var(--m-1-5);
  left: var(--m-1-5);
  font-size: 1.6rem;
  display: block;
  background: var(--color-primary);
  height: 2.5rem;
  width: 2.5rem;
  cursor: pointer;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  transition: 0.3s;
  opacity: 0;
}


/*==================================================
  CONTACT
==================================================*/

.contact.section {
  background: var(--color-dark);
  padding: 60px 0;
}

.contact .section-title {
  text-align: left;
  margin-bottom: 40px;
  margin-top: 50px;
  color: var(--color-light);
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.contact-form,
.contact-map {
  flex: 1 1 100%;
  max-width: 100%;
  background: #2a2a3d;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-item {
  margin-bottom: 20px;
}

.contact-form .form-control {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--color-light);
  padding: 15px;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
}

.contact-form .form-control::placeholder {
  color: #ffffff;
}

.contact-form .btn-default {
  background: #6c63ff;
  color: #fff;
  padding: 14px 25px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: center;
}

.contact-form .btn-default:hover {
  background: #574fd6;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  min-height: 300px;
}


/*==================================================
  FOOTER
==================================================*/

.footer {
  background-color: #2a2a3d;
  padding: 40px 20px 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
  color: #fff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-links a {
  margin-right: 10px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.social-links a:hover {
  color: #007bff;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  text-align: left;
}


/*==================================================
  FORM / BUTTON TWEAKS
==================================================*/

.form-control {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

.btn-default {
  background: #6c63ff;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-default:hover {
  background: #5848e0;
}


/*==================================================
  SECTION TRANSITIONS
==================================================*/

section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}


/*==================================================
  TABLET RESPONSIVENESS
==================================================*/

@media (max-width: 968px) {

  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav {
    column-gap: 1.5rem;
  }

  .nav-list {
    column-gap: 1.5rem;
  }

  .hero-details .title {
    font-size: 4rem;
  }

  .about-img {
    flex: 0 0 30%;
    max-width: 30%;
  }

  .about-content {
    flex: 0 0 70%;
    max-width: 70%;
  }

  .services .service-item {
    flex: 0 0 30%;
  }
}


/*==================================================
  TABLET / MOBILE
  IMPORTANT:
  DO NOT HIDE .HEADER HERE
==================================================*/

@media (max-width: 768px) {

  .header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: var(--header-height);
    z-index: 1000;
  }

  .nav {
    min-height: calc(var(--header-height) + 0.5rem);
    height: auto;
    padding: 10px 15px;
    column-gap: 1rem;
  }

  .nav-logo h2 {
    font-size: 1.35rem;
  }

  .logo-img {
    width: 35px;
    height: 35px;
  }

  /*
    Keep the desktop navigation usable on tablets.
    It will be converted to a compact mobile layout
    at 600px below.
  */

  .nav-list {
    column-gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: left;
  }

  .services {
    flex-direction: column;
    gap: 15px;
  }

  .services .service-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 auto 15px auto;
  }

  .portfolio .portfolio-filter {
    font-size: 1rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }

  .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .about {
    flex-direction: column;
    gap: 10px;
  }

  .about-img,
  .about-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-img {
    transform: none;
  }

  .footer-container {
    flex-direction: column;
    gap: 15px;
  }

  .footer-column {
    min-width: 0;
    width: 100%;
  }

  #overview {
    padding: 60px 0;
  }

  #overview .section-title {
    font-size: 1.7rem;
  }
}


/*==================================================
  MOBILE PHONES
==================================================*/

@media (max-width: 600px) {

  /*----------------------------------------------
    HEADER
  ----------------------------------------------*/

  .header {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: var(--header-height);
    padding: 0;
    background-color: var(--color-light);
    z-index: 1000;

    /* Make sure the header is not clipped */
    overflow: visible;
  }

  .nav {
    width: 100%;
    min-height: var(--header-height);
    height: auto;
    padding: 10px 15px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-logo h2 {
    font-size: 1.15rem;
    letter-spacing: 0.05rem;
    white-space: nowrap;
  }

  .logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  /*
    Mobile navigation.

    Instead of hiding the entire header, the menu becomes
    horizontally scrollable so the navigation remains visible
    even on small phone screens.
  */

  .nav-menu {
    margin-left: auto;
    max-width: 55%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: max-content;
    white-space: nowrap;
  }

  .nav-link {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .nav-btns {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .change-theme {
    font-size: 1rem;
  }

  .nav-toggle {
    display: none;
  }


  /*----------------------------------------------
    HERO
  ----------------------------------------------*/

  .hero {
    min-height: 100vh;
    height: auto;
    padding: calc(var(--header-height) + 50px) 15px 80px;
    text-align: center;
  }

  .hero-details .title {
    font-size: 2.2rem;
    margin-top: 10px;
  }

  .hero-details .description {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }


  /*----------------------------------------------
    ABOUT
  ----------------------------------------------*/

  .about {
    flex-direction: column;
    gap: 15px;
  }

  .about-img,
  .about-content {
    flex: 1 1 100%;
    max-width: 100%;
    transform: none;
  }

  .about-content .rounded {
    padding: 1rem;
  }


  /*----------------------------------------------
    MEMBERS
  ----------------------------------------------*/

  .members-list {
    gap: 20px;
  }

  .member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin: 10px;
  }

  .member-image img {
    width: 90px;
    height: 90px;
  }

  .member-details {
    width: 100%;
  }

  .member-roles {
    justify-content: center;
  }


  /*----------------------------------------------
    SERVICES
  ----------------------------------------------*/

  .services {
    flex-direction: column;
    gap: 15px;
  }

  .services .service-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 auto;
  }


  /*----------------------------------------------
    PORTFOLIO
  ----------------------------------------------*/

  .portfolio-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }


  /*----------------------------------------------
    CONTACT
  ----------------------------------------------*/

  .contact .row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form,
  .contact-map {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px;
  }

  .contact-form .form-control {
    font-size: 0.9rem;
    padding: 12px;
    max-width: 100%;
  }


  /*----------------------------------------------
    FOOTER
  ----------------------------------------------*/

  .footer-container {
    flex-direction: column;
    gap: 15px;
  }

  .footer-column {
    width: 100%;
    min-width: 0;
  }

  .footer {
    padding: 20px 10px;
    font-size: 12px;
  }
}


/*==================================================
  SMALL PHONES
==================================================*/

@media only screen and (max-width: 480px) {

  .section-title {
    font-size: 1.2rem;
  }

  .hero-details .title {
    font-size: 2rem;
  }

  .hero-details .description {
    font-size: 1rem;
  }

  .button {
    padding: 10px 15px;
    font-size: 1rem;
  }

  .portfolio .portfolio-filter {
    font-size: 0.9rem;
  }

  .about-content .rounded {
    padding: 1rem 0.5rem;
  }

  .footer {
    padding: 20px 5px 10px;
    font-size: 12px;
  }

  /* Smaller header */
  .nav {
    padding: 8px 10px;
  }

  .nav-logo h2 {
    font-size: 1rem;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .nav-menu {
    max-width: 50%;
  }

  .nav-list {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.72rem;
  }
}


/*==================================================
  ULTRA-SMALL PHONES
==================================================*/

@media (max-width: 400px) {

  .hero-details .title {
    font-size: 1.8rem;
  }

  .hero-details .description {
    font-size: 0.9rem;
  }

  .button {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .about-content .rounded {
    padding: 0.8rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .nav-logo h2 {
    font-size: 0.9rem;
  }

  .logo-img {
    width: 26px;
    height: 26px;
  }

  .nav-menu {
    max-width: 48%;
  }

  .nav-list {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.68rem;
  }

  .nav-btns {
    gap: 5px;
  }
}


/*==================================================
  VERY SMALL SCREENS
==================================================*/

@media (max-width: 320px) {

  .nav-logo h2 {
    font-size: 0.8rem;
  }

  .logo-img {
    width: 24px;
    height: 24px;
  }

  .nav-menu {
    max-width: 45%;
  }

  .nav-link {
    font-size: 0.62rem;
  }

  .nav-list {
    gap: 8px;
  }
}


/*==================================================
  INSTALLATION IMAGE
==================================================*/

.installation-image {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.installation-image img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}