@import url('https://fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,900');

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #fff;
  color: #fff;
  font-size: 100%;
  line-height: 24px;
  margin: 0;
  padding: 0;
  font-family: Calibri, sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Calibri, sans-serif;
}

/* Navigation */

/* ******************************************************
  Script Top
*********************************************************/

.ScriptTop {
  background: #fff;
  float: left;
  font-size: 0.69em;
  font-weight: 600;
  line-height: 2.2;
  padding: 12px 0;
  text-transform: uppercase;
  width: 100%;
}

.ScriptTop ul {
  margin: 24px 0;
  padding: 0;
  text-align: left;
}

.ScriptTop li {
  list-style: none;  
  display: inline-block;
}

.ScriptTop li a {
  background: #6a4aed;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 18px;
  text-decoration: none;
  text-transform: capitalize;
}

.ScriptTop li a:hover {
  background: #000;
  color: #fff;
}

/* ******************************************************
  Script Header
*********************************************************/

.ScriptHeader {
  float: left;
  width: 100%;
  padding: 4em 0;
}

.rt-heading {
  margin: 0 auto;
  text-align: center;
}
.rt-heading p {
    margin: 0;
    padding: 0;
    word-break: break-word;
}

.Scriptcontent {
  
}


.rt-container {
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  color :#000;
}

.rt-row:before, .rt-row:after {
  display: table;
  line-height: 0;
  content: "";
}

.rt-row:after {
  clear: both;
}

/* Main gallery layout */
/* Main Gallery Styling */
/* Main Gallery Styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Staggered appearance */
  gap: 8px; /* Adjusted gap for tighter layout */
  padding: 90px; /* Added padding around the grid */
  margin-top: 80px; /* Adjusted to avoid navbar overlap */
}

