@font-face {
font-family: 'Graphik';
  src:  url('../font/GraphikBlack.otf') format("opentype"),
  src:  url('../font/GraphikBold.otf') format("opentype"),
  src:  url('../font/GraphikMedium.otf') format("opentype"),
  src:  url('../font/GraphikRegular.otf') format("opentype"),
  src:  url('../font/GraphikSemibold.otf') format("opentype"),
}

#major-background{
  padding:30px;
  background: #FFF;
}

#major-background .black-main{
  background: #131313;
  height: 400px!important;
  width:100%;
}

#major-background .header-text{
  color:#000;
  font-weight: bold;
  font-family: Graphik;
  font-size: 55px;
  text-transform: uppercase;
  margin-top:10px;
  margin-bottom: 10px;
  margin:0px;
}

#major-background .sub-text{
  color:#000;
  font-size: 17px;
  width:100%;
  margin-bottom: 30px;
}

#major-background .key-text{
  color:#000;
  font-size: 15px;
  width:80%;
  text-transform: uppercase;
  margin:0px;
  margin-top:30px;
}

#major-background #text-container{
  margin-top: 0px;
}

#major-background .main-image{
  width:100%;
}


#major-background .contact-btn{
  text-decoration: none;
  background: #000;
  padding:18px;
  padding-left: 50px;
  padding-right: 50px;
  margin-right:30px;
  color:#FFF;
}

#header{
  padding:0px;
}

#header .main-image{
  height: 45vh;
  width:100%;
  padding:0px;
  object-fit: cover;
}

#header #main-box{
  padding:50px;
}

#header .theme-tribrothers{
    background-image: linear-gradient(
    40deg,
    hsl(0deg 0% 0%) 0%,
    hsl(120deg 100% 4%) 21%,
    hsl(120deg 100% 5%) 39%,
    hsl(120deg 100% 5%) 51%,
    hsl(120deg 100% 6%) 60%,
    hsl(120deg 100% 6%) 68%,
    hsl(120deg 100% 7%) 75%,
    hsl(120deg 100% 8%) 80%,
    hsl(118deg 100% 8%) 85%,
    hsl(117deg 98% 9%) 90%,
    hsl(121deg 81% 11%) 93%,
    hsl(122deg 71% 12%) 97%,
    hsl(121deg 61% 14%) 100%
  );
  background-attachment: fixed;
  color:#FFF;
}

#header .theme-akbs{
  background-image: linear-gradient(
    205deg,
    hsl(240deg 83% 19%) 0%,
    hsl(234deg 90% 15%) 11%,
    hsl(234deg 83% 13%) 22%,
    hsl(241deg 69% 10%) 33%,
    hsl(245deg 70% 7%) 44%,
    hsl(243deg 75% 5%) 56%,
    hsl(243deg 84% 5%) 67%,
    hsl(243deg 95% 4%) 78%,
    hsl(241deg 100% 4%) 89%,
    hsl(0deg 0% 0%) 100%);
  color:#FFF;
}

#header #main-box .main-text{
  font-size:35px;
  text-transform: uppercase;
  font-family: Graphik;
}

#header #main-box .header-text{
  font-size: 17px;
  opacity: .8;
}

#header #main-box .sub-text{
  font-size: 14px;
  text-transform: uppercase;
  margin-top:10px;
  font-weight: bold;
}

#header #main-box .par-text{
  font-size: 16px;
  margin-top:10px;
  text-align: justify;
  width:80%;
  opacity: .8;
}

#header .theme-steel{
  background-image: linear-gradient(
    225deg,
    hsl(198deg 82% 15%) 0%,
    hsl(197deg 95% 14%) 2%,
    hsl(198deg 100% 12%) 4%,
    hsl(198deg 100% 12%) 6%,
    hsl(199deg 100% 11%) 9%,
    hsl(201deg 100% 10%) 13%,
    hsl(202deg 100% 10%) 17%,
    hsl(203deg 100% 9%) 23%,
    hsl(204deg 100% 8%) 30%,
    hsl(206deg 100% 7%) 39%,
    hsl(210deg 100% 7%) 50%,
    hsl(216deg 100% 6%) 67%,
    hsl(0deg 0% 0%) 100%
  );
  color:#FFF!important;
}

