/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  scroll-behavior: smooth; /* Add smooth scrolling to the whole page */
  scroll-padding-top: 140px; /* Add padding for fixed header */
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: "Segoe UI", "Roboto", "Tahoma", "Helvetica Neue", "Arial",
    sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

a {
  color: black;
  text-decoration: none;
}
.gradient-class {
  background: linear-gradient(135deg, rgba(225,217,0,0.77) 8%, rgba(108,108,108,0.77) 100%);
}
li {
  list-style: none;
}
main{
  margin-top: -140px;
}
.header{
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0.9;
  color: white;
  padding: 40px 0px 20px 0px;
  position: sticky;
  z-index: 100;
  top: 0;
  right: 0;
  height: 140px;
  transition: all 0.3s ease-in-out;
}

.header a.link {
  position: relative;
  transition: color 0.3s ease;
}

.header a.link:hover {
  color: #f1c15a;
}

.active {
  color: #f1c15a  !important; 
  font-weight: bold;
  font-family: IRANYekanXBold;
  text-decoration: underline;
  text-underline-offset: 0.5em;
}

/* Section and footer styling to ensure proper targeting */
section[id], footer[id] {
  scroll-margin-top: 140px; /* Same as scroll-padding-top */
  position: relative;
}

.section1 {
  aspect-ratio: 16 / 7;
  background-image: url("images/se9Banner.png");
  background-size: cover;
  background-position: center;
}
.auth-buttons a{
  border: #f1c15a 1px solid;
  border-radius: 25px;
  padding: .5rem;
  color: #e6e6e6;
  font-size: 18px;
  text-align: center;
  width: 48%;
}

.banner2 {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url("images/banner2.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}


.menu ul {
  display: flex;
  gap: 30px;
}

.menu ul a {
  color: white;
  font-size: 18px;
}

.primary-cl {
  color: #f1c15a;
}

.text-white {
  color: white;
}
.text-nowrap {
  white-space: nowrap;

}

.header-btn {
  border: 1px solid #f1c15a;
  border-radius: 24px;
  background-color: transparent;
  width: 280px;
  height: 55px;
  text-align: center;
  font-size: 37px;
  color: white;
}
.my-5{
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.pt-5{
  padding-top: 5rem;
}
.px-6{
  padding-right: 6rem;
  padding-left: 6rem;

}
.px-2{
  padding-right: 1rem;
  padding-left: 1rem;
}
.w1-3{
  width: 33%;

}
.box {
  padding: 0px 30px;
}

.text-justify {
  text-align: justify;
}

.m-t-10 {
  margin-top: 10rem;
}
.text-gary{  color: #acb0ba;
}

.gap-r-6 {
  row-gap: 1.5rem;
}

.container2-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  padding: 5rem;
}
.container2-content button {
  font-size: 31px;
  border: 1px solid #f1c15a;
  border-radius: 24px;
  background-color: transparent;
  color: white;
  width: 280px;
  height: 55px;
  text-align: center;
}
.flex{display: flex;}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-col-reverse {
  display: flex;
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}

.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.items-stretch {
  align-items: stretch;
}

.tips {
  border: 1px solid #f1c15a;
  border-radius: 12px;
  padding: 10px 10px;
  background-color: #efefef;
  width: 100%;
  font-size: 14px;
}
.w-full {
  width: 100%;
}

.w-1_2 {
  width: 50%;
}
.gap-r-2 {
  row-gap: 0.5rem;
}
.bg-primary {
  background-color: #f8c85c;
}
.container4 {
  padding-top: 100px;
}
.bg-black {
  background-color: black;
}
.bg-white {
  background-color: white;
}
.p-lr-5 {
  padding: 0px 1rem;
}
.companybox {
  margin-top: 20px;
  z-index: 1;
  border-radius: 12px;
}
.companybox h2 {
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.company-list {
  padding: 1rem 2rem;
}
.w-half {
  width: 50%;
}
.footer {
  background-color: black;
  color: white;
  margin-top: -30px;
  padding-top: 90px;
  scroll-margin-top: 0; /* Override scroll margin for footer */
}

.footer-copyright {
  background-color: #0f0f0f;
  padding: 33px;
}
.text-center {
  text-align: center;
}
.text-12 {
  font-size: 0.75rem;
}
.text-14 {
  font-size: 0.875rem;
}
.text-16 {
  font-size: 1rem;
}
.text-18 {
  font-size: 1.125rem;
}
.text-20 {
  font-size: 1.25rem;
}
.text-22 {
  font-size: 1.375rem;
}
.text-24 {
  font-size: 1.5rem;
}
.bold {
  font-weight: bold;
  font-family: IRANYekanXBold;
}
.text-primary {
  color: #f1c15a;
}
.text-secondary{color: #8b9ca6;}
.text-underline{
    text-decoration: underline;
    text-underline-offset: 0.5em;

}
.container {
  padding-left: 5rem;
  padding-right: 5rem;
}
.gap-025 {
    gap: 0.25rem;
  }
  
  .gap-05 {
    gap: 0.5rem;
  }
  .gap-75 {
    gap: 0.75rem;
  }
  .gap-1 {
    gap: 1rem;
  }
  
  .gap-2 {
    gap: 2rem;
  }
  
  .gap-3 {
    gap: 3rem;
  }
  
  .gap-4 {
    gap: 4rem;
  }
  
  .gap-5 {
    gap: 5rem;
  }
  
  .gap-6 {
    gap: 6rem;
  }
  
  .gap-7 {
    gap: 7rem;
  }
  
  .gap-8 {
    gap: 8rem;
  }
  
  .gap-9 {
    gap: 9rem;
  }
  
  .gap-10 {
    gap: 10rem;
  }
  .about-text {
    text-align: justify;
    width: 40%;
    padding: 35px 0px;
  }
  video {   
    background-color: black;
    aspect-ratio: 16 / 6;
  }
  .btn{
     border: #f1c15a 1px solid ;
     color: white;
     border-radius: 25px;
     text-align: center;
     padding: .5rem 1rem;
     font-size: 18px;
  }
  .ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.py-4{
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#services{
  overflow-x: hidden;
}
@media screen and (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .w-1_2{width: 100%;}
  .w-1_2m{width: 100%;}

  .w1-3 {width: 100%;}
  .box{padding: 0px;}
  .px-6{
    padding: 1rem;
  }
  .hidden-m{
    display: none;
  }
  .flex-col-m{
    flex-direction: column;
    row-gap: 1rem;
  }
  .a-i-cm{
    align-items: center;
  }
  #home-page{
    padding-top: 8rem;
    padding-bottom: 1rem;
  }
  video{
    aspect-ratio: 16 / 9 ;
  }
}
@media screen and (max-width: 1024px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  video{
    aspect-ratio: 16 / 9 ;
  }
}

@media screen and (max-width: 1440px) {
  video {   
    padding: 10px 0px;
  }
}

@media screen and (min-width: 1440px) {
  .container {
    padding-left: 10rem;
    padding-right: 10rem;
  }
  video {   
    padding: 10px 0px;
  }
}

footer a.link.active {
  color: #f1c15a !important;
  font-weight: bold;
  font-family: IRANYekanXBold;
  text-decoration: underline;
  text-underline-offset: 0.5em;
}

