@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
    --primary: #FF5A00;
    --primary-hover: #e04e00;
    --secondary: #161616;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --text-dark: #1b1b1b;
    --text-light: #777777;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --radius-lg: 16px; /* Scaled down */
    --radius-md: 8px;  /* Scaled down */
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.5;
    font-size: 14px; /* Base font size */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px; /* Reduced from 1440px */
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px; /* Reduced */
    font-size: 12px; /* Reduced */
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 15px rgba(255, 90, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 90, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
    transform: translateY(-2px);
}

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

.btn-black:hover {
    background: black;
    transform: translateY(-2px);
}

/* HEADER */
.top-bar {
    background: var(--secondary);
    color: #aaaaaa;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}
.social-icons a:hover {
    background: var(--primary);
}

/* NAVBAR */
.navbar {
    background: var(--bg-white);
    padding: 12px 0; /* Reduced */
    transition: var(--transition);
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-wrapper img {
    height: 40px; /* Reduced */
    object-fit: contain;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--secondary);
    cursor: pointer;
    padding: 6px 8px;
}

.nav-links {
    display: flex;
    gap: 25px; /* Reduced */
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px; /* Reduced */
    font-family: var(--font-heading);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 500px; /* Reduced */
    min-height: 500px;
    background-image: url('images/home/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.5) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 12px; /* Reduced */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    color: #e0e0e0;
}

.hero h1 {
    font-size: 42px; /* Reduced */
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 15px; /* Reduced */
    color: #dddddd;
    margin-bottom: 25px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(17,17,17,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 90, 0, 0.3);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.hero-badge h3 {
    font-size: 28px; /* Reduced */
    color: var(--primary);
    line-height: 1;
}
.hero-badge p {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* TRUST BAR */
.trust-bar {
    position: relative;
    z-index: 10;
    margin-top: -40px; /* Reduced */
    padding: 0 30px;
}
.trust-bar .container {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    padding: 25px 40px; /* Reduced */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}
.trust-item i {
    font-size: 28px; /* Reduced */
    color: var(--primary);
}
.trust-item h4 {
    font-size: 13px; /* Reduced */
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 700;
}

/* SECTION COMMON */
.section {
    padding: 60px 0; /* Reduced */
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}
.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-size: 32px; /* Reduced */
    color: var(--secondary);
    font-weight: 800;
}
.section-title span {
    color: var(--primary);
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Reduced */
}
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.product-img {
    height: 160px; /* Reduced */
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.product-content {
    padding: 15px 20px; /* Reduced */
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.product-icon {
    color: var(--primary);
    font-size: 18px; /* Reduced */
    margin-top: 5px;
}
.product-text h3 {
    font-size: 14px; /* Reduced */
    font-weight: 700;
    color: var(--secondary);
}
.product-arrow {
    margin-left: auto;
    color: var(--primary);
    align-self: flex-end;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
    font-size: 12px;
}
.product-card:hover .product-arrow {
    opacity: 1;
    transform: translateX(0);
}
.view-all-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -40px;
    position: relative;
    z-index: 5;
}
.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    font-size: 12px;
}
.btn-view-all:hover {
    background: var(--primary);
    color: white;
}

/* WHY CHOOSE US */
.why-us {
    background: var(--secondary);
    padding: 70px 0; /* Reduced */
    color: white;
}
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.why-us-content .section-title {
    color: white;
    font-size: 38px; /* Reduced */
    margin-bottom: 15px;
    line-height: 1.1;
}
.why-us-content p {
    font-size: 14px;
    color: #aaaaaa;
    margin-bottom: 30px;
    max-width: 450px;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-item h3 {
    font-size: 32px; /* Reduced */
    color: white;
    margin-bottom: 5px;
}
.stat-item h3 span {
    color: var(--primary);
}
.stat-item p {
    color: #888888;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
.stat-item i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}
.why-us-images {
    position: relative;
    height: 450px; /* Reduced */
}
.why-us-images img {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    object-fit: cover;
}
.img-main {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    z-index: 2;
}
.img-overlay1 {
    width: 50%;
    height: 40%;
    bottom: 0;
    left: 0;
    z-index: 3;
    border: 6px solid var(--secondary);
}
.img-overlay2 {
    width: 45%;
    height: 50%;
    top: 0;
    right: 0;
    z-index: 1;
}

.trusted-badge {
    position: absolute;
    bottom: 30px;
    right: 10px;
    background: rgba(255, 90, 0, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
}
.trusted-badge i { font-size: 24px; }
.trusted-badge p { font-size: 11px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }

/* INDUSTRIES */
.industries-section {
    background: var(--bg-light);
}
.industries-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}
.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 12%;
    min-width: 100px;
}
.industry-icon {
    width: 60px;
    height: 60px; /* Reduced */
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Reduced */
    color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.industry-item:hover .industry-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}
.industry-item h4 {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 700;
}

/* CTA BANNER */
.cta-banner {
    background: var(--primary);
    padding: 40px 0; /* Reduced */
}
.cta-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cta-banner h2 {
    color: white;
    font-size: 32px; /* Reduced */
}
.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

/* FOOTER */
.footer {
    background: var(--secondary);
    padding: 50px 0 20px; /* Reduced */
    color: #aaaaaa;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo img {
    height: 40px; /* Reduced */
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-col h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    position: relative;
    font-size: 13px;
}
.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary);
    font-size: 10px;
}
.footer-links a:hover {
    color: white;
}
.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}
.footer-contact i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-bar .container { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 992px) {
    .why-us-grid { grid-template-columns: 1fr; }
    .why-us-images { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-banner .container { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-white);
        border-top: 1px solid #eee;
        box-shadow: 0 10px 24px rgba(0,0,0,0.10);
        padding: 6px 20px 12px;
        z-index: 1000;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid #f2f2f2; font-size: 15px; }
    .nav-links a.active::after { display: none; }
    .top-bar .container { flex-direction: column; gap: 6px; }
    .top-info { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
    .hero h1 { font-size: 32px; }
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .trust-bar { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .navbar .btn-primary { padding: 9px 13px; font-size: 11px; }
    .logo-wrapper img { height: 34px; }
    .hero h1 { font-size: 26px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn { width: 100%; justify-content: center; text-align: center; }
    .footer-grid { grid-template-columns: 1fr !important; }
}

/* Global mobile safety: fluid media + no horizontal scroll (clip keeps sticky navbar working) */
img, video, iframe { max-width: 100%; }
img { height: auto; }
html, body { overflow-x: clip; }
@media (max-width: 480px) {
    .about-brands-grid, .brands-grid, .trust-features-grid,
    .contact-features-list, .services-features-list { grid-template-columns: 1fr 1fr !important; }
}
