/* index.css */
/* Banner Section */
.banner-section {
    position: relative;
    /*height: 100vh;*/
    background: #000;
}

.banner-item {
    position: relative;
    /*height: 100vh;*/
    aspect-ratio: 1920 / 800;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

/*.banner-item::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.4);*/
/*}*/

.banner-content {
    position: relative;
    margin: auto;
    max-width: 800px;
    z-index: 5;
    padding: 0 40px;
}
.banner-content img{
    height: 50px;
    width: auto;
}
.banner-content h1,
.banner-content h2{
    font-size: 3rem;
    line-height: 1.2;
    margin: 30px 0 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
}
.banner-content ul{
    margin-bottom: 30px;
}
.banner-content ul li{
    color: var(--secondary-color);
    font-weight: 700;
}
.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(0, 0, 0, 1);
    font-weight: 500;
}
.banner-item-sec .banner-content{
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}
.banner-item-sec .banner-content h1,
.banner-item-sec .banner-content p,
.banner-item-sec .banner-content h2{
    width: 50%;
}
@media (max-width: 1800px) {
    .banner-content {
    max-width: 600px;
}

.banner-content h1,
.banner-content h2{
    font-size: 2rem;
}

.banner-content p {
    font-size: 1rem;
}
.banner-item-sec .banner-content .btn-secondary{
    padding: 8px 16px;
    font-size: 0.9rem;
}
}
@media (max-width: 1500px) {
    .banner-content {
    max-width: 500px;
}

.banner-content h1,
.banner-content h2{
    font-size: 1.5rem;
}

.banner-content p {
    font-size: 0.8rem;
}
}
/* Product Section */
.product-section .carousel-track{
    padding: 10px 0;
}
.product-section .carousel-track .carousel-item{
    padding: 0 10px;
}
.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(30, 42, 120, 0.15);
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.product-img {
    /*height: 250px;*/
    aspect-ratio: 4 / 3;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-img a{
    -webkit-user-drag: none;
    width: 100%;
    height: 100%;
}
.product-img img {
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    webkit-user-drag: none;
}

.product-card:hover .product-img img {
    transform: scale(1.03);
}

/* Product Overlay Action */
.product-overlay-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-card:hover .product-overlay-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.action-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Product Tag */
.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.tag-hot {
    background: #ff4757;
}

.tag-new {
    background: #2ed573;
}

.tag-best {
    background: #ffa502;
}

.product-info {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-meta-top {
    margin-bottom: 10px;
}

.model-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f1f3f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 1rem;
    /*margin-bottom: 12px;*/
    color: var(--primary-color);
    transition: color 0.3s;
}

.product-card:hover .product-info h3 {
    color: var(--secondary-color);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Product Specs */
.product-specs {
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    margin-bottom: auto;
    /* Push button to bottom */
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-specs li:last-child {
    margin-bottom: 0;
}

.product-specs li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Application Section */
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.app-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 42, 120, 0.6), transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    color: var(--white);
    transition: all 0.4s ease;
}

.app-item:hover img {
    transform: scale(1.15);
}

.app-item:hover .app-overlay {
    background: rgba(30, 42, 120, 0.85);
}

.app-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.app-item:hover .app-overlay h3 {
    transform: translateY(0);
}

.app-overlay p {
    font-size: 1rem;
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    line-height: 1.4;
}

.app-item:hover .app-overlay p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
}

/* About Us Section */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-img {
    flex: 1;
    position: relative;
    height: 500px;
}

.about-img img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.adv-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.adv-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(30, 42, 120, 0.2);
}

.adv-card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.adv-card:hover i {
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.adv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* News Section */
.news-card {
    background: var(--white);
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/*.news-img::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(30, 42, 120, 0.2);*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s;*/
/*}*/

/*.news-card:hover .news-img::after {*/
/*    opacity: 1;*/
/*}*/

.news-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
}

.news-body {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date::before {
    content: '\f133';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    margin-right: 8px;
}

.news-body h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.3s;
}

.news-card:hover .news-body h3 {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    height: 200px;
    overflow-y: scroll;
    padding-right: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 60px 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 992px) {

    .about-section .container {
        flex-direction: column;
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
.banner-item{
    aspect-ratio: auto;
}
    .banner-section,
    .banner-item {
        height: 500px;
    }
.banner-item-sec .banner-content h1{
    width: 100%;
}
.banner-item-sec .banner-content p{
    width: 80%;
    font-size: 0.8rem;
}
}