/* General Styling for Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  margin: 0;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Caption Overlay Styling */
.caption {
  position: absolute;
  top: 0; /* Changed to top for overlay */
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 8px 0; /* Reduced padding */
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1; /* Caption appears on hover */
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

.gallery-item .thumb {
  display: inline-block;
  width: 100%;
  height: 100%;
  min-height: unset;
  text-align: center;
  background-color: #333;
  transition: filter 500ms, transform 500ms;
}

.ie-fix .gallery-item .thumb {
  width: auto;
}

.gallery-item .placeholder {
  filter: blur(0);
}



.lightbox-wrapper {
  display: none;
   backdrop-filter: blur(50px); 
    -webkit-backdrop-filter: blur(2px); 
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.lightbox {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #999;
}

.lightbox .lightbox-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 0.1em;
  font-weight: 600;
  text-align: center;
  font-size: 0.9em; 
}

.lightbox .lightbox-header > * {
  opacity: .75;
}

.lightbox .lightbox-close {
  position: relative;
  height: 1.85rem;
  width: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  border: none;
}

.lightbox .lightbox-close::before, 
.lightbox .lightbox-close::after {
  position: absolute;
  content: "";
  height: 4px;
  width: 80%;
  background-color: #999;
}

.lightbox .lightbox-close::before {
  transform: rotate(-45deg);
}

.lightbox .lightbox-close::after {
  transform: rotate(45deg);
}

.lightbox .lightbox-close:hover {
  opacity: 1;
}

.lightbox .lightbox-slides-wrapper {
  flex-grow: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.lightbox .lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 4rem;
  height: 4rem;
  padding: .5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5em;
  opacity: .75;
  cursor: pointer;
  filter: drop-shadow(0 0 7px #000);
}

.lightbox .lightbox-arrow:hover {
  opacity: 1;
}

.lightbox .lightbox-arrow.arrow-left {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='53' viewBox='0 0 32 53' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 26.5L27.3171 0L32 4.54286L9.36585 26.5L32 48.4571L27.3171 53L0 26.5Z' fill='white'/%3E%3C/svg%3E");
}

.lightbox .lightbox-arrow.arrow-right {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='53' viewBox='0 0 32 53' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M32 26.5L4.68293 53L0 48.4571L22.6341 26.5L3.83911e-06 4.54286L4.68293 0L32 26.5Z' fill='white'/%3E%3C/svg%3E");
}

.lightbox .lightbox-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 0ms ease;
}

.lightbox .lightbox-slide[data-state="prev"] {
  transform: translateX(-100%);
  opacity: 0;
}

.lightbox .lightbox-slide[data-state="next"] {
  transform: translateX(100%);
  opacity: 0;
}

.lightbox .lightbox-image {
  display: block; 
  width: 100%; 
  height: auto; 
  max-height: 100%; 
  object-fit: contain; 
  margin: auto; 
}


.lightbox .spinner {
  display: none;
}




@media (min-width: 768px) {
   .rt-heading {
        font-size: 14px;
        padding: 15px;
        max-width: 90%;
    }
  [class^="col-rt-"] {
    float: left;
    width: 49.9999999999%;
  }
  .col-rt-6, .col-rt-12 {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .rt-container {
    width: 1170px;
  }
  .col-rt-1 {
    width: 16.6%;
  }
  .col-rt-2 {
    width: 30.33%;
  }
  .col-rt-3 {
    width: 50%;
  }
  .col-rt-4 {
    width: 67.664%;
  }
  .col-rt-5 {
    width: 83.33%;
  }
}

@media only screen and (min-width: 240px) and (max-width: 768px) {
 
  .ScriptTop h1,
  .ScriptTop ul {
    text-align: center;
  }
  .ScriptTop h1 {
    margin-top: 0;
    margin-bottom: 15px;
  }
  .ScriptTop ul {
    margin-top: 12px;   
  }
  
  .ScriptHeader h1,
  .ScriptHeader h2, 
  .scriptnav ul {
    text-align: center;  
  }
  .scriptnav ul {
    margin-top: 12px;   
  }
  #float-right {
    float: none; 
  }
}



/*media*/

@media (max-width: 900px) {
  .categories {
    width: 100%;
  }
  
  .category {
    margin-left: 0;
    width: calc(100% - 70px);
    text-align: center;
  }
  
  .photos {
    grid-template-columns: 1fr;
  }
  
  .photo {
    height: 100%;
  }
}

@media (max-width: 991px) {
  header {
    padding: 2rem 4%;
  }
  
  section .vendor {
    padding: 3rem 4%;
  }
}

@media (max-width: 850px) {
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200vh;
  }
  
 
  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }
  
  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }
  
  
  
  .text {
    margin: 1rem 0 1.5rem 0;
  }
  
  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 768px) {
  .dotsbox {
    display: none;
  }
  
  #menu-bar {
    display: block;
  }
  
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    padding: 1rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  
  header .navbar.nav-toggle {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  header .navbar a {
    display: block;
    background: #fff;
    border-radius: .5rem;
    color: #000;
    margin: 1.5rem;
    padding: 1rem 2rem;
    font-size: 2.5rem;
  }
  
  .home {
    justify-content: center;
    background-position: cover;
  }
  
  .home .content {
    text-align: center;
  }
  
  .home .content span {
    font-size: 2rem;
  }
  
  .home .content h3 {
    font-size: 4rem;
    width: auto;
  }
  
  .home-container {
    justify-content: center;
    background-position: cover;
  }
  
  .contact-info .title {
    font-size: 30px;
  }
  
  .information {
    font-size: 2rem;
  }
  
  .information .iconG {
    margin-left: 5px;
  }
}

@media (max-width: 480px) {
  .contact-info {
    font-size: 2rem;
  }
  
  .contact-info:before {
    font-size: 2rem;
  }
      .rt-heading {
        font-size: 12px;
        padding: 10px;
        max-width: 95%;
    }

  
  
  
  form, .contact-info {
    padding: 1.7rem 1.6rem;
    font-size: 2rem;
  }
  
  .text, .information, .social-media p {
    font-size: 0.8rem;
  }
  
  .title {
    font-size: 1.15rem;
  }
  
  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  
  .icon {
    width: 23px;
  }
  
  .input, .btn {
    padding: 0.45rem 1.2rem;
  }
  
  .txt h1 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 40px;
  }
  
  .txt p {
    font-size: 16px;
    margin-bottom: 60px;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .description p {
    color: #b0b0ba;
    padding-top: 2px;
    font-size: 10px;
  }
  
  .description h2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 20px;
  }
  
 
  .dotsbox {
    display: none;
  }
}

@media (max-width: 375px) {
  .txt h1 {
    font-size: 15px;
    margin-bottom: 5px;
  }
  
  .txt p {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  
  .description p {
    color: #b0b0ba;
    padding-top: 2px;
    font-size: 20px;
  }
  
  .description h2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 15px;
  }
  
  .dotsbox {
    display: none;
  }
}

@media (max-width: 200px) {
  html {
    font-size: 50%;
  }
  
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200vh;
  }
  

  
  .caption {
    text-align: center;
    margin-right: 20px;
  }
  
  .containe {
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
