/*
Theme Name: Orient Exports
Theme URI: https://ravi26design.github.io/orient-exports-website/
Author: Orient Exports Limited
Author URI: https://orientexportsltd.com
Description: Custom WordPress theme for Orient Exports Limited — sourcing, pharma, building materials. Bootstrap 5 based, fully responsive, with custom post type for products.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: orient-exports
*/

/* Theme styles loaded from assets/css/theme.css */
.page-hero h1 {
    color: #fff;
}
.cat-card{display:block;text-decoration:none;color:inherit;position:relative;overflow:hidden;border-radius:10px;height:300px;transition:transform .35s, box-shadow .35s}
.cat-card:hover{transform:translateY(-6px);box-shadow:0 28px 55px rgba(13,33,64,.22)}
.cat-card-bg{position:absolute;inset:0;transition:transform .6s}
.cat-card:hover .cat-card-bg{transform:scale(1.04)}
.cat-card-watermark{position:absolute;font-size:240px;line-height:1;opacity:.18;right:-30px;top:-20px;transform:rotate(-12deg);transition:transform .6s,opacity .35s}
.cat-card:hover .cat-card-watermark{transform:rotate(-8deg) scale(1.1);opacity:.28}
.cat-card-pattern{position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%,rgba(255,255,255,.08) 0%,transparent 35%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.06) 0%,transparent 40%)}
.cat-card-content{position:absolute;bottom:0;left:0;right:0;padding:26px 24px;color:#fff;z-index:2}
.cat-card-num{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:13px;letter-spacing:3px;color:var(--gold);margin-bottom:10px;display:block}
.cat-card-name{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:26px;text-transform:uppercase;line-height:1.05;letter-spacing:.5px;margin-bottom:14px;color:#fff}
.cat-card-meta{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:14px}
.cat-card-arrow{display:inline-flex;align-items:center;gap:6px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:#fff;transition:gap .25s}
.cat-card:hover .cat-card-arrow{gap:14px}
.cat-card-arrow .arrow-circle{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.15);display:inline-flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);transition:background .25s}
.cat-card:hover .arrow-circle{background:var(--red)}
/* Theme variants */
.cat-pharma{background:linear-gradient(135deg,#0d2140 0%,#032b48 50%,#c0202a 130%)}
.cat-api{background:linear-gradient(135deg,#1e5799 0%,#2d3e84 60%,#5b2280 120%)}
.cat-facility{background:linear-gradient(135deg,#0d2140 0%,#032b48 50%,#0a8a8a 130%)}
.cat-supplies{background:linear-gradient(135deg,#e11928 0%,#c0202a 50%,#d4a853 130%)}
.cat-building{background:linear-gradient(135deg,#0d2140 0%,#3a3f5c 60%,#7d4a17 130%)}
.cat-others{background:linear-gradient(135deg,#0d2140 0%,#032b48 60%,#2d6e3a 130%)}
.cat-cta-row{margin-top:50px;text-align:center}
.cat-cta-row .btn{padding:14px 32px;font-size:13px;letter-spacing:2px}

.navbar-brand img {
    width: 220px;
}
.navbar-toggler {
    color: #052d4a !important;
    border: solid #052d4a !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23052d4a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
textarea.wpcf7-form-control.wpcf7-textarea.form-control {
    max-height: 110px;
}
.wpcf7-spinner {
    display: none;
}
.hero-title {
    color: #fff;
}

.footer-brand img {
    width: 220px;
    filter: brightness(0) invert(1);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--navy), #1a3a6b);
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    transition: 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    color: #fff;
}
.mv-icon img {
    width: 90px;
}
/* ── INDUSTRIES SECTION ───────────────────────────── */
.industries-section {
    padding: 4.5rem 0 5rem;
    background: var(--white);
}

/*
    EXACT layout from screenshot:
    Each "pair-row" = 2 columns side-by-side.
    LEFT column:  BIG IMAGE on top, then title + description BELOW the image.
    RIGHT column: title + description ON TOP, then BIG IMAGE below.
    The two columns are NOT bordered cards — open white layout with padding.
*/

.ind-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    row-gap: 0;
    margin-bottom: 4.5rem;
    align-items: start;
}
.ind-pair:last-child { margin-bottom: 0; }

/* LEFT CELL: image first, then text */
.ind-left { display: flex; flex-direction: column; }
.ind-left .ind-img { order: 1; }
.ind-left .ind-body { order: 2; padding-top: 1.25rem; }

/* RIGHT CELL: text first, then image */
.ind-right { display: flex; flex-direction: column; }
.ind-right .ind-body { order: 1; padding-bottom: 1rem; }
.ind-right .ind-img  { order: 2; }

/* Image wrapper */
.ind-img {
    width: 100%;
    overflow: hidden;
    border-radius: 0;          /* original has no rounded corners */
}
.ind-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}
.ind-left .ind-img img  { height: 100%; }
.ind-right .ind-img img { height: 100%; }

.ind-left:hover .ind-img img,
.ind-right:hover .ind-img img { transform: scale(1.03); }

/* Text body */
.ind-body h3 {
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: .3rem;
    line-height: 1.2;
}
.ind-body p {
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}
/* Distribution description is green in the original */
.ind-body p.green-text { color: var(--green-dim); }

/* ── Decorative diagonal lines (right side of row 2) ── */
.ind-pair.row2 {
    position: relative;
}
.ind-pair.row2::after {
    content: '';
    position: absolute;
    right: -20px; bottom: 40px;
    width: 80px; height: 140px;
    background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 5px,
    rgba(0,200,100,.18) 5px, rgba(0,200,100,.18) 6.5px
    );
    border-radius: 3px;
    pointer-events: none;
}
/* ── FADE-UP ─────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.custom-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.custom-card .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
    height: 200px; /* Ensures uniform image heights */
}

.custom-card .card-title {
    color: #1a365d; /* Deep blue text color */
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
}

.custom-card .card-text {
    color: #4a5568;
    font-size: 0.925rem;
    line-height: 1.5;
}

.custom-card .card-footer-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Circular arrow button styles */
.custom-card .arrow-circle {
    width: 28px;
    height: 28px;
    background-color: #d2e68c; /* Soft lime-green */
    color: #1a365d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background-color 0.2s ease;
}

.custom-card:hover .arrow-circle {
    background-color: #c2db75;
}

/* View All Button */
.custom-card .btn-view-all {
    background-color: #d2e68c;
    color: #1a365d;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.btn-view-all:hover {
    background-color: #c2db75;
    color: #1a365d;
}
/* Mobile Dropdown Styling */
#mobileTabSelect {
    width: 100%;
    background: #ffffff;
    border: 2px solid #dbeafe;
    border-radius: 14px;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom Arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 8 12 14 18 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

/* Focus Effect */
#mobileTabSelect:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Dropdown Options */
#mobileTabSelect option {
    padding: 12px;
    font-size: 15px;
}

/* Wrapper */
.mobile-tab-dropdown {
    position: relative;
    margin-bottom: 24px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}
.whatsapp-sticky {
    position: fixed;
    left: 20px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
}

.whatsapp-sticky img {
    width: 34px;
    height: 34px;
}
.whatsapp-sticky i,
.whatsapp-sticky svg {
    width: 45px !important;
    height: 45px !important;
    font-size: 45px !important;
    color: white !important;
}
/* Optional Glassmorphism Style */
@media (max-width: 767px) {
    .mobile-tab-dropdown {
        background: rgba(255,255,255,0.7);
        backdrop-filter: blur(10px);
        padding: 8px;
        border-radius: 18px;
    }
}
/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 767px) {
    .ind-pair {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 3rem;
    margin-bottom: 3rem;
    }
    /* On mobile both cells: image on top, text below */
    .ind-right .ind-body { order: 2; padding-bottom: 0; padding-top: 1.1rem; }
    .ind-right .ind-img  { order: 1; }
    .ind-left .ind-img img, .ind-right .ind-img img { height: 240px; }
    .contact-form-wrap { padding: 1.5rem 1.1rem; }
    .ind-pair.row2::after { display: none; }
}
#heroSlider .carousel-item a{
    display:block;
}

#heroSlider .carousel-item img{
    width:100%;
    height:auto;
    display:block;
    cursor:pointer;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon{
    width:3rem;
    height:3rem;
}
section#hero {
    padding-top: 5.25%;
}
/* =========================
   Main Dropdown Menu
========================= */
.navbar .dropdown-menu {
    border: 0;
    border-radius: 10px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* =========================
   Submenu Container
========================= */
.dropdown-submenu {
    position: relative;
}

/* =========================
   Level 2+ Dropdowns
========================= */
.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    right: calc(100% + 2px);
    margin-top: 0;
    display: none;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* =========================
   Desktop Behaviour
========================= */
@media (min-width: 992px) {

    /* Level 1 opens on hover */
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Keep all nested menus hidden */
    .dropdown-submenu > .dropdown-menu,
    .dropdown-submenu > .dropdown-menu.show {
        display: none;
    }

    /* Open only hovered submenu */
    .dropdown-submenu:hover > .dropdown-menu,
    .dropdown-submenu:focus-within > .dropdown-menu {
        display: block;
    }
}

/* =========================
   Mobile Behaviour
========================= */
@media (max-width: 991.98px) {

    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 15px;
        box-shadow: none;
        border: 0;
    }

    .dropdown-submenu > .dropdown-menu.show {
        display: block;
    }
}

/* =========================
   Submenu Arrow
========================= */
.dropdown-submenu > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu > .dropdown-toggle::after {
    content: "";
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    border-left: .3em solid currentColor;
    margin-left: 10px;
}
.dropdown-item {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
    border-bottom: 1px solid #052d4a;
}
/* =========================
   Hover States
========================= */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--red) !important;
    color: #fff !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--red);
    color: #fff;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Responsive adjustments for small screens (≤767px) */
@media (max-width: 767px) {
    .page-banner {
        padding: 12% 0 1% !important;
    }
    #hero {
        height: 100% !important;
    }
    .page-hero {
        padding: 140px 0 70px !important;
    }
    section#hero {
        padding-top: 20% !important;
        padding-bottom: 0% !important;
    }
    .hero-content-wrap {
        margin-top: 20%;
    }
    .page-banner h1 {
        font-size: 26px !important;
    }
    .page-banner p {
        font-size: 14px !important;
    }
    .svc-offer {
        padding: 45px 0 !important;
    }
    .section-title {
        font-size: 24px !important;
        line-height: normal !important;
    }
    .section-sub {
        font-size: 14px !important;
    }
    section {
        padding: 40px 0 !important;
    }
    .contact-title {
        font-size: 34px !important;
    }
    .contact-sub {
        font-size: 14px !important;
        line-height: normal !important;
    }
    .country-item {
        padding: 6px 24px;
    }
}

