@font-face {
    font-family: kolo;
    src: url(../font/koloche/Koloche.WOL_p30download.com.otf);
    src: url(../font/koloche/Koloche.WOL_p30download.com.ttf);
    src: url(../font/koloche/Koloche.WOL_p30download.com.woff);
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    button[type="submit"] {
        font-family: inherit;
        font-size: 16px;
    }
}
body {
    font-family: kolo ;
    background: linear-gradient(
        135deg,
        #0f3360 0%,
        #5dc2d9 15%,
        #3050a9 35%,
        #0f3360 50%,
        #3a717d 70%,
        #5a898c 85%,
        #70b2de 100%
    );
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    border-radius: 50%;
    
}
/* Animated background elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.484);
}
.shape:nth-child(1) {
    width: 120px;
    height: 80px;
    border-radius: 15px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}
.shape:nth-child(2) {
    width: 90px;
    height: 140px;
    border-radius: 12px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(-20deg);
}
.shape:nth-child(3) {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(25deg);
}
.shape:nth-child(4) {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    transform: rotate(-10deg);
}
.shape:nth-child(5) {
    width: 110px;
    height: 70px;
    border-radius: 14px;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
    transform: rotate(30deg);
}
.shape:nth-child(6) {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    top: 40%;
    left: 5%;
    animation-delay: 5s;
    transform: rotate(-15deg);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(var(--start-rotation, 0deg));
    }
    50% {
        transform: translateY(-20px)
            rotate(calc(var(--start-rotation, 0deg) + 180deg));
    }
}
/* Glass container styles */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}
/* Header styles */
header {
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.475);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}
.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}
.logo:hover .logo-icon svg {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(39, 35, 168, 0.733));
}
.nav-links {
    display: flex;
    gap: 30px;
    border-bottom: #fbf6e2a0 solid 1px;
    border-radius: 5px;
    
}
.nav-links a {
    color: #131842;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 14px 13px 14px;
    margin: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;

}
.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.dropdown {
      position: relative;
      display: inline-block;
    }
    .dropdown-content {
      display: none;
      position: absolute;
      background: #fff;
      min-width: 200px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 1;
    }
    .dropdown-content a {
      display: block;
      padding: 10px;
      text-decoration: none;
      color: #333;
    }
    .dropdown-content a:hover {
      background: #eee;
    }
    .dropdown:hover .dropdown-content {
      display: block;
    }