#header .theme-pharma{
  background: #211d4f;
  color:#FFF!important;
}

#header .theme-sugar{
  background:#033f31 ;
  color:#FFF;
}

#header .main-btn{
  color:#FFF;
  opacity: 0.8;
}

#impact{
  padding:30px;
  background: #f7f8fa;
}

#impact .main-text{
  font-size:45px;
  margin-bottom: 50px;
  font-weight: bold;
  text-transform: uppercase;
}

#impact .header-text{
  font-size:30px;
  font-weight: bold;
  font-family: Graphik;
  text-transform: uppercase;
}

#impact .sub-text{
  margin-bottom: 30px;
  font-size:15px;
  text-align:justify;
}

#impact #main-image{
  margin-bottom: 10px;
  border-radius: 30px;
  background: #FFF;
  height: 60vh;
  padding:30px;
  border:10px solid #f7f8fa;
}

#impact #main-image .main-image{
  width:100%;
  object-fit: cover;
  padding:20px;
}


#impact #sub-image{
  background:#FFF;
  margin-bottom: 30px;
  border:10px solid #f7f8fa;
  border-radius: 30px;
}

#impact #sub-image .main-image{
  width:80%;
  padding:30px;
  padding-bottom: 0px;
}


#portfolio-container{
  min-height: 100vh;
  margin-top:50px;
  padding:0px;
  background: #111111
}

#portfolio-container .backgrounded{
  background: #eceff9;
  border-radius: 30px;
  padding:50px;
  margin-bottom: 50px;
}

#portfolio-container #img-container{
  margin-left:30px;
  margin-right: 30px;
}

#portfolio-container #img-container img{
  width:100%;
  height: 550px;
  object-fit: cover;
  margin-bottom: 30px;
}

#portfolio-container .header-text{
  font-weight: bold;
  font-size:70px;
  margin-bottom: 10px;
}

#portfolio-container .sub-text{
  color:#454545;
}

#portfolio-container .main-discription{
  width:90%;
}

#portfolio-container .main-btn{
  color:#FFF;
  background:  linear-gradient(to right top,#3285a8, #2c5a6e, #2c3d6e, #7256ba);
  background-attachment: fixed;
  text-decoration: none;
  padding:15px;
  padding-left: 100px;
  padding-right: 100px;
  margin-top:100px;
  float:right;
  margin-right:0px;
}

#portfolio-container .sub-btn{
  color:#000;
  display: block;
  margin-bottom: 50px;
}

#portfolio-container #icon{
  margin-left: 5px;
}

#portfolio-list{
  color:#FFF;
  padding:30px;
  padding-top:0px;
}

#portfolio-list .no-decor{
  text-decoration: none;
  color:#FFF!important;
}

#portfolio-list .main-logo{
  width:80px;
  margin-bottom: 20px;
}

#portfolio-list .major-text{
  font-family: Graphik;
  font-size: 50px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

#portfolio-list #box{
  height: 40vh;
  margin-bottom: 0px;
  background: #000;
  border:10px solid #FFF;
}

#portfolio-list #text-box{
  padding:30px;
}

#portfolio-list #box .main-hr{
  opacity: 1;
}

