* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: rgba(137, 43, 226, 0.284);
}

a {
  color: inherit;
}

.main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: white;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.logo img {
  height: 50px;
  content: url('img/logo.png');
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin: 0 20px;
  position: relative;
}

.main-nav ul li a {
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: purple;
  transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover {
  color: purple;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.programslist .programslist1{
        display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    color: #000000;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.programslist:hover .programslist1{
     display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}
.programslist1 ul{
    flex-direction: column;
}
.programslist1 ul li {
    margin: 0;
    width: 100%;
}
.programslist1 ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}
.programslist1 ul li a:hover {
    background-color: #000000;
    color: rgb(254, 254, 255);
}

.programslist1 ul li a i {
    margin-left: 8px;
}

.others .other-main {
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: rgb(6, 6, 6);
  min-width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.others:hover .other-main {
  display: block;
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.other-main ul {
  display: flex;
  flex-direction: column;
}

.other-main ul li {
  margin: 0;
  width: 100%;
}

.other-main ul li a {
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  white-space: nowrap;
}

.other-main ul li a:hover {
  background-color: #212128;
  color: rgb(255, 254, 255);
}

.other-main ul li a i {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.4s ease-in-out;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  color: white;
  background-color: #c500ed;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  padding-top: 100px;
}

.side-menu nav ul {
  display: flex;
  flex-direction: column;
}

.side-menu nav li {
  width: 100%;
}

.side-menu nav a {
  display: block;
  padding: 18px 30px;
  font-size: 1.6em;
  font-weight: lighter;
  transition: background-color 0.3s, color 0.3s;
}

.side-menu nav a:hover {
  color: #ffffff;
}

#menu-toggle:checked ~ .side-menu {
  transform: translateX(0);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.653), rgba(0, 0, 0, 0.336)), url(../img/klaudia-piaskowska-g55bG1O5Lf0-unsplash.jpg) center center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.gallery-hero h1 {
  font-size: 13rem;
  display: flex;
  gap: 5rem;
  font-family: Arial, sans-serif;
  text-align: center;
}

.solid {
  color: #a259ff;
  font-weight: bold;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1px white;
  font-weight: bold;
}

    :root {
        --primary-bg: #ad0aab61;
        --secondary-bg: #2a2a2a;
        --text-color: #f0f0f0;
        --accent-color: #bf00ff;
    }

    .page {
        background-color: rgba(0, 0, 0, 0.801);
        color: var(--text-color);
        padding: 5rem 0;
        text-align: center;
    }

    .container {
        max-width: 90%;
        margin: auto;
    }

    .filter-buttons {
        margin-bottom: 3rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        background: transparent;
        border: 1px solid var(--accent-color);
        color: var(--text-color);
        padding: 0.75rem 1.5rem;
        margin: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        font-weight: bold;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background-color: var(--accent-color);
        color: var(--text-color);
    }

    .portfoliogrid {
        column-count: 4;
        column-gap: 1.5rem;
    }

    .griditem {
        margin-bottom: 1.5rem;
        overflow: hidden;
        break-inside: avoid;
        position: relative;
    }

    .griditem img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .griditem:hover img {
        transform: scale(1.05);
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .griditem:hover .overlay {
        opacity: 1;
    }

    .overlay-text {
        font-size: 1.5rem;
        font-weight: bold;
    }

    @media (max-width: 1200px) {
        .portfoliogrid {
            column-count: 3;
        }
    }

    @media (max-width: 768px) {
        .portfoliogrid {
            column-count: 2;
        }
    }

    @media (max-width: 480px) {
        .portfoliogrid {
            column-count: 1;
        }
    }



@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .gallery-hero {
    height: 60vh;
  }

  .gallery-hero h1 {
    font-size: 8rem;
    gap: 3rem;
    flex-direction: column;
  }

  .portfoliogrid {
    columns: 2 200px;
  }

  
}

@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 4rem;
    gap: 2rem;
  }

  .portfoliogrid {
    columns: 1;
  }

  .filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

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

  .logo1 h4 {
    font-size: 3em;
    margin-left: 0;
    margin-top: 10px;
  }

}

/* =================================== */
/* Responsive Footer */
/* =================================== */
/* Footer Base Styles */
.footer {
  background-color: #000;
  color: #fff;
  padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 20px); /* Fluid padding based on viewport */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 5vw, 40px); /* Responsive gap scaling */
  font-family: 'Inter', sans-serif;
  width: 100%;
}

/* Top Section: Logo and Heading */
.footer1 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: clamp(20px, 4vw, 30px);
}

.logo1 {
  display: flex;
  flex-direction: column; /* Default stack for mobile */
  align-items: center;
  gap: clamp(10px, 3vw, 15px);
  text-align: center;
}

.logo1 img {
  height: clamp(50px, 10vw, 80px); /* Fluid image height */
  width: auto;
}

.logo1 h4 {
  font-size: 6.5em; /* Responsive font scaling */
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

/* Middle Section: Contact Buttons */
.contact-bthn {
  display: flex;
  flex-direction: column; /* Stack vertically on mobile */
  align-items: center;
  gap: clamp(10px, 3vw, 20px);
  width: 100%;
  max-width: 400px; /* Prevent excessive width on small screens */
}

.btn33, .btn34 {
  padding: clamp(10px, 3vw, 15px) clamp(20px, 5vw, 30px);
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%; /* Full width on mobile */
  text-align: center;
}

.btn33:hover, .btn34:hover {
  background-color: #fff;
  color: #000;
}

/* Bottom Section: Credentials and Links */
.credentials {
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack on mobile */
  align-items: center;
  gap: clamp(15px, 4vw, 20px);
  text-align: center;
}

.credentials p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 400;
  margin: 0;
}

.links2 ul {
  display: flex;
  flex-wrap: wrap; /* Wrap links if needed */
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  padding: 0;
}

.links2 .wow {
  border-right: 1px solid #bf00ff;
  padding-right: clamp(10px, 3vw, 15px);
  font-weight: 600;
}

.links2 ul li a {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 500;
  transition: color 0.3s ease;
}

.links2 ul li a:hover {
  color: #bf00ff;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
  .footer {
    padding: clamp(50px, 5vw, 60px) clamp(20px, 5vw, 40px);
  }

  .logo1 {
    flex-direction: row; /* Horizontal on larger screens */
    gap: 20px;
    text-align: left;
  }

  .logo1 h4 {
    margin-left: 20px;
  }

  .contact-bthn {
    flex-direction: row; /* Side-by-side buttons */
    max-width: none;
    width: auto;
  }

  .btn33, .btn34 {
    width: auto; /* Auto width on larger screens */
  }

  .credentials {
    flex-direction: row; /* Horizontal alignment */
    justify-content: space-between;
  }

  .links2 ul {
    flex-wrap: nowrap; /* No wrap on larger screens */
  }

  .links2 .wow {
    display: block; /* Show "Follow Us" on larger screens */
  }
}

@media (min-width: 1024px) {
  .footer1 {
    justify-content: flex-start; /* Align to left on desktop */
  }

  .contact-bthn {
    width: auto;
  }

  .credentials {
    width: 100%;
  }
}