body, html {
  margin: 0!important;
  padding: 0!important;
  /* height: 100%!important; */
  color: #ffffff;
  /* font-family: 'IRANSansXFaNum'; */
}
/* حالت فارسی */
:lang(fa) {
  font-family: 'IRANSansXFaNum';
}

/* حالت انگلیسی */
:lang(en) {
  font-family: 'Arial', 'Helvetica', sans-serif;
}

/* استایل برای آیکون‌های معمولی (Solid, Regular) */
i.fa,
i.fas,
i.far,
i.fa-solid,
i.fa-regular,
.svg-inline--fa:not(.fa-brands) {
  font-family: 'Font Awesome 6 Free' !important;
}

/* استایل مخصوص برای آیکون‌های برندها (Brands) */
i.fab,
i.fa-brands,
.svg-inline--fa.fa-brands {
  font-family: 'Font Awesome 6 Brands' !important;
}

.dropdown-menu-fullwidth {
  position: absolute;
  left: 0;
  right: 0;
  width: 100vw;
  top: 100%;
  margin-top: 0;
  padding: 0;
  border: none;
}



.dropdown-menu-fullwidth > .dropdown-item {
  padding: 10px 20px;
  white-space: nowrap;
}

.col cards:hover {
  color: var(--bs-success);
}

#cards:hover h5 {
  color: var(--bs-success)!important;
  transition: .5s;
}

.card-head {
  color: var(--bs-body-color);
}

#cards:hover div {
  filter: invert(25%);
  transition: .5s;
}

.video-parallax-container1 video {
  min-height: 100%;
  height: auto;
  z-index: -100;
  transition: 1s opacity;
}

@media (max-width: 768px) {
  .video-parallax-container1 video {
    max-height: 400px;
    z-index: -100;
    transition: 1s opacity;
  }
  .con{
    margin-right: 0px!important;
  }
  .con1{
    margin-left: 0px!important;
  }
  .bar{
    flex-direction: column;
  }
  .lis{
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.con{
  margin-right: 7%;
}

.con1{
  margin-left: 7%;
}

#more {
  background: rgba(173,173,173,0.2);
  color: var(--bs-success);
}

#more:hover {
  background: var(--bs-success);
  color: #ffffff;
  transition: .5s;
}

#list {
  background-color: rgba(173,173,173,0.2);
  border-color: var(--white-color);
}

#list {
  background-color: rgba(173,173,173,0.2);
  border-color: var(--white-color);
}

#list {
  background-color: rgba(173,173,173,0.2);
  border-color: var(--white-color);
}

#list:hover {
  background: var(--bs-success);
  transition: .5s;
}

#list-1 {
  background: var(--bs-success);
}

.achievements-section {
  padding: 50px 0;
}

.achievement {
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  padding-bottom: 20px;
  height: 80vh;
    background-position: center;
    background-size: cover;
}

.achievement-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-up {
  font-size: 65px;
  margin-bottom: 50px;
  writing-mode: vertical-rl;
  font-weight: 400 !important;
}

.disc {
  font-size: 25px;
  margin: 0;
  writing-mode: vertical-rl;
  font-weight: 400 !important;
}

.rotated {
  transform: rotate(180deg);
}

.achievement::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Responsiveness */

@media (max-width: 768px) {
  .achievement {
    height: 250px;
  }
  .count-up,.disc {writing-mode: horizontal-tb;}


}

@media (max-width: 768px) {
  .count-up {
    font-size: 36px;
  }
}

.plus {
  font-size: 65px;
  color: var(--bs-gray-400);
  writing-mode: vertical-rl;
  margin-bottom: 5px;
  font-weight: bold;
}
.achievement:hover{
    filter: invert(10%);
    transition: .5s;
}

.gray-text {
    color: var(--bs-gray-400);
}


/*#achievement-1 {
  background: url("../storage/s11.jpg") center / cover;
}

#achievement-1:hover {
  filter: invert(10%);
  transition: .5s;
}

 #achievement-2 {
  background: url("../storage/s13.jpg") center / cover;
}

#achievement-2:hover {
  filter: invert(10%);
  transition: .5s;
}

#achievement-3 {
  background: url("../storage/s15.jpg") center / cover;
}

#achievement-3:hover {
  filter: invert(10%);
  transition: .5s;
}

#achievement-4 {
  background: url("../storage/s16.jpg") center / cover;
}

#achievement-4:hover {
  filter: invert(10%);
  transition: .5s;
} */

