/* Reset & Base */
:root {
     --primary: #0099ff;
    --primary-dark: #0099ff;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --bg-overlay: rgba(15, 23, 42, 0.4);
    --bg-glass: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.btn--primary a:hover{color:#fff}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 
 
img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
 

.icon-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.icon-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.header.scrolled .icon-btn {
    color: var(--slate-600);
}
.header.scrolled .icon-btn:hover {
    background-color: var(--slate-100);
}

.mobile-menu-btn {
    color: white;
}
.header.scrolled .mobile-menu-btn {
    color: var(--slate-800);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu__link {
    padding: 1rem;
    border-bottom: 1px solid var(--slate-100);
    font-weight: 500;
    color: var(--slate-600);
}

@media(min-width: 768px) {
    .desktop-nav, .header__actions { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.6), transparent);
    mix-blend-mode: multiply;
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
}

@media(min-width: 768px) {
    .hero__content { text-align: left; }
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.3);
    max-width: 60rem;
}

@media(min-width: 768px) {
    .hero__title { font-size: 3.75rem; }
}
@media(min-width: 1024px) {
    .hero__title { font-size: 4.5rem; }
}

.hero__title span {
    color: var(--secondary);
}

.hero__desc {
    font-size: 1.125rem;
    color: var(--slate-200);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    font-weight: 300;
}

.hero__btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media(min-width: 768px) {
    .hero__btns { flex-direction: row; }
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn--primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: var(--shadow-lg);
}
.btn--primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(6, 182, 212, 0.4);
}

.btn--outline {
    border: 2px solid white;
    color: white;
}
.btn--outline:hover {
    background-color: white;
    color: var(--slate-900);
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.8);
    animation: bounce 2s infinite;
}
.hero__scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

/* Sections General */
.section {
    padding: 4rem 0;
}
.section--light {
    background-color: white;
}
.section--gray {
    background-color: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(24px, 2.1vw, 40px);
    font-weight: bold;
    color: var(--slate-800);
    text-transform: uppercase;
    line-height: 1;
}

.section-header h2 span{
    font-size: clamp(24px, 2.1vw, 40px);
    font-weight: bold;
  
    line-height: 1;
}
@media(min-width: 768px) {
    .section-header h2 {/* font-size: 2.5rem; */}
}

.section-header span {
    color: var(--primary);
}

.separator {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--primary);
    margin: 1rem auto 0;
    border-radius: 9999px;
}

/* Products */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
    background: transparent;
}

.tab-btn:hover {
    background-color: var(--slate-50);
}

.tab-btn.active {
    background-color: var(--blue-50);
    transform: translateY(-0.5rem);
}

.tab-icon {
    padding: 1rem;
    border-radius: 9999px;
    background-color: var(--slate-100);
    color: var(--slate-500);
    transition: all 0.3s;
}

.tab-btn.active .tab-icon {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.tab-btn:hover .tab-icon {
    color: var(--primary);
    background-color: #dbeafe;
}
.tab-btn.active:hover .tab-icon {
    color: white;
    background-color: var(--primary);
}

.tab-btn span {
    font-weight: 500;
    color: var(--slate-500);
}
.tab-btn.active span {
    color: var(--slate-800);
}

.feature-card {
    background-color: var(--slate-50);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media(min-width: 768px) {
    .feature-card { padding: 3rem; }
}

.feature-card__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 768px) {
    .feature-card__grid { grid-template-columns: 1fr 1fr; }
}

.feature-card__img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-bg {
    position: absolute;
    inset: 0;
    background-color: #bfdbfe;
    border-radius: 9999px;
    filter: blur(64px);
    opacity: 0.3;
}

.feature-card__img-wrapper img {
    position: relative;
    z-index: 10;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
    transition: transform 0.5s;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card__content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
}

.feature-card__content p {
    color: var(--slate-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--slate-600);
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 9999px;
}

/* Hot Products */
.relative-bg { position: relative;overflow: hidden; }
.relative-z { position: relative; z-index: 10; }
.bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    background-color: var(--slate-100);
    transform: skewX(-12deg);
    opacity: 0.5;
    z-index: 0;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}
.ml-0 { margin-left: 0; margin-right: 0; }

