
/* =========================================
   ITPTrade - Custom Corporate Design
   OpenCart 4.1.0.4
   Navy / White / Blue
   ========================================= */

:root {
    --itp-navy: #10233e;
    --itp-navy-dark: #0b192d;
    --itp-blue: #1769aa;
    --itp-blue-light: #eaf3fb;
    --itp-white: #ffffff;
    --itp-text: #26364a;
    --itp-muted: #718096;
    --itp-border: #e3e9f0;
    --itp-bg: #f6f8fb;
}

/* Global */

body {
    color: var(--itp-text);
    background: var(--itp-white);
}

a {
    color: var(--itp-blue);
    text-decoration: none;
}

a:hover {
    color: var(--itp-navy);
}

/* Top information bar */

#top {
    background: var(--itp-navy-dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 9px 0;
    font-size: 13px;
}

#top,
#top a {
    color: #dce6f2;
}

#top a:hover {
    color: var(--itp-white);
}

#top ul {
    margin-bottom: 0;
}

/* Main header */

body > #container > header {
    background: var(--itp-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--itp-border);
}

#logo img {
    max-width: 200px;
    height: auto;
}

/* Search */

#search {
    margin-top: 5px;
}

#search .form-control {
    min-height: 44px;
    border: 1px solid var(--itp-border);
    border-radius: 6px 0 0 6px;
    box-shadow: none;
}

#search .btn {
    min-height: 44px;
    background: var(--itp-blue);
    border-color: var(--itp-blue);
    color: var(--itp-white);
}

/* Cart */

#cart > .btn {
    min-height: 44px;
    background: var(--itp-navy);
    border-color: var(--itp-navy);
    color: var(--itp-white);
    border-radius: 6px;
}

/* Main navigation */

#menu {
    background: var(--itp-navy) !important;
    border-radius: 0;
    padding: 0 12px;
    min-height: 52px;
}

#menu .navbar-nav {
    gap: 4px;
}

#menu .navbar-nav > .nav-item > .nav-link,
#menu .navbar-nav > .nav-item > a {
    color: var(--itp-white);
    padding: 16px 15px;
    font-size: 14px;
    font-weight: 500;
}

#menu .navbar-nav > .nav-item:hover > .nav-link,
#menu .navbar-nav > .nav-item:hover > a,
#menu .navbar-nav > .nav-item.show > .nav-link {
    background: var(--itp-blue);
    color: var(--itp-white);
}

#menu .dropdown-menu {
    border: 1px solid var(--itp-border);
    border-radius: 0 0 7px 7px;
    box-shadow: 0 12px 28px rgba(16,35,62,.12);
    padding: 12px;
    margin-top: 0;
}

#menu .dropdown-item {
    color: var(--itp-text);
    padding: 9px 12px;
    border-radius: 4px;
}

#menu .dropdown-item:hover {
    background: var(--itp-blue-light);
    color: var(--itp-blue);
}

/* Main content */

#common-home {
    padding-top: 25px;
    padding-bottom: 35px;
}

#content {
    min-width: 0;
}

/* Product cards */

.product-thumb {
    border: 1px solid var(--itp-border);
    border-radius: 7px;
    overflow: hidden;
    background: var(--itp-white);
    transition: box-shadow .2s ease, transform .2s ease;
}

.product-thumb:hover {
    box-shadow: 0 8px 24px rgba(16,35,62,.09);
    transform: translateY(-2px);
}

.product-thumb .description {
    color: var(--itp-muted);
}

/* Buttons */

.btn-primary {
    background: var(--itp-blue);
    border-color: var(--itp-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--itp-navy);
    border-color: var(--itp-navy);
}

/* Footer */

body > #container > footer {
    background: var(--itp-navy-dark);
    color: #dce6f2;
    padding: 42px 0 20px;
    margin-top: 30px;
}

body > #container > footer h5 {
    color: var(--itp-white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
}

body > #container > footer a {
    color: #bdcce0;
}

body > #container > footer a:hover {
    color: var(--itp-white);
}

body > #container > footer li {
    margin-bottom: 10px;
}

body > #container > footer hr {
    border-color: rgba(255,255,255,.15);
    margin: 28px 0 18px;
}

body > #container > footer p {
    color: #aebed2;
    font-size: 13px;
}

/* Responsive */

@media (max-width: 991.98px) {
    #menu {
        padding: 8px 12px;
    }

    #menu #category {
        color: var(--itp-white);
        font-weight: 600;
    }

    #menu .navbar-toggler {
        color: var(--itp-white);
        border-color: rgba(255,255,255,.35);
    }

    #menu .navbar-nav > .nav-item > .nav-link,
    #menu .navbar-nav > .nav-item > a {
        padding: 11px 12px;
    }

    #logo {
        margin-bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    body > #container > header {
        padding: 15px 0;
    }

    #logo img {
        max-width: 170px;
    }

    #common-home {
        padding-top: 15px;
    }
}



/* =========================================
   ITPTrade - Homepage Design
   OpenCart 4.1.0.4
   ========================================= */