.logo {
  filter: invert(48%) brightness(150%);
}

.logo:hover {
  filter: invert(0%) brightness(100%);
  transition: .5s;
}

.flag {
  margin-left: 5px;
}

.navbar-nav .dropdown-menu {
  position: static;
  margin-top: 10px;
}

.video-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.left-section {
  display: flex;
  align-items: center;
  width: 60%;
  justify-content: center;
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-success);
  background-color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

@media (min-width:1200px) {
  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    margin-top: 0px!important;
  }
}

#main-img {
  height: 60vh;
  border-radius: 10px;
  transition: opacity 0.5s ease;
}

.swiper {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  margin-bottom: 20px;
}

.mySwiper {
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  opacity: .8;
  height: 200px;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position:bottom center;
  border-radius: 10px;
}

.mySwiper img {
  width: 100%;
  height: 100%;
}

.bot:hover img {
  filter: brightness(60%);
  transition: 0.5s;
}

.info {
  opacity: 0;
}

.bot:hover div {
  opacity: 1;
  transition: 0.5s;
}

.proj {
  text-align: center;
  margin-top: 25px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.projimg {
  margin-top: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.proj:hover .loc {
  opacity: 1;
}

.loc {
  position: absolute;
  color: #ffffff;
  opacity: 0;
  margin-top: 7%;
}

.cont {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.categ:hover img {
  filter: invert(25%);
  transition: .5s;
}

.portfolio {
  padding: 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

/* Filter menu styles */

#portfolio-flters {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#portfolio-flters li {
  cursor: pointer;
  margin: 5px 10px;
  padding: 10px 15px;
  background: #f1f1f1;
  color: #444;
  border-radius: 4px;
  transition: background 0.3s;
}

#portfolio-flters li.filter-active, #portfolio-flters li:hover {
  background: #007bff;
  color: #fff;
}

/* Portfolio items */

.portfolio-container {
  overflow: hidden;
}

.portfolio-item {
  position: relative;
  float: left;
  width: 100%;
  margin: 5px;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay styles */

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h4 {
  margin: 0;
  font-size: 16px;
}

.portfolio-info a {
  color: #fff;
  margin-right: 10px;
}

/* Responsive grid */

@media (min-width: 576px) {
  .portfolio-item {
    width: calc(50% - 10px);
  }
}

@media (min-width: 768px) {
  .portfolio-item {
    width: calc(33.333% - 10px);
  }
}

@media (min-width: 992px) {
  .portfolio-item {
    width: calc(25% - 10px);
  }
}
.hero-section {
  min-height: calc(100vh - 118px);
  margin-top: 115px;
}

.video-container1,
.content-container {
  flex: 1 1 auto;
}

.video-container1 {
  width: 60%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
  margin-left: -50px;
}

.video-container1 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container1 img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.video-container2,
.content-container {
  flex: 1 1 auto;
}

.video-container2 {
  width: 60%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  margin-right: -50px;
}

.video-container2 video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container2 img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.content-container {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content-wrap {
  width: 100%;
}

.content-wrap h1 {
  text-align: center;
}

.feature-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lead{
  color: #444;
  font-size: 15px;
}

.feature-icon {
  font-size: 2rem;
  margin-inline-end: 1rem;
  color: var(--bs-success);
}

.feature-content h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: #444;
  font-size: 15px;
}

@media (max-width: 992px) {
  .hero-section {
      flex-direction: column;
  }
  .video-container1,
  .content-container {
      width: 100%;
  }
  .video-container1 {
      clip-path: none;
      height: 50vh;
      margin-left: 0px;
  }
  .video-container2,
  .content-container {
      width: 100%;
  }
  .video-container2 {
      clip-path: none;
      height: 50vh;
      margin-right: 0px;
  }
  .content-container {
      margin-top: 0;
  }
  .feature-icon {
      margin-left: 0;
      margin-right: 1rem;
  }
  .feature-card {
      flex-direction: row-reverse;
  }
}
.op-nav{
     list-style : outside;
}
.op-nav::marker{
     color:var(--bs-success);
}
.op-nav a{
    position: relative;
    inset-inline-start: -11px;
}

.cat {
    position : relative;
    inset-inline-start : -15px;
}

.soc:hover{
    color:var(--bs-success);
    border: none;
    transition: 0.5s;
}

.location-item {
    border-bottom: 1px solid #000;
    padding: 30px;
    cursor: pointer;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
}

.location-item:last-child {
  border-bottom: none;
}

.location-item:hover {
  background-color: #f0f0f0;
	transition:0.5s;
}

.form-container {
            max-width: 1000px;
            margin: 2rem auto;
            padding: 2rem;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.datepicker-plot-area {
            font-family: 'IRANSansXFaNum' !important;
		z-index: -100!important;
 }

.header{
     display : none!important;
}

.swiper-container {
  transform: none;
}

.hidden-project {
    display: none !important; /* Force hide */
    height: 0 !important; /* Remove any height */
    margin: 0 !important; /* Remove margins */
    padding: 0 !important; /* Remove padding */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.hidden-project.show {
    display: flex;
    opacity: 1;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#load-more {
    background-color: #f5f5f5;
    color: black;
    padding: 10px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#load-more i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

#load-more:hover i {
    animation: bounceDown 1s infinite;
}


#loadMoreBtn {
    background-color: #f5f5f5;
    color: black;
    padding: 10px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#loadMoreBtn i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

#loadMoreBtn:hover i {
    animation: bounceDown 1s infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.send{
	width: 20%;
background: var(--bs-success);
margin-bottom: 100px;
color: white;
}

.send:hover{
background: grey;
}

.soc1 {
  color: black;
}

.blog-slider {
  position: relative;
}

.blog-slider__item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

.blog-slider__item:hover {
  transform: translateY(-5px);
}

.see-more-btn {
  display: block;
  width: fit-content;
  margin: 2rem auto;
  padding: 0.75rem 2rem;
  color: rgb(0, 0, 0);
  border: none;
  background: #f5f5f5;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.see-more-btn:hover {
  background: #0d6efd;
  color: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow-y: auto;
  padding-top: 139px; /* Account for fixed navbar */
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

/* Image container with aspect ratio handling */
.modal-image-container {
  position: relative;
  width: 100%;
  background: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0!important;
  min-height: calc(100vh - 180px); /* Account for navbar and some padding */
}

.modal-image {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Info section */
.modal-info {
  padding: 2rem;
  background: white;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.modal-location {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #e5e7eb;
  border-radius: 2rem;
  margin-bottom: 1rem;
  color: #4b5563;
}
.modal-employer {
  display: inline-block;
  color: #4b5563;
  font-size: 13px;
  margin-bottom: 25px;
}

.modal-description {
  color: #4b5563;
  line-height: 1.6;
}

/* Controls */
.modal-controls {
  position: fixed;
  top: 139px; /* Align with navbar */
  right: 0;
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 1010;
}

.control-btn {
  background: white;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.control-btn:hover {
  background: #f3f4f6;
}

/* Loading spinner */
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive layout */
@media (min-width: 1024px) {
  .modal-content {
      grid-template-columns: auto 400px;
      max-height: calc(100vh - 180px);
  }

  .modal-image-container {
      min-height: auto;
  }

  .modal-info {
      max-height: calc(100vh - 180px);
      overflow-y: auto;
  }
}

@media (max-width: 1023px) {
  .modal-content {
      margin: 0 auto 1rem;
  }

  .modal-image-container {
      height: 60vh;
  }
}

/* Zoom level indicator */
.zoom-level {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #4b5563;
}


.pro {
  color: var(--bs-body-color);
  text-decoration: none;
}

.pro:hover {
  color: var(--bs-success);
  transition: .5s;
}

.contact-form,.main-content{color: var(--bs-body-color);}

.div-desc {
    color: var(--bs-body-color);
}

.div-comment {
    color: var(--bs-body-color);
}

.comment-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.user-name {
    margin-inline-start: 0;
    order: 1;
    color: var(--bs-gray-800);
    font-weight: 800;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--bs-gray-500);
    margin-inline-start: .5rem;
    line-height: 1.6;
    word-break: break-word;
}

.rating-container {
    order: 2;
    display: flex;
    align-items: center;
}

.stars {
    display: flex;
    direction: ltr;
}

.rating-score {
    font-size: 0.75rem;
    color: var(--bs-gray-600);
    margin-right: 0.25rem;
}

.lang-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

.lang-tag:lang(en) {
    background-color: var(--bs-blue-100);
    color: var(--bs-blue-800);
}

.lang-tag:lang(fa) {
    background-color: var(--bs-green-100);
    color: var(--bs-green-800);
}

@media (max-width: 640px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-container {
        margin-top: 0.5rem;
    }
}


.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