#portfolio-list .tri-brother{
  background-image: url("../img/portfolio/tri-brothers-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .raval-steel{
  background-image: url("../img/portfolio/raval-steel.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .akbs{
  background-image: url("../img/portfolio/akbs-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .raval-pharma{
  background-image: url("../img/portfolio/pharmacuticals-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .raval-sugar{
  background-image: url("../img/portfolio/raval-sugar-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .adera{
  background-image: url("../img/portfolio/adera.webp")!important;
  background-position: top!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .box-et{
  background-image: url("../img/portfolio/box-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .arkad{
  background-image: url("../img/portfolio/arkad-rms.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .auto-inventory{
  background-image: url("../img/portfolio/autospare-inventory.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .sholla-milk{
  background-image: url("../img/portfolio/sholla-milk.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .aberus{
  background-image: url("../img/portfolio/aberus-wallpaper.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .raval-polymer{
  background-image: url("../img/portfolio/national-polymer.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .elda{
  background-image: url("../img/custom-4.webp")!important;
  background-position: bottom!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .hamel{
  background-image: url("../img/portfolio/hamel-scheduling.webp")!important;
  background-position: bottom!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .tele-tender{
  background-image: url("../img/portfolio/tele-tender.webp")!important;
  background-position: center!important;
  background-size: cover!important;
  position: relative;
}

#portfolio-list .wrapper{
  background: rgba(0,0,0,.6);
  height: 100%;
  width: 100%;
  padding:20px;
  transition: 0.3s;
}

#portfolio-list .wrapper:hover{
  background: rgba(0,0,0,.2);
  height: 100%;
  width: 100%;
  padding:20px;
  transition: 0.3s;
}

#portfolio-list #company-intro .header-text{
  font-size: 40px!important;
  font-family: Graphik;
  text-transform: uppercase;
  color:#FFF;
}

#portfolio-list #company-intro .sub-text{
  font-size: 15px!important;
  color:#FFF;
  font-weight: normal!important;
  text-transform: none;
  width:100%;
  text-align: justify;
  margin-bottom: 20px;
  opacity: .8;
}

#portfolio-list .header-text{
  font-size: 20px;
  opacity: .8;
}

#portfolio-list .main-header {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 100%;
  margin-bottom: 40px;
  margin-left: 20px;
  font-weight: bold;
  font-family: Graphik;
  text-transform: uppercase;
  font-size: 25px;
}

#portfolio-list .sub-header {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 100%;
  margin-bottom: 20px;
  margin-left: 20px;
  text-transform: uppercase;
  font-size: 15px;
}

#portfolio-list .sub-text{
  font-size: 16px;
  text-transform: uppercase;
  margin-top:10px;
  font-weight: bold;
}

#portfolio-list #box .main-image{
  width:100%;
  height: 60vh;
  margin:0px;
  object-fit: cover;
}


/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.5s ease;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%; /* Responsive: Ensure the image does not overflow */
  max-height: 90%; /* Adjust for small screens */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, transform-origin 0.3s ease;
  animation: zoomIn 0.5s ease;
  margin-top:35px;
}

.modal-content.zoomed {
  transform: scale(1.5); /* Increased zoom for interactivity */
}

#caption {
  color: #fff;
  text-align: center;
  margin: 10px auto;
  max-width: 80%; /* Responsive: Caption width limited */
  font-size: 1rem; /* Responsive font size */
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #bbb;
}


@media (max-width: 992px) {
  #major-background{
    padding:20px;
    margin-bottom: 20px;
  }

  #major-background #text-container .header-text{
    font-size: 35px;
  }

  #major-background .sub-text{
    width:100%;
    text-align: justify;
  }

  #major-background .contact-btn{
    display: block;
    text-align: center;
    width:100%;
  }

  #portfolio-list{
  }

  #portfolio-list .main-header{
    font-size: 25px!important;
  }

  #portfolio-list .sub-header{
    font-size: 14px!important;
    width:100%;
  }

  #portfolio-list .major-text{
    font-family: Graphik;
    font-size: 30px;
    margin-bottom: 50px;
    text-transform: uppercase;
  }
}


/* Animations */
@keyframes fadeIn {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.9);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 80%;
  }

  #caption {
    font-size: 0.9rem; /* Smaller font for captions */
    margin: 5px auto;
  }

  .close {
    font-size: 1.5rem; /* Smaller close button */
  }
}
