/********* header ***********/
@font-face {
    font-family: 'Sans';
    src: url(/font/Iranian\ Sans.ttf) format('ttf');
}
@font-face {
    font-family: 'vazir';
    src: url(/font/Vazir.ttf)format('ttf');
}
html,
body {
    position: relative;
    height: 100%;
     font-family: 'Sans' , sans-serif;
}

body {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

a {
    color: black;
    text-decoration: none;

}

/* header */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-main {
    clip-path: ellipse(100% 60% at 50% 30%);
    width: 100%;
    height: auto;
    display: block;
}

/* .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
} */
.navbar-nav .nav-link:hover{
    transition: all 0.8s;
    transform: scale(1.1);
    border-bottom : 3px solid #007BFF;
 }
 .navbar-nav .dropdown-item{
    text-align: center;
    transition: all 0.8s;
    border : 3px solid #007BFF;
    border-radius: .5rem;
    margin: .2rem 0;
 }
 .navbar-nav .dropdown-item:hover{
    text-align: center;
    transition: all 0.8s;
    background-color: #007BFF;
    border : 3px solid #007BFF;
    border-radius: .5rem;
    margin: .2rem 0;
 }

.text-overly {
    position: absolute;
    font-size: 3rem;
    top: 15%;
    left: 50%;
    text-align: center;
}

.logo-overly {
    position: absolute;
    width: 40%;
    top: 1px;
    left: 1px;
    text-align: center;
}

.logo-all {
    display: none;
}

.logo-link {
    display: none;
}

.carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.arched-text {
    width: 80%;
    height: 200px;
}

.arched-text text {
    font-size: 2rem;
    fill: white;
}

.icons {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.icons i {
    font-size: 1.5rem;
}

.icons span {
    font-size: 1.2rem;
}

.section-frame {
    border: 2px solid #000;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-content {
    padding: 20px;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1507227860437-c6815e0e7e98?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb') no-repeat center center;
    background-size: cover;
    height: 400px;
    position: relative;
}

.section-content h1 {
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

.section-content p {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

.toolbar {
    background-color: #e9ecef;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
    border-top: 1px solid #dee2e6;
}

.toolbar button {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
}

.toolbar button:hover {
    background-color: #dee2e6;
    border-radius: 3px;
}

.edit-panel {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.carousel-inner {
    max-height: 70%;
}

.line-footer {
    width: 100%;
    height: 3px;
    background-color: #007BFF;
}

.flaynest-line {
    height: 1px;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  padding: .1rem .5rem;
  border: 4px solid;
  border-color: transparent;
  font-size: 1.2rem;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #007BFF;
  box-shadow: 0 0 0 2px #007BFF;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #007BFF;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #007BFF;
  border-radius: 12px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}


@media(max-width: 768px) {
    .navbar-nav {
        background-color: rgb(101, 98, 98);
        opacity: 80%;
    }

    .btn-login {
        position: absolute;
        z-index: 1000;
    }

    .nav-link {
        color: #fff;
    }

    .logo-all {
        display: flex;
    }

    .logo-link {
        display: flex;
    }
}