/* ============================================================
   STYLE.CSS - Ranuja Trading - Premium Steel Industry Website
   ============================================================ */

/* ----- FONTS & RESET ----- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --primary: #d4420a;
    --primary-dark: #a83208;
    --primary-light: #f55a1a;
    --primary-gradient: linear-gradient(135deg, #d4420a 0%, #f55a1a 100%);

    /* Dark Colors */
    --dark: #0a0e1a;
    --dark-2: #111827;
    --dark-3: #1a2332;
    --dark-4: #243044;

    /* Light Colors */
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --light-3: #e2e8f0;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    /* Semantic Colors */
    --white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --success: #0ca678;
    --warning: #f59f00;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(212, 66, 10, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;

    /* Container */
    --container: 1240px;
    --container-wide: 1400px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.site-logo-img {
    display: block;
    width: 150px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    max-width: none;
    max-height: none;
}

.footer-logo-img {
    width: 175px;
    height: 70px;
    object-fit: cover;
    object-position: center;
    max-width: none;
    max-height: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ----- Scrollbar Styling ----- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-2);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ----- Utility Classes ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-padding-lg {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    margin-bottom: 12px;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    gap: 10px;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 66, 10, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(212, 66, 10, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark-2);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */

/* ----- Floating WhatsApp Button ----- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark-2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-left: 8px solid var(--dark-2);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 76px;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ----- Floating Call Button ----- */
.call-float {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(212, 66, 10, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: callPulse 2s infinite;
}

.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 66, 10, 0.5);
    color: var(--white);
}

.call-tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark-2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.call-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-left: 8px solid var(--dark-2);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.call-float:hover .call-tooltip {
    opacity: 1;
    visibility: visible;
    right: 76px;
}

@keyframes callPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 66, 10, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(212, 66, 10, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 66, 10, 0);
    }
}

/* ----- Back to Top ----- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--dark-2);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 66, 10, 0.3);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--dark);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--primary-light);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
}

.top-bar-right a:hover {
    color: var(--primary-light);
}

.top-bar-right i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.topbar-whatsapp {
    color: var(--whatsapp) !important;
}

.topbar-whatsapp:hover {
    color: #1da851 !important;
}

/* ============================================================
   CMS PAGES & BLOG
   ============================================================ */
.cms-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}

.cms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 66, 10, 0.22), transparent 34%),
                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='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.cms-hero .container {
    position: relative;
    z-index: 1;
}

.cms-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 45px;
    align-items: center;
}

.cms-hero-content {
    max-width: 850px;
}

.cms-hero-content.text-center {
    margin: 0 auto;
}

.cms-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 66, 10, 0.15);
    border: 1px solid rgba(212, 66, 10, 0.25);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.cms-hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.cms-hero p {
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 760px;
}

.cms-hero-content.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.cms-hero-image img,
.blog-cover-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    object-fit: cover;
}

.cms-hero-image img {
    aspect-ratio: 4 / 3;
}

.cms-content-section {
    background: var(--light);
}

.cms-container-wide {
    max-width: var(--container-wide);
}

.cms-content-card {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-2xl);
    padding: clamp(28px, 5vw, 54px);
    box-shadow: var(--shadow-lg);
}

.cms-rich-content {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.85;
}

.cms-rich-content > *:first-child { margin-top: 0; }
.cms-rich-content > *:last-child { margin-bottom: 0; }

.cms-rich-content h2,
.cms-rich-content h3,
.cms-rich-content h4 {
    color: var(--text-dark);
    line-height: 1.25;
    margin: 1.45em 0 0.55em;
    font-weight: 800;
}

.cms-rich-content h2 { font-size: 1.75rem; }
.cms-rich-content h3 { font-size: 1.35rem; }
.cms-rich-content p { margin-bottom: 1rem; }

.cms-rich-content ul,
.cms-rich-content ol {
    list-style: initial;
    padding-left: 1.4rem;
    margin: 1rem 0;
}

.cms-rich-content li { margin-bottom: 0.45rem; }

.cms-rich-content a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cms-rich-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--light);
    margin: 1.4rem 0;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-weight: 600;
}

.cms-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.cms-rich-content th,
.cms-rich-content td {
    border: 1px solid var(--light-3);
    padding: 12px 14px;
    text-align: left;
}