.itp-home {
    color: #26364a;
    background: #fff;
}

.itp-home .container {
    max-width: 1320px;
}

/* Hero */
.itp-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 95px;
    color: #fff;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(35, 116, 185, .35), transparent 42%),
        linear-gradient(115deg, #0b192d 0%, #102d50 60%, #164d7b 100%);
}

.itp-hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -120px;
    bottom: -250px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255,255,255,.025),
                0 0 0 90px rgba(255,255,255,.02);
}

.itp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.itp-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #4e9de0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.itp-hero .itp-eyebrow {
    color: #8fc9ff;
}

.itp-hero h1 {
    max-width: 750px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.16;
    font-weight: 700;
}

.itp-hero-content > p {
    max-width: 650px;
    color: #d1deed;
    font-size: 17px;
    line-height: 1.9;
}

.itp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.itp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .2s ease;
}

.itp-btn-primary {
    color: #fff !important;
    background: #1769aa;
    border-color: #1769aa;
}

.itp-btn-primary:hover {
    color: #fff !important;
    background: #0e4e83;
    border-color: #0e4e83;
}

.itp-btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,.5);
    background: transparent;
}

.itp-btn-outline:hover {
    color: #10233e !important;
    background: #fff;
}

.itp-hero-note {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 65px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #dce8f5;
    font-size: 13px;
}

.itp-hero-note span {
    color: #8fc9ff;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Module area */
.itp-module-area {
    padding-top: 25px;
    padding-bottom: 10px;
}

/* Sections */
.itp-section {
    padding: 75px 0;
}

.itp-section-soft {
    background: #f5f8fc;
}

.itp-section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.itp-section-heading h2,
.itp-solutions h2,
.itp-rfq h2 {
    margin: 0 0 15px;
    color: #10233e;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 700;
}

.itp-section-heading p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}

/* Cards */
.itp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.itp-info-card,
.itp-industry-card {
    display: block;
    min-height: 215px;
    padding: 27px;
    border: 1px solid #e3e9f0;
    border-radius: 7px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.itp-info-card {
    text-decoration: none !important;
}

.itp-info-card:hover,
.itp-industry-card:hover {
    transform: translateY(-4px);
    border-color: #b8d5ed;
    box-shadow: 0 12px 28px rgba(16,35,62,.08);
}

.itp-card-number {
    display: inline-block;
    margin-bottom: 18px;
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.itp-info-card h3,
.itp-industry-card h3 {
    margin: 0 0 12px;
    color: #10233e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.itp-info-card p,
.itp-industry-card p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.8;
}

.itp-card-link {
    display: inline-block;
    margin-top: 20px;
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
}

/* Brands */
.itp-brand-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.itp-brand-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 65px;
    padding: 12px 20px;
    border: 1px solid #e3e9f0;
    border-radius: 5px;
    background: #fff;
    color: #10233e;
    font-size: 16px;
    font-weight: 700;
}

.itp-centered-link {
    margin-top: 28px;
    text-align: center;
}

.itp-text-link {
    color: #1769aa;
    font-weight: 700;
}

/* Industries */
.itp-industry-card {
    min-height: 175px;
    background: #f9fbfd;
}

/* Solutions */
.itp-solutions {
    padding: 75px 0;
    color: #fff;
    background: linear-gradient(110deg, #10233e, #164d7b);
}

.itp-solutions-content {
    max-width: 800px;
}

.itp-solutions .itp-eyebrow {
    color: #8fc9ff;
}

.itp-solutions h2 {
    color: #fff;
}

.itp-solutions p {
    max-width: 720px;
    margin-bottom: 27px;
    color: #d1deed;
    font-size: 15px;
    line-height: 1.9;
}

.itp-btn-light {
    color: #10233e !important;
    background: #fff;
}

.itp-btn-light:hover {
    color: #fff !important;
    background: #1769aa;
}

/* Final RFQ */
.itp-rfq {
    padding: 55px 0;
    background: #f5f8fc;
}

.itp-rfq .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.itp-rfq h2 {
    font-size: 28px;
}

.itp-rfq p {
    margin: 0;
    color: #718096;
    line-height: 1.8;
}

/* RTL support */
html[dir="rtl"] .itp-home {
    text-align: right;
}

html[dir="rtl"] .itp-hero::after {
    right: auto;
    left: -120px;
}

html[dir="rtl"] .itp-hero h1,
html[dir="rtl"] .itp-hero-content > p {
    margin-right: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .itp-hero {
        padding: 75px 0;
    }

    .itp-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .itp-rfq .container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .itp-hero {
        padding: 55px 0;
    }

    .itp-hero-content > p {
        font-size: 15px;
    }

    .itp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .itp-card-grid {
        grid-template-columns: 1fr;
    }

    .itp-section {
        padding: 50px 0;
    }

    .itp-brand-list span {
        min-width: calc(50% - 8px);
        font-size: 14px;
    }

    .itp-rfq {
        padding: 42px 0;
    }
}
