/* ===================================================
   ROBIN ROSE TRADING - MAIN STYLESHEET
   Color Palette: Red #e63946 | Blue #1d3557 | Cream #f1faee | Light Blue #a8dadc | Navy #457b9d
=================================================== */

:root {
    --red: #e63946;
    --red-dark: #c1121f;
    --red-light: #ff6b6b;
    --blue: #1d3557;
    --blue-mid: #457b9d;
    --blue-light: #a8dadc;
    --cream: #f1faee;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow: 0 4px 24px rgba(29, 53, 87, 0.10);
    --shadow-hover: 0 8px 40px rgba(230, 57, 70, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--blue);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}


/* ── SCROLLBAR ── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}


/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(29, 53, 87, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(29, 53, 87, 0.14);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 44px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-script {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--red);
    font-size: 1rem;
}

.brand-bold {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--blue);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--blue);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 10%;
    right: 10%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    border-radius: 30px;
    padding: 0.5rem 1.3rem !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}


/* Dropdown */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    min-width: 230px;
    z-index: 999;
    border-top: 3px solid var(--red);
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    color: var(--blue);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--red);
    padding-left: 1.6rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--blue);
    cursor: pointer;
}


/* ===== HERO SECTION ===== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, rgba(168, 218, 220, 0.2) 100%);
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29, 53, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    animation: fadeSlideUp 0.7s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.15;
    color: var(--blue);
    margin-bottom: 1.2rem;
    animation: fadeSlideUp 0.7s ease 0.1s both;
}

.hero-title span {
    color: var(--red);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.7s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.7s ease 0.3s both;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--red);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    padding: 0.85rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    animation: fadeSlideUp 0.7s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red);
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.hero-image-wrap {
    position: relative;
    animation: fadeSlideRight 0.9s ease 0.2s both;
}

.hero-image-wrap img {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 20px 50px rgba(230, 57, 70, 0.15));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--red);
    animation: fadeSlideUp 0.8s ease 0.6s both;
}

.hero-badge-icon {
    font-size: 1.4rem;
    color: var(--red);
}

.hero-badge-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
}

.hero-badge-text strong {
    font-size: 0.9rem;
    color: var(--blue);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ===== TRUST BAR ===== */

.trust-bar {
    background: var(--blue);
    padding: 1.2rem 2rem;
}

.trust-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--blue-light);
    font-size: 1.2rem;
}


/* ===== SECTION COMMONS ===== */

.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--gray-light);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--blue);
    margin-bottom: 0.8rem;
}

.section-title span {
    color: var(--red);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ===== FEATURED CATEGORIES ===== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.4rem;
}

.cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--red);
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    background: var(--red);
    color: var(--white);
}

.cat-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue);
}

.cat-count {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 4px;
}


/* ===== PRODUCT CARDS ===== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.6rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(29, 53, 87, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-height: 160px;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.product-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.stock-in {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.stock-out {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.product-body {
    padding: 1.2rem;
}

.product-sku {
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.product-name {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.97rem;
    margin: 4px 0;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red);
}

.btn-quote {
    background: var(--blue);
    color: var(--white);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quote:hover {
    background: var(--red);
}


/* ===== FILTER BAR ===== */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-btn {
    padding: 0.45rem 1.1rem;
    border: 2px solid var(--blue-light);
    background: transparent;
    color: var(--blue);
    border-radius: 30px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 2px solid var(--blue-light);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    margin-left: auto;
}

.search-bar input {
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--blue);
    background: transparent;
    min-width: 180px;
}

.search-bar i {
    color: var(--gray);
}


/* ===== TABLE ===== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table thead {
    background: var(--blue);
    color: var(--white);
}

.data-table th {
    padding: 1rem 1.2rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 0.9rem 1.2rem;
    font-size: 0.88rem;
    color: var(--blue);
    border-bottom: 1px solid rgba(168, 218, 220, 0.3);
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: var(--cream);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}


/* ===== WHY CHOOSE US ===== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.6rem;
}

.why-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--red);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 1rem;
}

.why-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.why-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}


/* ===== SERVICES ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--blue-mid));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--blue);
    margin-bottom: 0.7rem;
}

.service-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-list {
    margin-top: 1rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--blue);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i {
    color: var(--red);
    font-size: 0.75rem;
}


/* ===== ABOUT ===== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-cert {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 0.8rem;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--cream);
    gap: 4px;
}

.cert-badge i {
    font-size: 1.2rem;
    color: var(--red);
}

.cert-badge span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue);
}

.about-content {}

.about-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.about-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
}

.mv-card h4 {
    color: var(--red);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.mv-card p {
    font-size: 0.85rem;
    color: var(--blue);
    line-height: 1.6;
}


/* ===== TEAM ===== */

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.team-card {
    flex: 0 1 200px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-ico {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--red);
    border: 3px solid var(--red);
    transition: var(--transition);
}

.team-card:hover .team-ico {
    background: var(--red);
    color: #fff;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--red);
}

.team-name {
    font-weight: 700;
    color: var(--blue);
}

.team-role {
    font-size: 0.82rem;
    color: var(--red);
    margin-top: 4px;
}