.cms-rich-content th {
    background: var(--dark-2);
    color: var(--white);
}

.cms-empty-state {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-2xl);
    padding: 60px 24px;
    box-shadow: var(--shadow-sm);
}

.cms-empty-state i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.cms-empty-state h3 {
    color: var(--text-dark);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.blog-card-image {
    display: block;
    height: 210px;
    background: var(--light);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.07);
}

.blog-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    background: linear-gradient(135deg, #fff7ed, #f8fafc);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta,
.blog-detail-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-detail-meta {
    justify-content: center;
    margin-bottom: 18px;
}

.blog-meta span:first-child {
    color: var(--primary);
}

.blog-card h3 {
    font-size: 1.16rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.read-more-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.blog-cover-section {
    background: var(--light);
    padding-top: 50px;
}

.blog-cover-image {
    max-height: 520px;
}

.blog-detail-card {
    max-width: 920px;
    margin: 0 auto;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--light-3);
    margin-top: 34px;
    padding-top: 24px;
}

.blog-tags span {
    background: var(--light);
    color: var(--primary);
    border: 1px solid rgba(212, 66, 10, 0.15);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 700;
}

.related-posts {
    margin-top: 60px;
}

.related-posts h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .cms-hero { padding: 60px 0; }
    .cms-hero-grid { grid-template-columns: 1fr; }
    .blog-card-image { height: 180px; }
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--light-3);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ----- Logo ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(212, 66, 10, 0.2);
}

.logo-text h1 {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
}

/* ----- Search Bar ----- */
.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
    z-index: 1100;
}

.header-search .search-input-wrapper {
    display: flex;
    border: 2px solid var(--light-3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    background: var(--light);
}

.header-search:focus-within .search-input-wrapper {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 66, 10, 0.08);
    background: var(--white);
}

.header-search input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search button {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.header-search button:hover {
    background: var(--primary-dark);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 500;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-3);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--light);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.search-result-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.search-result-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ----- Header Contact ----- */
.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-details span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.2;
}

.contact-details a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-details a:hover {
    color: var(--primary);
}

/* ----- WhatsApp Button Header ----- */
.whatsapp-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.whatsapp-header-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

.whatsapp-header-btn i {
    font-size: 1.4rem;
}

.whatsapp-header-btn span {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: -1px;
}

