/* Popup */
.popup {
  display: none; 
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
  z-index: 1000;
}


.popup-content {
    background: var(--bg);
    border: 1px solid var(--primary-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.popup-content h2 { 
    font-size: 40px;
    text-align: center;
}

.popup form {
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: 0;
    font-size: 14px;
    color: #fff;
    background: var(--secondary-color);
    font-family: var(--body-font);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 0;
}


.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* Popup End */

/* preloader */
.preloader {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: var(--bg);
    color: #000;
    z-index: 9999;
    align-items: end;
}

.preloader .container {
    width: var(--max-width);
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
    color: var(--text-color);
    padding: var(--padding-large);
    overflow-x: hidden;
}

.preloader .text-preloader {
    width: 60%;
    font-size: 30px;
    overflow: hidden;
}

.preloader .text-preloader p {
    font-size: 35px;
}

.preloader .percentage {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    font-size: 100px;
    line-height: 100px;
    overflow: hidden;
    font-family: var(--heading-font);
}

.preloader .loader-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    transform: translateX(-100%);
}

.preloader .loader-slide:nth-child(1) {
    /* background: var(--secondary-color); */
}

.preloader .loader-slide:nth-child(2) {
    /* background: var(--primary-color); */
}

/* preloader end */


/* header */
header {
    width: 100%;
    padding: 5px 10px;
    position: fixed;
    z-index: 999;
    opacity: 0;
}

header .container {
    width: var(--max-width);
    justify-content: space-between;
}

header .logo {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .logo img {
    width: 80px;
    transition: all 0.3s;
}

header .logo:hover img {
    transform: scale(0.95);
}

header .menu {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .menu ul {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
    background: #242424;
    border-radius: 50px;
}


header ul li {
    display: flex;
    flex-direction: column;
    height: 25px;
    overflow: hidden;
}

header ul li span {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

header ul li:hover span {
    transform: translateY(-25px);
}

header .menu ul li a {
    font-size: 18px;
    color: var(--white-color);
}

header .menu ul li a:hover {
    color: var(--primary-color);
}

header .header-btn {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

header .header-btn .toggle {
    background: var(--accent-color);
    color: var(--accent-text-color);
    width: 35px;
    height: 35px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(20px);
}

header .header-btn .toggle .iconChange {
    transition: all 0.3s;
    font-size: 24px;
    border-radius: 50px;
}

header .header-btn .toggle .iconChange:hover {
    transform: scale(1.1);
}

header .header-btn .toggle:active {
    background: var(--accent-text-color);
    color: var(--accent-text-hover);
}

/* header end */

/* hero */

.hero {
    width: 100%;
    height: 100vh;
    padding: 10px;
    z-index: 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    opacity: 0.8;
    z-index: 1;
}

.hero .container {
    width: var(--max-width);
    position: relative;
    height: 100%;
    padding: 60px 0;
}

.hero .bg-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 22vw;
    opacity: 0;
}

.hero .bg-hero img {
    width: 100%;
    z-index: 0;
}


.hero .hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 150px;
    line-height: 150px;
    letter-spacing: -5px;
    font-weight: 500;
    text-align: center;
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.hero h1 .letters {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 span {
    opacity: 0;
}

.side-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50%;
    opacity: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-content h3 {
    font-size: 35px;
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
}

.side-content h3 ion-icon.md.hydrated {
    color: var(--primary-color);
}

.side-content p {
    font-size: 22px;
}

.side-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    z-index: 2;
}

.side-btn svg {
    width: 200px;
    height: 200px;
}

.side-btn text {
    font-size: 19px;
    fill: var(--text-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.side-btn img {
    width: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.side-btn:hover img {
    transform: translate(-49%, -49%) scale(1.1);
}

/* hero end */


/* Image Wrapper */

.image-wrap {
    width: 100%;
    padding: var(--padding-large);
    height: 100vh;
}

.image-wrap .container {
    width: var(--max-width);
    height: 100%;
    overflow: hidden;
    border-radius: 50px;
}

.image-wrap img {
    width: 100%;
    height: 170%;
    object-fit: cover;
}

/* Image Wrapper end */

/* About */
.about {
    width: 100%;
    padding: var(--padding-large);
}

.about .container {
    width: var(--max-width);
    align-items: flex-start;
}

.about .container .col {
    width: 100%;
    align-items: flex-start;
}

.about .container .col h3 {
    font-size: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about .container .col p {
    font-size: 40px;
}

/* About End */

/* Counter */

.counter-section {
    width: 100%;
    padding: var(--padding-small);
    padding-top: 0;
}

.counter-section .container {
    width: var(--max-width);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.counter-box {
    background: rgb(19, 19, 19);
    padding: 60px 15px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.counter-box .counter {
    font-family: var(--heading-font);
    font-size: 80px;
    line-height: 80px;
    text-align: center;
    color: var(--text-color);
}

.counter-box .counter span {
    color: var(--primary-color);
}

.counter-box .label {
    text-align: center;
    font-size: 28px;
}

/* Counter End */

/* scrolling */

.scrolling-text {
    overflow: hidden;
    margin: 30px 0;
    width: 100%;
    padding: var(--padding-small);
    display: flex;
    align-items: center;
    background: var(--primary-color);

    .rail {
        display: flex;

        h4 {
            white-space: nowrap;
            font-size: 60px;
            letter-spacing: ls(120);
            margin: 0 2rem 0 0;
            color: var(--text-color);
        }
    }
}

/* scrolling end */