.nav-arrows {
    display: flex;
    gap: 0.5rem;
}
.arrow-btn {
    padding: 0.75rem;
    border: 1px solid var(--slate-300);
    border-radius: 9999px;
    color: var(--slate-600);
    transition: all 0.3s;
}
.arrow-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 200px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
    transition: all 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: #bfdbfe;
}
.product-card__img .pic{
}
.product-card__img {
    height: 16rem;
    background-color: var(--slate-50);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card__img img {
    height: 100%;
    width: auto;
    mix-blend-mode: multiply;
    transition: transform 0.5s;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.product-card:hover .product-card__img img {
    transform: scale(1.1);
}

.product-card__body {
    padding: 1.5rem;
    text-align: center;
}
.product-card__body h3 {
    font-size:clamp(14px, 0.95vw, 18px);
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}
.hover-bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #bfdbfe;
    margin: 0 auto;
    transition: all 0.3s;
}
.product-card:hover .hover-bar {
    width: 4rem;
    background-color: var(--primary);
}

/* Projects */
.section-desc {
    color: var(--slate-500);
    max-width: 40rem;
    margin: 1rem auto 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) { .projects-grid { grid-template-columns: 1fr 1fr; } }

.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    group: hover;
}

.project-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.project-card:hover .project-card__img img {
    transform: scale(1.1);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.4), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transform: translateY(10px);
    transition: transform 0.3s;
}
.project-card:hover .project-card__overlay {
    transform: translateY(0);
}

.project-type {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-title {
    color: white;
    font-size: clamp(16px, 1.3vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.project-action {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.project-card:hover .project-action {
    height: auto;
}

.btn-small {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-small:hover {
    background-color: white;
    color: var(--slate-900);
}

/* Contact */
.contact-section {
    display: flex;
    flex-direction: column;
}
@media(min-width: 1024px) { 
    .contact-section { flex-direction: row; height: 600px; } 
}

.contact-visual {
    position: relative;
    width: 100%;
    min-height: 300px;
}
@media(min-width: 1024px) { .contact-visual { width: 50%; } }

.visual-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 58, 138, 0.3);
}
.visual-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.machine-img {
    width: 75%;
    max-width: 28rem;
    border-radius: 0.5rem;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-2xl);
}

.contact-form-wrapper {
    width: 100%;
    background-color: var(--primary);
    padding: 2.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media(min-width: 1024px) { .contact-form-wrapper { width: 50%; padding: 4rem; } }

.contact-subtitle {
    color: #bfdbfe;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}
.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.contact-desc {
    color: #dbeafe;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media(min-width: 768px) { .contact-form { grid-template-columns: 1fr 1fr; } }

.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.25rem;
    color: white;
    outline: none;
    transition: all 0.3s;
}
.form-input::placeholder { color: #bfdbfe; }
.form-input:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: white;
}
.full-width { grid-column: 1 / -1; }
.mt-2 { margin-top: 0.5rem; }

.btn--white {
    background-color: white;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    border-radius: 0.25rem;
    box-shadow: var(--shadow-lg);
}
.btn--white:hover {
    background-color: var(--slate-100);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
    transition: all 0.3s;
}
.news-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.news-card__img {
    height: 12rem;
    position: relative;
    overflow: hidden;
}
.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-card__img img {
    transform: scale(1.05);
}

.news-card__content {
    padding: 1.5rem;
}
.news-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.news-card__content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.news-card__content:hover h3 { color: var(--primary); }

.news-card__content p {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s;
}
.read-more:hover { color: var(--primary-dark); gap: 0.5rem; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.pagination .dot {
    width: 0.5rem;
    height: 0.25rem;
    border-radius: 9999px;
    background-color: var(--slate-300);
}
.pagination .dot.active {
    width: 2rem;
    background-color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 4rem 0 2rem;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media(min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.logo--footer { margin-bottom: 1.5rem; }
.logo--footer .logo__icon { background: var(--primary); width: 2rem; height: 2rem; }
.logo--footer .logo__text { font-size: 1.25rem; }

.contact-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}
.contact-row svg { color: var(--primary); flex-shrink: 0; margin-top: 0.25rem; }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-links a {
    width: 2rem;
    height: 2rem;
    background-color: var(--slate-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s;
}
.social-links a:hover { background-color: var(--primary); }

.footer-col h4 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--slate-500);
    font-size: 0.75rem;
}
@media(min-width: 768px) { .footer-bottom { flex-direction: row; } }

.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a:hover { color: white; }


@media(max-width:1440px){
.section-header { margin-bottom: 0rem;}
}

@media(max-width:991px){
    
.section {padding: 2rem 0;}
.product-card__img {height: auto;padding: 10px;}
.product-card__body {padding: 10px;}
.products-grid {gap: 15px;}
.projects-grid {gap: 15px;}
.btn-small {padding: 0.2rem 1rem;}
.product-card__body h3 {overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
}