/* fonts */

/* Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --main-font: "Orbitron", sans-serif;
    --secondary-font: "Sora", sans-serif;
    --main-height: 100vh;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body */

body {
    font-family: var(--main-font);
    background-image: url("../imgs/Homebghgfh.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

#particles-js {
    position: fixed; /* يغطي الشاشة */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* في الخلفية */
    background-image: url("../imgs/Homebghgfh.png"); /* لو عايز الخلفية كمان مع الأنيميشن */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#app {
    position: relative;
    z-index: 1; /* المحتوى فوق الأنيميشن */
}

.hero h1 {
    font-size: 5rem;
}

/* Side Contact Nav */
.side-contact-nav {
    position: fixed;
    top: 40%;
    left: 0;
    transform: translateX(0);
    transition: transform 0.4s ease;
    z-index: 9999;
    background-color: transparent;
    padding: 0;
}

.side-contact-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* li style */
.side-contact-nav li {
    position: relative;
    background-color: transparent;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
    justify-content: flex-start;
    height: 60px;
}

.side-contact-nav li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(
        100deg,
        rgba(255, 0, 199, 0.75) 0%,
        rgba(110, 58, 255, 1) 45%,
        rgba(30, 91, 135, 1) 100% /* 1E5B87 solid */
    );
    border-radius: 2px;
    transition: width 0.4s ease;
}

.side-contact-nav li::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background: linear-gradient(
        100deg,
        rgba(255, 0, 199, 0.75) 0%,
        rgba(110, 58, 255, 1) 0%,
        rgba(30, 91, 135, 1) 100%
    );
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease, left 0.4s ease;
}

.side-contact-nav li:hover a {
    padding-left: 95px;
    font-size: 1.5rem;
    font-weight: bold;
}

.side-contact-nav li:hover::after {
    width: 88px;
}

.side-contact-nav li:hover::before {
    left: 88px;
    opacity: 1;
}

.side-contact-nav li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--main-color-light);
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    text-decoration: none;
    white-space: nowrap;
    transition: padding-left 0.4s ease;
}

.side-contact-nav li.active a {
    padding-left: 95px;
    font-size: 1.5rem;
    font-weight: bold;
}

.side-contact-nav li.active::after {
    width: 88px;
}

.side-contact-nav li.active::before {
    left: 88px;
    opacity: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .side-contact-nav li {
        height: 50px;
    }
}

/* Customers Section */
.main-customers,
.main-projects {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.main-title {
    background: linear-gradient(
        100deg,
        rgba(255, 0, 199, 0.75) 0%,
        rgba(124, 78, 255, 1) 57%,
        rgba(33, 150, 243, 1) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 5;
    position: relative;
}

.main-title::after {
    content: "";
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    width: 88px;
    height: 3px;
    background: linear-gradient(
        100deg,
        rgba(255, 0, 199, 0.75) 0%,
        rgba(110, 58, 255, 1) 45%,
        rgba(30, 91, 135, 1) 100%
    );
    border-radius: 2px;
    transition: width 0.4s ease;
}

.main-title::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background: linear-gradient(
        100deg,
        rgba(255, 0, 199, 0.75) 0%,
        rgba(110, 58, 255, 1) 45%,
        rgba(30, 91, 135, 1) 100%
    );
    border-radius: 50%;
    left: -25px;
}

.main-info p {
    font-size: 3rem;
    font-weight: bold;
}

.map {
    background-image: url("../imgs/Frame\ 194.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    position: relative;
}

.testimonial-card {
    background-color: #25b4d9;
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: right;
    min-height: 276px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 300px;
    margin: 0 auto;
    font-family: var(--secondary-font);
}

.testimonial-card .quote {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    text-align: left;
    font-weight: 300;
    color: #1e1e1e;
}

.testimonial-card .quote::before {
    content: "“";
    font-size: 40px;
    font-weight: bold;
    display: block;
    line-height: 0.5;
    margin-bottom: 10px;
    color: #7e6dea;
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #1e1e1e;
}
.author-details p {
    margin: 0;
    font-size: 12px;
    font-weight: 300;
    color: #1e1e1e;
}

.swiper-pagination {
    position: static !important;
    margin-top: 60px;
}

.swiper-pagination-bullet {
    width: 25px;
    height: 6px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 45px;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .swiper-slide:nth-child(odd) .testimonial-card {
        transform: translateY(40px);
    }
}

/* Projects Section */
/* .main-projects {
    background-image: url("../imgs/Group\ 237614.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 280vh;
} */

.main-projects .main-title {
    font-size: 1.5rem;
}

.main-projects .btn-app {
    font-family: var(--secondary-font);
    color: #fff;
    font-weight: 600;
}
