.glass-navbar {
    background-color: rgba(0, 2, 128, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 34, 109, 0.2);
}

nav ul li a {
    font-family: Arial, Helvetica, sans-serif;
    color: white !important;
}

#text {
    color: aliceblue;
}

#text:hover {
    color: #02035a;
    background-color: azure;
}

#mtn {
    color: #02035a;
}

#mtn:hover {
    color: azure;
}

.btn:hover {
    background-color: #010247;
    color: aliceblue;
}

.dropdown-item {
    color: #02035a;
}

.banner {
    background-color: #02035a;
}

.img {
    padding-right: 30px;
}

i:hover {
    color: beige;
}

.titr {
    font-family: 'Montserrat', sans-serif;
}

.navbar-toggler {
    color: antiquewhite;
    border-color: aliceblue;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 30 30' stroke='white'%3e%3cpath stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fas {
    color: #02035a;
}

.fas:hover {
    color: #010247;
}

.ttr {
    color: #010247;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.testimonial-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-slide p.lead {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-slide .text-warning {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.testimonial-slide h5 {
    font-weight: 600;
    color: #02035a;
}

#prev,
#next {
    top: 15%;
    /* ← قبلاً 50% بود، حالا میره بالاتر */
    transform: translateY(-50%);
    background: white;
    border: 2px solid #02035a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#prev {
    left: 20px;
}

#next {
    right: 20px;
}

.testimonial-container {
    min-height: 400px;
}

#prev:hover,
#next:hover {
    background-color: #010247;
    color: #fff;
}

.banner-text {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s forwards;
    animation-delay: 0.3s;
}

.banner-image {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1s forwards;
    animation-delay: 0.3s;
}

.banner-buttons {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s forwards;
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate="from-left"] {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

[data-animate="from-left"].animate {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="from-right"] {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

[data-animate="from-right"].animate {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="from-bottom"] {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
}

[data-animate="from-bottom"].animate {
    opacity: 1;
    transform: translateY(0);
}

#contact form {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contact label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.4rem;
}

#contact .input-group-text {
    background: transparent !important;
    border: none !important;
    color: #4a90e2;
    font-size: 1.25rem;
    padding-left: 0.5rem !important;
    padding-right: 0 !important;
}

#contact input.form-control,
#contact textarea.form-control {
    border: 1.5px solid #ddd;
    border-left: none;
    border-radius: 0 6px 6px 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    color: #333;
}

#contact input.form-control:focus,
#contact textarea.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 6px rgba(74, 144, 226, 0.5);
}

#contact textarea.form-control {
    resize: vertical;
}

#contact button[type="submit"] {
    background-color: #4a90e2;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.65rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

#contact button[type="submit"]:hover {
    background-color: #357abd;
    box-shadow: 0 6px 20px rgba(53, 122, 189, 0.6);
}

@media (max-width: 767px) {
    #contact form .row>div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    #contact button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2c2c2c;
    border-radius: 50%;
    color: #bbb;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.social-icon i {
    transition: color 0.3s ease;
}

.social-icon.facebook:hover {
    background: #3b5998;
    color: #fff;
    box-shadow: 0 6px 12px rgba(59, 89, 152, 0.7);
    transform: scale(1.1);
}

.social-icon.twitter:hover {
    background: #1da1f2;
    color: #fff;
    box-shadow: 0 6px 12px rgba(29, 161, 242, 0.7);
    transform: scale(1.1);
}

.social-icon.instagram:hover {
    background: #e4405f;
    color: #fff;
    box-shadow: 0 6px 12px rgba(228, 64, 95, 0.7);
    transform: scale(1.1);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.7);
    transform: scale(1.1);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
.footer {
    font-family: 'Poppins', sans-serif;
}

.footer-logo {
    font-size: 2.5rem;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4a90e2;
}

.product-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, box-shadow 0.3s ease;
    will-change: opacity, transform;
    cursor: pointer;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
    border-radius: 14px;
    margin-bottom: 1.2rem;
    width: 100%;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h2 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    text-align: center;
    letter-spacing: 0.03em;
}

.product-card p {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.8rem;
    line-height: 1.5;
    font-weight: 400;
}

.product-card .btn {
    display: inline-block;
    padding: 0.55rem 2rem;
    font-weight: 600;
    border-radius: 40px;
    background: linear-gradient(135deg, #4a90e2, #007bff);
    border: none;
    color: white;
    font-size: 1rem;
    text-align: center;
    transition: background 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
    cursor: pointer;
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 10px 25px rgba(0, 91, 187, 0.6);
    text-decoration: none;
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, box-shadow 0.3s ease;
    will-change: opacity, transform;
    cursor: pointer;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.card:hover {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
    transform: translateY(-10px) scale(1.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.07);
}

.card-title h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.subtitle p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    padding: 0 1rem;
}

.text-right {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0.8rem 0 1rem 0;
}

.text-right a {
    color: #888;
    transition: color 0.3s ease;
    filter: grayscale(60%);
}

.text-right a:hover {
    filter: none;
    color: inherit;
    transform: scale(1.15);
    transition: transform 0.3s ease, color 0.3s ease;
}

.text-right a .fa-facebook:hover {
    color: #3b5998;
}

.text-right a .fa-twitter:hover {
    color: #1da1f2;
}

.text-right a .fa-youtube:hover {
    color: #ff0000;
}

.text-right a .fa-instagram:hover {
    color: #e4405f;
}

html,
body {
    overflow-x: hidden;
}