.whatsapp-header-btn strong {
    font-size: 0.85rem;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.nav-bar {
    background: var(--dark-2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-bar .container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    padding: 18px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition);
    border-radius: 2px 2px 0 0;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
}

.nav-cta {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 15px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark-4) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.02'%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");
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 66, 10, 0.15);
    border: 1px solid rgba(212, 66, 10, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 28px;
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-number span {
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image */
.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    background: linear-gradient(145deg, var(--dark-3), var(--dark-4));
    border-radius: var(--radius-2xl);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.hero-image-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(212, 66, 10, 0.3);
}

.hero-image-badge strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.hero-image-badge span {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Hero Floating Elements */
.hero-floating-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-light);
    animation: floatIcon 3s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.hero-floating-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-floating-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section {
    background: var(--white);
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-icon {
    width: 72px;
    height: 72px;
    background: var(--light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 18px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(212, 66, 10, 0.2);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose-section {
    background: var(--dark-2);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 66, 10, 0.03));
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 66, 10, 0.2);
    transform: translateY(-4px);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(212, 66, 10, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-light);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-card-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: rotateY(180deg);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.why-section-title span {
    color: var(--primary-light);
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-section {
    background: var(--light);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.featured-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.view-all-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 20px;
    border: 1px solid var(--light-3);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-instock {
    background: rgba(12, 166, 120, 0.1);
    color: var(--success);
}

.badge-lowstock {
    background: rgba(245, 159, 0, 0.1);
    color: var(--warning);
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.product-sku {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
}

.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-card-actions .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
}

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-section {
    background: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.brands-wrapper {
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    flex: 0 0 auto;
    min-width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-3);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    background: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: var(--transition);
    letter-spacing: 2px;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--dark-2);
    padding: 80px 0;
    position: relative;
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 66, 10, 0.2);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: rgba(212, 66, 10, 0.2);
    font-size: 3rem;
    font-family: serif;
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: var(--primary-gradient);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn-cta-primary:hover {
    background: var(--light-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-whatsapp {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-whatsapp:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: var(--text-muted);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--primary-gradient);
}

.footer-logo .logo-text h1 {
    color: var(--white);
}

.footer-logo .logo-text span {
    color: var(--text-muted);
}

.footer-col-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-icon:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-contact-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.footer-contact-list i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-list a {
    display: inline;
}

.footer-contact-list a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 30px 0;
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-right i {
    color: var(--primary-light);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    background: var(--dark-2);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.02'%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-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   PRODUCT DETAILS PAGE
   ============================================================ */
.product-detail-section {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

/* Gallery */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-box {
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    background: var(--white);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

.main-image-box img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image-box.zoomed img {
    transform: scale(2);
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
}

.thumbnail-row::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-card {
    border: 2px solid var(--light-3);
    border-radius: var(--radius-md);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
    overflow: hidden;
}

.thumbnail-card img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.thumbnail-card:hover,
.thumbnail-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 66, 10, 0.1);
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    align-self: flex-start;
}

.product-status-badge.instock {
    background: rgba(12, 166, 120, 0.1);
    color: var(--success);
}

.product-status-badge.lowstock {
    background: rgba(245, 159, 0, 0.1);
    color: var(--warning);
}

.product-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 24px;
    font-size: 0.88rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--light-3);
    padding-bottom: 16px;
}

.product-meta strong {
    color: var(--text-dark);
}

/* Specs Box */
.specs-box {
    background: var(--light);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.specs-box h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    border-bottom: 1px dashed var(--light-3);
    padding-bottom: 8px;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

/* B2B Actions */
.b2b-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b2b-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.b2b-buttons .btn {
    flex: 1;
    min-width: 180px;
}

.inventory-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(12, 166, 120, 0.06);
    border: 1px solid rgba(12, 166, 120, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.inventory-info i {
    font-size: 1.4rem;
    color: var(--success);
}

.inventory-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.inventory-info p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tabs-header {
    display: flex;
    background: var(--light);
    border-bottom: 1px solid var(--light-3);
    overflow-x: auto;
}

.tab-btn {
    padding: 16px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    background: var(--white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

.tab-content {
    padding: 30px;
    background: var(--white);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.4s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.tab-pane p {
    margin-bottom: 16px;
    color: var(--text-body);
    line-height: 1.7;
}

.tab-pane ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.tab-pane li {
    margin-bottom: 8px;
    color: var(--text-body);
}

/* ============================================================
   DUAL SECTION (INQUIRY + AVAILABILITY)
   ============================================================ */
.dual-section {
    background: var(--light);
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dual-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-3);
    display: flex;
    flex-direction: column;
}

.dual-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.dual-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.inquiry-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.inquiry-form-layout .full-width {
    grid-column: span 2;
}

.inquiry-submit-btn {
    margin-top: 10px;
    grid-column: span 2;
    width: 100%;
}

/* Checker Styles */
.checker-search-bar {
    display: flex;
    border: 1px solid var(--light-3);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.checker-search-bar input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: var(--light);
    font-size: 0.95rem;
}

.checker-search-bar button {
    background: var(--dark-2);
    color: var(--white);
    border: none;
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.checker-search-bar button:hover {
    background: var(--primary);
}

.checker-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checker-status-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-3);
    background: var(--light);
    transition: var(--transition);
}

.checker-status-card.active {
    background: var(--white);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.status-indicator-circle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.indicator-instock {
    background: rgba(12, 166, 120, 0.1);
    color: var(--success);
}

.indicator-lowstock {
    background: rgba(245, 159, 0, 0.1);
    color: var(--warning);
}

.indicator-outofstock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.checker-status-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.checker-status-info p {
    font-size: 0.82rem;
    color: var(--text-light);
}

.checker-status-val {
    margin-left: auto;
    font-weight: 700;
    font-size: 0.85rem;
}

.checker-status-card:nth-child(1) .checker-status-val {
    color: var(--success);
}

.checker-status-card:nth-child(2) .checker-status-val {
    color: var(--warning);
}

.checker-status-card:nth-child(3) .checker-status-val {
    color: var(--danger);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-box {
    position: relative;
}

.about-image-box img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    border: 4px solid var(--primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.3;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.about-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Stats Counter */
.stats-section {
    background: var(--dark-2);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-box .stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    background: var(--light);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.9rem;
    color: var(--text-body);
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-3);
    background: var(--light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 66, 10, 0.08);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

.form-submit-btn {
    grid-column: span 2;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet & Small Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 96%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-header .container {
        justify-content: space-between;
    }

    .header-search {
        order: 4;
        max-width: 100%;
        margin-top: 12px;
    }

    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-2);
        flex-direction: column;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.85rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-bar {
        position: relative;
    }

    .hero-section {
        padding: 50px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .full-width {
        grid-column: span 1;
    }

    .form-submit-btn {
        grid-column: span 1;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .b2b-buttons {
        flex-direction: column;
    }

    .b2b-buttons .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-header-btn {
        padding: 10px 14px;
    }

    .whatsapp-header-btn span {
        display: none;
    }

    .whatsapp-header-btn strong {
        display: none;
    }

    .product-detail-title {
        font-size: 1.6rem;
    }

    .main-image-box {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .site-logo-img {
        width: 130px;
        height: 52px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        left: 16px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .main-image-box {
        height: 260px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .why-section-title {
        font-size: 1.5rem;
    }
}

/* =============================================================
   NAVBAR DROPDOWN SYSTEM
   ============================================================= */

/* Dropdown Container */
.nav-item.dropdown {
    position: relative;
}

/* Main Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

/* Hover Behavior for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(212, 66, 10, 0.12);
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-item i {
    font-size: 0.75rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.dropdown-item:hover i {
    color: var(--primary);
    transform: translateX(3px);
}

/* Submenu Position */
.dropdown-submenu {
    position: relative;
}

.submenu-list {
    position: absolute;
    top: 0;
    left: 100%;
    width: 320px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

@media (min-width: 992px) {
    .dropdown-submenu:hover > .submenu-list {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* Mobile Responsive Dropdowns */
@media (max-width: 991px) {
    .nav-item.dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-menu, .submenu-list {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.03);
        background: rgba(0, 0, 0, 0.15);
        padding: 5px 0 5px 15px;
        transition: none;
    }

    .dropdown-menu.show, .submenu-list.show {
        display: block;
    }

    .dropdown-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .dropdown-item:hover {
        padding-left: 20px;
    }
}

/* ============================================================
   CERTIFICATES SECTION & AUTO SLIDER
   ============================================================ */
.certificates-section {
    background: var(--light);
    overflow: hidden;
    position: relative;
}

.certificates-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    width: 100%;
}

.certificates-track {
    display: flex;
    gap: 30px;
    align-items: center;
    animation: scrollCertificates 25s linear infinite;
    width: max-content;
}

.certificates-track:hover {
    animation-play-state: paused;
}

.certificate-slide {
    flex: 0 0 auto;
    width: 320px;
}

.certificate-card {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.certificate-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.certificate-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    margin-bottom: 15px;
    border: 1px solid var(--light-2);
    background: #f8fafc;
}

.certificate-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.certificate-card:hover .certificate-img-wrapper img {
    transform: scale(1.05);
}

.certificate-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    gap: 8px;
}

.certificate-card:hover .certificate-hover-overlay {
    opacity: 1;
}

.certificate-hover-overlay i {
    font-size: 2rem;
}

.certificate-hover-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.certificate-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.certificate-card p {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

@keyframes scrollCertificates {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-700px); /* 2 unique slides: (320px * 2) + (30px * 2) = 700px */
    }
}

/* Lightbox Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(5px);
}

.certificate-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.certificate-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
}

.certificate-modal .close-modal:hover,
.certificate-modal .close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

.certificate-modal .modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================================
   CUSTOM ALERT MODAL
   ============================================================ */
.custom-alert-modal {
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 14, 26, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.custom-alert-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    border: 1px solid var(--light-3);
    overflow: hidden;
}

.custom-alert-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.custom-alert-close:hover {
    color: var(--primary);
}

.custom-alert-body {
    padding: 40px 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.custom-alert-body i {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.custom-alert-body i.success-icon {
    color: var(--success);
    filter: drop-shadow(0 0 10px rgba(12, 166, 120, 0.2));
}

.custom-alert-body i.error-icon {
    color: var(--danger);
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.2));
}

.custom-alert-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.custom-alert-body p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.custom-alert-btn {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    width: 100%;
}

.custom-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Animations */
.animate-pop {
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.custom-alert-modal.fade-out {
    opacity: 0;
}