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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.header {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.logo a {
    color: white;
    text-decoration: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23c0392b" width="1200" height="600"/><path fill="%23e74c3c" opacity="0.3" d="M0 300L50 283.3C100 266.7 200 233.3 300 216.7C400 200 500 200 600 216.7C700 233.3 800 266.7 900 275C1000 283.3 1100 266.7 1150 258.3L1200 250V600H1150C1100 600 1000 600 900 600C800 600 700 600 600 600C500 600 400 600 300 600C200 600 100 600 50 600H0V300Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #c0392b;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.about {
    background: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c0392b;
}

.stat-label {
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #c0392b;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #000000;
    line-height: 1.8;
}

.products {
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.product-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.brands {
    text-align: center;
    padding: 60px 20px;
}

.brands h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-tag {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: 500;
    color: #555;
}

.contact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #e74c3c;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 2rem;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    border-bottom: 3px solid #c0392b;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    }
.service-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.service-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.service-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.service-card:nth-child(6) {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}
.service-link {
    text-decoration: none!important;
    color: inherit;
    display: block;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    min-height: 210px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .service-card {
        min-height: 240px;
        padding: 20px;
    }
}
.service-card p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;   /* max 3 lines */
    -webkit-box-orient: vertical;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ALWAYS 3 cards */
    gap: 24px;
}
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* tablet */
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr; /* mobile */
    }
}

.category .entry-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;   /* ONLY 4 LINES */
    -webkit-box-orient: vertical;

    line-height: 1.6;
    margin-bottom: 10px;
}
.category .post-thumbnail {
    display: block;
    width: 100%;
    height: 250px;          /* FIXED HEIGHT */
    overflow: hidden;
    border-radius: 8px;
}
.category .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* crop properly */
}
.category article {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category .entry-content {
    flex-grow: 1;
}
.category .entry-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* FIX TITLE TO 2 LINES */
    -webkit-box-orient: vertical;

    line-height: 1.4;
    max-height: calc(1.4em * 2);
}
.category .entry-title {
    min-height: 3em;   /* keeps all titles same height */
    margin-bottom: 10px;
}
.category .row {
    row-gap: 30px;   /* space between rows */
}

/* client short code */

        .clients-showcase-wrapper {
            --primary: #0a0e27;
            --accent: #ff6b35;
            --secondary: #004e89;
            --light: #f7f7f2;
            padding: 60px 20px;
            background: var(--primary);
            color: var(--light);
            position: relative;
            overflow: hidden;
        }
        
        .clients-showcase-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }
        
        .clients-container {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .clients-header-client {
            text-align: center;
            margin-bottom: 60px;
            animation: fadeInDown 1s ease-out;
        }
        
        .clients-header-client h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 900;
            background: linear-gradient(135deg, #fff 0%, #667eea 50%, #ff6b35 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            letter-spacing: -2px;
        }
        
        .clients-header-client p {
            font-size: 1.1rem;
            color: rgba(247, 247, 242, 0.7);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .clients-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .client-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 40px 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInUp 0.8s ease-out backwards;
            cursor: pointer;
        }
        
        .client-card:nth-child(1) { animation-delay: 0.1s; }
        .client-card:nth-child(2) { animation-delay: 0.2s; }
        .client-card:nth-child(3) { animation-delay: 0.3s; }
        .client-card:nth-child(4) { animation-delay: 0.4s; }
        .client-card:nth-child(5) { animation-delay: 0.5s; }
        .client-card:nth-child(6) { animation-delay: 0.6s; }
        .client-card:nth-child(7) { animation-delay: 0.7s; }
        .client-card:nth-child(8) { animation-delay: 0.8s; }
        .client-card:nth-child(9) { animation-delay: 0.9s; }
        .client-card:nth-child(10) { animation-delay: 1s; }
        
        .client-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .client-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 107, 53, 0.5);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(255, 107, 53, 0.2);
        }
        
        .client-card:hover::before {
            opacity: 1;
        }
        
        .client-number {
            position: absolute;
            top: 20px;
            right: 20px;
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.05);
            line-height: 1;
            z-index: 0;
        }
        
        .client-content {
            position: relative;
            z-index: 1;
        }
        
        .client-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            font-size: 1.8rem;
            transition: transform 0.4s ease;
        }
        
        .client-card:hover .client-icon {
            transform: scale(1.1) rotate(5deg);
        }
        
        .client-name {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            line-height: 1.2;
        }
        
        .client-type {
            font-size: 0.95rem;
            color: rgba(247, 247, 242, 0.6);
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        
        .client-badge {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(255, 107, 53, 0.15);
            border: 1px solid rgba(255, 107, 53, 0.3);
            border-radius: 20px;
            font-size: 0.85rem;
            color: #ff6b35;
            margin-top: 16px;
            font-weight: 500;
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @media (max-width: 768px) {
            .clients-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .clients-header-client h2 {
                font-size: 2.5rem;
            }
            .clients-header-client h2 {
                font-size: 50px!important;
            }
            .client-content .client-name {
                color: #fff !important;
            }
            .client-content:hover .client-name {
                color: #f5c542!important;
            }
        }