/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: rgba(37, 99, 235, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

/* Specific Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-sm {
    max-width: 800px;
}
.container-md {
    max-width: 1000px;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.section {
    padding: 100px 0;
}
.section-sm {
    padding: 60px 0;
}
.bg-white {
    background-color: var(--bg-secondary);
}

/* Grids */
.grid, .grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}
.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    color: #fff;
}
.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 70px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.logo span {
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}
@media (max-width: 992px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* Hero Section */
.home-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.04), transparent 40%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.04), transparent 40%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-secondary);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}
.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(18px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}
.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.card:hover .card-icon {
    background: var(--accent);
    color: #fff;
}
.card-title {
    font-size: 22px;
    margin-bottom: 12px;
}
.card-text {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Section Titles */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}
.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Page Headers */
.page-header {
    padding: 180px 0 100px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05), transparent 60%), #ffffff;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 60px;
}
.page-title {
    font-size: 48px;
    margin-bottom: 16px;
}
.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Catalog */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: #e2e8f0;
}
.product-img {
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}
.product-img i {
    transition: transform 0.5s ease;
}
.product-card:hover .product-img i {
    transform: scale(1.1);
}
.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}
.product-name {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.3;
}
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    background: #d1fae5;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    align-self: flex-start;
}
.stock-status.quote {
    color: #f59e0b;
    background: #fef3c7;
}
.product-specs {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
    background: #f8fafc;
    padding: 16px;
    border-radius: var(--radius-sm);
}
.product-specs strong {
    color: var(--text-primary);
}
.product-specs div {
    margin-bottom: 6px;
}
.product-specs div:last-child {
    margin-bottom: 0;
}
.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Brands Marquee */
.brands-marquee {
    display: flex;
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.brands-track {
    display: flex;
    gap: 80px;
    align-items: center;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
    padding: 0 40px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brand-item {
    font-size: 32px;
    font-weight: 700;
    color: #cbd5e1;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
}
.brand-item:hover {
    color: var(--text-secondary);
}

/* Services Page specific */
.service-detailed-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.service-detailed-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-img {
    height: 250px;
    background: var(--accent-light);
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-img i {
    font-size: 80px;
    color: var(--accent);
}
.service-content {
    padding: 40px;
}

/* About Us section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--accent-light);
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-img i {
    font-size: 160px;
    color: var(--accent);
    opacity: 0.5;
}
blockquote {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--accent-light);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}
.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: #0f172a;
    color: #fff;
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-logo {
    color: #fff;
    margin-bottom: 24px;
}
.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}
.footer-text {
    color: #94a3b8;
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 16px;
}
.footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
}
.scroll-to-top.visible:hover {
    transform: translateY(-4px);
}
.scroll-to-top .ph-caret-up {
    position: absolute;
    font-size: 24px;
    color: var(--accent);
}
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.progress-ring__circle {
    transition: stroke-dashoffset 0.1s;
}