/* ===== TESTIMONIALS ===== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.6rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--red);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-stars {
    color: #ffd60a;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
}

.testimonial-info strong {
    font-size: 0.9rem;
    color: var(--blue);
}


/* ===== ANNOUNCEMENTS ===== */

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.6rem;
}

.announcement-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.ann-header {
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    position: relative;
}

.ann-icon {
    font-size: 2.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    color: var(--white);
}

.ann-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.9);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ann-title {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.ann-body {
    padding: 1.4rem;
}

.ann-desc {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ann-date {
    font-size: 0.78rem;
    color: var(--blue-mid);
    display: flex;
    align-items: center;
    gap: 6px;
}

.iscan-irent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-hero-card {
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-hero-card.red-card {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.feature-hero-card::after {
    content: attr(data-label);
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.06;
    color: var(--white);
    font-family: var(--font-display);
}

.feature-hero-card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-hero-card p {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.feature-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feat-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
}


/* ===== CONTACT ===== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
}

.contact-info {}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-method span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
}

.contact-method strong {
    font-size: 0.92rem;
    color: var(--blue);
}

.map-embed {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    margin-top: 1rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--blue-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--blue);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* ===== PORTAL / LOGIN ===== */

.portal-container {
    min-height: calc(100vh - 72px);
    padding-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 5rem 2rem;
}

.portal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(29, 53, 87, 0.15);
    width: 100%;
    max-width: 480px;
}

.portal-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.portal-logo img {
    height: 56px;
    margin-bottom: 0.5rem;
}

.portal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--blue-light);
}

.portal-tab {
    flex: 1;
    padding: 0.7rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.portal-tab.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* ===== DASHBOARD ===== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.dash-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.dash-stat-icon.red {
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
}

.dash-stat-icon.blue {
    background: rgba(29, 53, 87, 0.1);
    color: var(--blue);
}

.dash-stat-icon.teal {
    background: rgba(168, 218, 220, 0.3);
    color: var(--blue-mid);
}

.dash-stat-icon.green {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.dash-stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
}

.dash-stat-label {
    font-size: 0.78rem;
    color: var(--gray);
}

.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #856404;
}

.status-shipped {
    background: rgba(69, 123, 157, 0.15);
    color: #457b9d;
}

.status-delivered {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-processing {
    background: rgba(230, 57, 70, 0.15);
    color: var(--red);
}


/* ===== FOOTER ===== */

.footer {
    background: var(--blue);
    color: var(--white);
    padding: 4rem 2rem 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 48px;
    margin-bottom: 0.8rem;
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--blue-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-desc {
    font-size: 0.83rem;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--red);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-categories h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 1.2rem;
}

.footer-links ul li,
.footer-categories ul li {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-categories a {
    font-size: 0.85rem;
    opacity: 0.75;
    transition: var(--transition);
    color: var(--white);
}

.footer-links a:hover,
.footer-categories a:hover {
    opacity: 1;
    color: var(--blue-light);
    padding-left: 4px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

.contact-item i {
    color: var(--blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 0.5rem;
}


/* ===== CHATBOT ===== */

.chatbot-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.chat-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(230, 57, 70, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: chatPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.08);
}

.chat-toggle-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #28a745;
    border: 2px solid var(--white);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
}

@keyframes chatPop {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-30deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 16px 60px rgba(29, 53, 87, 0.18);
    overflow: hidden;
    animation: chatSlide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chatSlide {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.chat-window.open {
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.chat-bot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header strong {
    font-size: 0.9rem;
    display: block;
}

.chat-status {
    font-size: 0.72rem;
    opacity: 0.75;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    margin-left: auto;
    cursor: pointer;
    opacity: 0.7;
    font-size: 1rem;
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
    background: var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-message {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.chat-message.bot {
    flex-direction: row;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.msg-bubble {
    padding: 0.6rem 1rem;
    border-radius: 16px;
    font-size: 0.85rem;
    max-width: 75%;
    line-height: 1.5;
}

.chat-message.bot .msg-bubble {
    background: var(--white);
    color: var(--blue);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chat-message.user .msg-bubble {
    background: var(--red);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: var(--white);
    border-top: 1px solid rgba(168, 218, 220, 0.4);
}

.chat-quick-replies button {
    padding: 4px 10px;
    border: 1.5px solid var(--blue-light);
    background: transparent;
    color: var(--blue);
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.chat-quick-replies button:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(168, 218, 220, 0.4);
    background: var(--white);
}

.chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--blue);
}

.chat-input-area button {
    background: var(--red);
    color: var(--white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-area button:hover {
    background: var(--red-dark);
}


/* ===== PAGE HERO BANNER ===== */

.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    padding: 5rem 2rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 0.5rem;
    position: relative;
}

.page-hero p {
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    font-size: 0.95rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    opacity: 0.7;
    position: relative;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* ===== PROMO BANNER ===== */

.promo-banner {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    padding: 1.2rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-banner a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}


/* ===== PAGINATION ===== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
}

.page-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue-light);
    background: var(--white);
    color: var(--blue);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image-wrap {
        order: -1;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-badge {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .iscan-irent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem 2rem 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .mission-vision {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .trust-bar-inner {
        justify-content: flex-start;
    }
}