:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #1e293b;
    --accent: #10b981;
    --light: #f8fafc;
    --dark: #0f172a;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #334155;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
}

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

/* Navbar */
.navbar-custom {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    padding: 12px 0;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--secondary);
}

.navbar-custom .navbar-brand span { color: var(--primary); }

.navbar-custom .nav-link {
    font-weight: 500;
    color: #475569;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.08);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0ea5e9 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 50%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-section h1 {
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.hero-section .btn-primary {
    background: var(--primary);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-section .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14,165,233,0.3);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 15px auto 0;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
    height: 100%;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(14,165,233,0.15);
    border-color: var(--primary);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(16,185,129,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s;
}

.service-card:hover .icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.product-card .product-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 20px;
}

.product-card .product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

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

.product-card .product-body {
    padding: 20px;
}

.product-card .product-body .category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .product-body h5 {
    margin: 8px 0;
    font-size: 1.1rem;
}

.product-card .product-body .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card .product-body .old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    background: #f8fafc;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h5 {
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 10px;
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #475569;
    line-height: 1.8;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author h6 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-card .author small {
    color: #94a3b8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.cta-section .btn-light {
    background: #fff;
    color: var(--secondary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer a {
    color: rgba(255,255,255,0.6);
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer .social-links a:hover {
    background: var(--primary);
    color: #fff;
    padding-left: 0;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    padding: 100px 0 50px;
    color: #fff;
}

.breadcrumb-section h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb-section .breadcrumb { background: transparent; margin: 0; }
.breadcrumb-section .breadcrumb-item { color: rgba(255,255,255,0.7); }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.breadcrumb-section .breadcrumb-item.active { color: #fff; }
.breadcrumb-section .breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb-section .breadcrumb a:hover { color: #fff; }

/* Contact Form */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}

.contact-info-card:hover {
    box-shadow: 0 8px 30px rgba(14,165,233,0.12);
    border-color: rgba(14,165,233,0.2);
    transform: translateY(-2px);
}

.contact-info-card .icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(16,185,129,0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-info-card:hover .icon-box {
    background: var(--primary);
    color: #fff;
}

.contact-info-card h5 {
    font-size: 1rem;
    font-weight: 700;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

/* Clients Carousel */
.clients-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #f8fafc 0%, transparent 100%);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(-90deg, #f8fafc 0%, transparent 100%);
}

.clients-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: scrollClients 30s linear infinite;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.6;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
}

.client-name-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* Buttons */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 100px 0 60px; }
    .hero-section h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.8rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .page-header h1 { font-size: 2rem; }
    .product-card .product-img { height: 160px; }
}
