html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}



/* Glassmorphism Base */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.transition-all {
    transition: all 0.3s ease-in-out;
}

    .transition-all:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }

.hover-effect {
    transition: color 0.3s ease;
}

    .hover-effect:hover {
        color: #ffc107 !important;
    }

/* Image Optimization */
.object-fit-cover {
    object-fit: cover;
}

/* Pagination Active State */
.active-glass {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    font-weight: bold !important;
    transform: scale(1.1);
}


/* Badge Glass Effect */
.badge-glass {
    background: rgb(255 255 255 / 33%);
    backdrop-filter: blur(3px);
    border: 11px solid rgb(255 255 255 / 20%)
}

:root {
    --primary-gradient: linear-gradient(135deg, #1a73e8, #0d47a1);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    background: #f8f9fa;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.modern-carousel .carousel-item {
    height: 85vh;
    min-height: 500px;
    background: #0a0a0a;
}

    .modern-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/
        opacity: 0.85;
        transition: transform 0.8s ease;
    }

    .modern-carousel .carousel-item:hover img {
        transform: scale(1.02);
    }

.modern-carousel .carousel-caption {
    bottom: 17%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 62px 67px;
    max-width: 900px;
    padding-top: 22px;
    height: 40px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease;
}

    .modern-carousel .carousel-caption a {
        font-size: 0.9rem;
        font-weight: 500;
        color: #fff !important;
        text-decoration: none;
        transition: all 0.3s ease;
        letter-spacing: 1px;
    }

        .modern-carousel .carousel-caption a:hover {
            color: #4fc3f7 !important;
            transform: translateY(-3px);
        }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 25px;
    transition: all 0.3s ease;
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: rgba(255,255,255,0.4);
        transform: scale(1.1);
    }

.counter-box {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    .counter-box:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(26, 115, 232, 0.15);
    }

    .counter-box .counter-value {
        font-size: 3.5rem;
        font-weight: 800;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.about-section {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    margin: 40px 0;
}

.about-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    .about-image-wrapper .main-image {
        transition: transform 0.6s ease;
    }

    .about-image-wrapper:hover .main-image {
        transform: scale(1.03);
    }

    .about-image-wrapper .floating-image {
        position: absolute;
        bottom: -20px;
        right: -20px;
        width: 60%;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        border: 5px solid white;
        transition: all 0.4s ease;
    }

    .about-image-wrapper:hover .floating-image {
        transform: rotate(-3deg) scale(1.05);
    }

.product-card {
    border-radius: 25px;
    overflow: hidden;
    background: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

    .product-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 60px rgba(26, 115, 232, 0.15);
        border-color: rgba(26, 115, 232, 0.1);
    }

    .product-card .product-image {
        height: 280px;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .product-card:hover .product-image {
        transform: scale(1.05);
    }

    .product-card .product-badge {
        top: 20px;
        right: 20px;
        background: var(--primary-gradient);
        padding: 10px 25px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
    }

    .product-card .product-icon {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid white;
        margin-top: -45px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        background: white;
    }

.team-carousel-item {
    background: white;
    border-radius: 25px;
    padding: 30px 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 15px;
    text-align: center;
}

    .team-carousel-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(26, 115, 232, 0.12);
    }

    .team-carousel-item .team-icon {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid #e3f2fd;
        transition: all 0.4s ease;
        margin: 0 auto 20px;
    }

    .team-carousel-item:hover .team-icon {
        border-color: #1a73e8;
        transform: scale(1.05);
    }

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    }

    .news-card .news-image {
        /*height: 200px;*/
        object-fit: cover;
        width: 100%;
        transition: transform 0.5s ease;
    }

    .news-card:hover .news-image {
        transform: scale(1.03);
    }

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

    .contact-info-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    }

    .contact-info-card .icon-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--primary-gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

.modern-form .form-control {
    border-radius: 15px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .modern-form .form-control:focus {
        border-color: #1a73e8;
        box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
        background: white;
    }

.btn-modern {
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--primary-gradient);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

    .btn-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(26, 115, 232, 0.4);
        color: white;
    }

.btn-outline-modern {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    background: transparent;
}

    .btn-outline-modern:hover {
        background: var(--primary-gradient);
        color: white;
        border-color: transparent;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
    }

.section-title {
    position: relative;
    margin-bottom: 50px;
}

    .section-title h5 {
        color: #1a73e8;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .section-title h1 {
        font-size: 2.8rem;
        font-weight: 800;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: 5px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carouselImgTitlemobile {
    display: none;
}

.carouselImgTitleDesktop {
    display: block;
}

@media (max-width: 768px) {
    .modern-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .carouselImgTitlemobile {
        display: block;
    }

    .carouselImgTitleDesktop {
        display: none !important;
    }

    .modern-carousel .carousel-caption {
        bottom: 12%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        border-radius: 30px;
        padding: 0px 0px;
        max-width: 933px;
        padding-top: 7px;
        height: 88px;
        margin: 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.1);
        animation: fadeInUp 0.8s ease;
    }


        .modern-carousel .carousel-caption a {
            font-size: 1rem;
            display: none;
            padding: 0px;
        }

    .section-title h1 {
        font-size: 1.8rem;
    }

    .about-section {
        padding: 30px 20px;
    }

    .counter-box .counter-value {
        font-size: 2.5rem;
    }
}