/* Page system */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px 20px;
}
.page.active {
    display: block;
}
/* Content wrapper to contain page content */
.content-wrapper {
    min-height: calc(100vh - 300px);
}
/* Home page styles */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 40px;
    margin-bottom: 40px;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
}
.hero-content {
    text-align: left;
}
.hero h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    direction: rtl;
    text-align: justify;
}
@media (max-width: 750px) {
.hero h1 {
    font-size: 1.3rem !important;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    direction: rtl;
    text-align: justify;
}
.hero p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: justify;
    direction: rtl;

}}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: justify;
    direction: rtl;
}
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}
.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
button[type="submit"] {
    font-family: inherit;
    font-size: 16px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.feature-card {
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1384a0;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: justify;
    direction: rtl;
}
@media (max-width: 750px) {
.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: justify;
    direction: rtl;
    font-size:13px;
}

}
.feature-card-k {
    padding: 80px 30px;
    text-align: center;
    color: white;
}features
.feature-card-k h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}
.feature-card-k p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center !important;
    direction: rtl;
    font-size: 20px;
}
.feature-card-k .feature-icon {
    width: 150px;
    height: 150px;
    margin: auto;
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-card-k ul{
    line-height:  1.6;
    font-size: 17px;
    direction: rtl !important;

}
.feature-card-k li{
  direction: rtl;
  text-align: justify;
  padding-right: 20%;
  list-style: inside;
}

.btn {
    display: block;
    padding: 10px 40px;
    margin: 10px auto;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    outline: none;
    text-decoration: none;
    color: #173d59;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    margin-top: 20%;
  }
  .btn-z {
    display: block;
    padding: 10px 10px;
    margin: 10px auto;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    outline: none;
    text-decoration: none;
    color: #173d59;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
 
  }
  
  .btn-z:hover, .btn-z:focus, .btn-z:active, .btn-z:visited {
    transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
    animation: gelatine 0.5s 1;
}

@keyframes gelatine {
  
  0%, 100% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

  
  .btn:hover, .btn:focus, .btn:active, .btn:visited {
      transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
      animation: gelatine 0.5s 1;
  }
  
  @keyframes gelatine {
    
    0%, 100% {
      transform: scale(1, 1);
    }
    25% {
      transform: scale(0.9, 1.1);
    }
    50% {
      transform: scale(1.1, 0.9);
    }
    75% {
      transform: scale(0.95, 1.05);
    }
  }

/* Footer styles */
#footer {
    margin-top: 60px;
    padding: 30px 0;
    direction: rtl;
}
.footer-content {
    padding: 30px;
    color: rgba(255, 255, 255, 0.8);
}
.footer-links {
    display: inline-block;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
  
}
.container a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    line-height: 2;
    transition: color 0.3s ease;
    padding: 5px 10px;
    text-decoration: none
}
.container ul{
    list-style: none;
    direction: rtl;
}
.container li{
    direction: rtl;
}
.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    /* Adjust padding for mobile */
    .page {
        padding: 30px 20px 20px;
    }
    .content-wrapper {
        min-height: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    .nav-links {
        gap: 15px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .nav-links a {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 200px;
        font-size: 14px;
        padding: 10px 20px;
    }
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-links {
        gap: 15px;
        flex-direction: column;
    }
    .footer-links a {
        display: block;
        text-align: center;
    }
    button[type="submit"] {
        width: 100%;
    }
    .map-container {
        height: 350px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo {
        font-size: 22px;
    }
}


.animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 130px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #09182d;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #fbf6e2;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 10px 20px 20px 20px;
    text-align: justify !important;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
   margin-left: 70% !important;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a {
    color: var(--nav-dropdown-color);
    padding: 10px 10px;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
    border: 1px solid #80d0c7;
    border-radius: 20px;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: var(--nav-dropdown-hover-color);
  }


  body.mobile-nav-active {
    overflow: hidden;
  }

  body.mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: #3a717d;
    transition: 0.3s;
  }

  body.mobile-nav-active .navmenu > ul {
    display: block;
    position: relative;
    background: var(--nav-mobile-background-color);
    margin: 60px auto;
    border-radius: 8px;
    max-width: 300px;
  }


  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 32px;
    color: #fff;
    z-index: 10002;
  }
}
.searchBox {
    display: flex;
    width: 100%;
    max-width: 800px;        /* روی دسکتاپ حداکثر 800px */
    align-items: center;
    background: #2f3640;
    border-radius: 50px;
    position: relative;
    direction: rtl;          /* راست به چپ */
    padding-right: 20px;
    margin: 0 auto;   /* همیشه وسط افقی */
    width: 100%;
    max-width: 800px;
    margin-left: 30px;
}

/* دکمه سرچ */
.searchButton {
  color: white;
  position: absolute;
  left: 8px;               /* چون rtl هست میاد سمت چپ */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(90deg, #2AF598 0%, #009EFD 100%);
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}

/* hover و active */
.searchButton:hover {
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.5) 0 10px 20px;
  transform: translateY(-3px);
}
.searchButton:active {
  box-shadow: none;
  transform: translateY(0);
}

/* فیلد اینپوت */
.searchInput {
  flex: 1;                   /* پر کنه باقی فضا */
  min-width: 0;              /* متن بلند مشکلی ایجاد نکنه */
  border: none;
  background: none;
  outline: none;
  color: white;
  font-size: 16px;
  padding: 20px 60px 20px 60px; /* فاصله از دکمه سمت چپ */
}

/* ریسپانسیو برای موبایل */
@media (max-width: 600px) {
  .searchBox {
    max-width: 95%;         /* تقریبا کل عرض صفحه */
  }
  .searchInput {
    font-size: 14px;
    padding: 15px 50px 15px 50px;
  }
  .searchButton {
    width: 40px;
    height: 40px;
  }
}


.searchWrapper {
  display: flex;
  justify-content: center;
  align-items: center;}

