/* Main title styles */
.egarscan-title {
    margin-left: 20%;
    font-size: 10rem;
    font-weight: bold;
}
.navbar {
    background: #000000
}

.nav-item::after {
    content: '';
    display: block;
    width: 0px;
    height: 2px;
    background: #ffffff;
    transition: 0.4s
}

.nav-item:hover::after {
    width: 100%
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff
}

.nav-link {
    padding: 0px 5px;
    transition: 0.2s
}


@media (max-width: 1920px) {
    .egarscan-title {
        font-size: 7rem; /* Smaller font size on medium screens (tablets) */
    }
}

/* Responsive font size for smaller screens */
@media (max-width: 1280px) {
    .egarscan-title {
        font-size: 5rem; /* Smaller font size on medium screens (tablets) */
    }
}

/* Responsive font size for smaller screens */
@media (max-width: 768px) {
    .egarscan-title {
        margin-left: 10%;
        font-size: 3rem; /* Smaller font size on medium screens (tablets) */
    }
}

/* Right side image */
.background-image {
    background-image: url('./images/rightimage.webp');
    background-size: contain; /* Ensure the image scales down to fit within the container */
    background-position: center;
    height: 100vh; /* Image fills the full viewport height */
    background-repeat: no-repeat; /* Prevent image repetition */
}

/* Optional: Make sure the image doesn't stretch excessively on very narrow screens */
@media (max-width: 576px) {
    .background-image {
        height: auto; /* Let the image's height adjust for smaller screens */
    }
}

/* Separator styling */
.separator {
    background-color: #000; /* Black separator */
    height: 100%; /* Full height */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .egarscan-title {
        font-size: 6rem;
    }

    .separator {
        display: none; /* Remove separator on smaller screens */
    }

    .col-md-1 {
        width: 0; /* Prevent the middle column from taking space */
    }

    .col-md-6 {
        width: 100%; /* Let both columns stack on top of each other */
    }
}

.footer {
    background: #000000;
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e2e2;
    margin-bottom: 15px;
}

.footer-text {
    color: #d8d8d8;
    font-size: 0.9rem;
    max-width: 300px;
}

.social-links {
    margin: 20px 0;
}

.social-link {
    color: #dadada;
    margin-right: 20px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #0d6efd;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #b9b9b9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #ebebeb;
    font-size: 0.85rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/*===== portfolio ONE =====*/
.portfolio-one {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .portfolio-one .portfolio-menu button {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-3);
    line-height: 48px;
    padding: 0 30px;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    display: inline-block;
    z-index: 5;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    cursor: pointer;
    margin-right: 4px;
    text-transform: uppercase;
  }
  .portfolio-one .portfolio-menu button:last-child {
    margin-right: 0;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .portfolio-one .portfolio-menu button {
      font-size: 14px;
      padding: 0 26px;
    }
  }
  @media (max-width: 767px) {
    .portfolio-one .portfolio-menu button {
      font-size: 14px;
      padding: 0 22px;
      line-height: 42px;
    }
  }
  .portfolio-one .portfolio-menu button::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
  }
  .portfolio-one .portfolio-menu button:hover, .portfolio-one .portfolio-menu button.active {
    color: var(--white);
  }
  .portfolio-one .portfolio-menu button:hover::before, .portfolio-one .portfolio-menu button.active::before {
    opacity: 1;
  }
  .portfolio-one .hide {
    display: none;
  }
  .portfolio-one .show {
    display: block;
  }
  
  .portfolio-style-one {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 30px;
  }
  .portfolio-style-one .portfolio-image img {
    width: 100%;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
  }
  .portfolio-style-one .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
  }
  .portfolio-style-one .portfolio-content {
    padding: 16px;
  }
  .portfolio-style-one .portfolio-icon {
    position: relative;
    display: inline-block;
  }
  .portfolio-style-one .portfolio-icon a {
    font-size: 30px;
    color: var(--white);
    position: relative;
    z-index: 5;
    line-height: 90px;
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
  }
  .portfolio-style-one .portfolio-icon a:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: transparent;
  }
  .portfolio-style-one .portfolio-text {
    padding-top: 24px;
  }
  @media (max-width: 767px) {
    .portfolio-style-one .portfolio-text {
      padding-top: 10px;
    }
  }
  .portfolio-style-one .portfolio-title a {
    color: var(--white);
    font-size: 24px;
    line-height: 30px;
  }
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .portfolio-style-one .portfolio-title a {
      font-size: 20px;
    }
  }
  @media (max-width: 767px) {
    .portfolio-style-one .portfolio-title a {
      font-size: 20px;
    }
  }
  .portfolio-style-one .text {
    color: var(--white);
    margin-top: 8px;
    opacity: 0.7;
  }
  .portfolio-style-one:hover .portfolio-image img {
    -webkit-filter: blur(8px);
    -moz-filter: blur(8px);
    filter: blur(8px);
  }
  .portfolio-style-one:hover .portfolio-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  .break{
    background-image: url("./images/section.jpg");
    background-size: cover;
    min-height: 400px;
  }