/* ============================================
   Mangalmurti Metachem LLP - Main Stylesheet
   Brand: Copper/Orange, Deep Red, Charcoal, White
   ============================================ */

:root {
    --copper: #B87333;
    --copper-light: #D4956B;
    --copper-dark: #8B5A2B;
    --copper-gradient: linear-gradient(135deg, #B87333, #D4956B);
    --red: #8B1A1A;
    --red-dark: #6B1010;
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
    --dark: #1A1A1A;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-grey: #F0F0F0;
    --grey: #E0E0E0;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }

a { color: var(--copper); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--copper-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.825rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-center { font-weight: 600; letter-spacing: 0.3px; }
.top-bar-left span, .top-bar-center span, .top-bar-right span { display: flex; align-items: center; gap: 6px; }
.top-bar-left i, .top-bar-center i, .top-bar-right i { color: var(--copper-light); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 110px;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img { height: 70px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}
.logo-tagline {
    font-size: 0.7rem;
    color: var(--copper);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}
.nav-menu a {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--copper);
    background: rgba(184, 115, 51, 0.08);
}
.nav-menu .nav-cta {
    background: var(--copper);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
}
.nav-menu .nav-cta:hover { background: var(--copper-dark); }
.nav-menu .fa-chevron-down { font-size: 0.65rem; }

.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 240px;
    padding: 8px 0;
    list-style: none;
    z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    padding: 10px 20px;
    display: block;
    border-radius: 0;
    font-size: 0.875rem;
}
.dropdown li a:hover { background: var(--light-grey); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.92), rgba(139,26,26,0.85)), url('../images/copper-cathode-stacks.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-video-section {
    background: var(--charcoal);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.80), rgba(139,26,26,0.65));
    z-index: 1;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(184,115,51,0.15), transparent 60%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.hero h1 .highlight { color: var(--copper-light); }
.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Page Hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--charcoal), var(--red-dark));
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: 2.5rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs {
    background: var(--off-white);
    padding: 12px 0;
    font-size: 0.85rem;
}
.breadcrumbs a { color: var(--copper); }
.breadcrumbs span { color: var(--text-muted); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-primary { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-primary:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(184,115,51,0.3); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--copper); border-color: var(--copper); }
.btn-outline:hover { background: var(--copper); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0;}
.section-grey { background: var(--off-white); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header .label {
    display: inline-block;
    color: var(--copper);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--copper-gradient);
    margin: 15px auto;
    border-radius: 2px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { padding: 50px 0; background: var(--white); border-bottom: 1px solid var(--grey); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.trust-item { padding: 20px; }
.trust-item i {
    font-size: 2.25rem;
    color: var(--copper);
    margin-bottom: 12px;
    display: block;
}
.trust-item h4 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 5px; }
.trust-item p { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img {
    height: 220px;
    overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 25px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 15px; }

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Industry Cards */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.industry-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}
.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--copper);
}
.industry-card i {
    font-size: 2.5rem;
    color: var(--copper);
    margin-bottom: 18px;
    display: block;
}
.industry-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.industry-card p { font-size: 0.875rem; color: var(--text-light); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    gap: 18px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.feature-item:hover { box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--copper);
    font-size: 1.35rem;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.feature-item p { font-size: 0.875rem; color: var(--text-light); }

/* ============================================
   STATS / COUNTERS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--charcoal), var(--red-dark));
    padding: 60px 0;
    color: var(--white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--copper-light);
    margin-bottom: 5px;
}
.stat-item p { font-size: 0.95rem; opacity: 0.9; }

/* ============================================
   CERTIFICATION SECTION
   ============================================ */
.cert-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}
.cert-content h3 { margin-bottom: 15px; }
.cert-content p { color: var(--text-light); margin-bottom: 15px; }
.cert-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.cert-badge {
    background: var(--off-white);
    border: 2px solid var(--grey);
    border-radius: var(--radius);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}
.cert-badge i { color: var(--copper); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec-table th, .spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--grey);
    font-size: 0.9rem;
}
.spec-table th { background: var(--charcoal); color: var(--white); font-weight: 600; }
.spec-table tr:hover { background: rgba(184,115,51,0.04); }
.spec-table .pass { color: #28a745; font-weight: 600; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--copper-gradient);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 15px; }
.cta-section p { opacity: 0.9; margin-bottom: 30px; font-size: 1.05rem; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--grey);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(184,115,51,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-info-box {
    background: var(--charcoal);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
}
.contact-info-box h3 { color: var(--white); margin-bottom: 25px; }
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-item i {
    color: var(--copper-light);
    font-size: 1.25rem;
    margin-top: 3px;
    min-width: 20px;
}
.contact-info-item h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--white); margin-bottom: 3px; }
.contact-info-item p { font-size: 0.875rem; opacity: 0.8; }
.contact-info-item a { color: var(--copper-light); }

.map-container {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.blog-card .card-body .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}
.blog-card .card-body .meta i { color: var(--copper); margin-right: 4px; }

.blog-content { max-width: 800px; margin: 0 auto; }
.blog-content h2 { font-size: 1.75rem; margin: 30px 0 15px; }
.blog-content h3 { font-size: 1.4rem; margin: 25px 0 12px; }
.blog-content p { margin-bottom: 18px; }
.blog-content ul, .blog-content ol { margin-bottom: 18px; padding-left: 25px; }

/* Quality Page - ISI Logo */
.quality-top-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: start;
}
.quality-top-grid .blog-content { max-width: none; }
.isi-logo-box {
    text-align: center;
    padding: 30px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--grey);
    min-width: 220px;
}
.isi-logo-box img {
    max-width: 80px;
    height: auto;
    margin: 0 auto 15px;
}
.isi-logo-box p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.about-images { display: flex; flex-direction: column; gap: 20px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.about-img:hover img { transform: scale(1.03); }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 15px; }

/* Applications Images Grid */
.applications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.applications-grid.single-image {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}
.application-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.application-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.application-img:hover img {
    transform: scale(1.02);
}

/* ============================================
   TABLE
   ============================================ */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; text-align: left; border: 1px solid var(--grey); }
.table th { background: var(--charcoal); color: var(--white); font-weight: 600; font-size: 0.9rem; }
.table td { font-size: 0.9rem; }
.table-bordered { border: 1px solid var(--grey); }
.table-striped tbody tr:nth-child(even) { background: var(--off-white); }
.table-hover tbody tr:hover { background: rgba(184,115,51,0.05); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-logo { margin-bottom: 15px; }
.footer-logo img { max-height: 70px; width: auto; }
.footer-about { font-size: 0.875rem; line-height: 1.7; opacity: 0.8; }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--copper); }
.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--copper);
    display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-col ul a:hover { color: var(--copper-light); padding-left: 5px; }
.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 12px !important;
}
.footer-contact i { color: var(--copper-light); margin-top: 3px; min-width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--copper-light); }

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.825rem; opacity: 0.6; }
.footer-credit { opacity: 0.5 !important; font-size: 0.8rem !important; letter-spacing: 0.3px; }
.footer-credit a { color: rgba(255,255,255,0.7); }
.footer-credit a:hover { color: var(--copper-light); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.825rem; }
.footer-bottom-links a:hover { color: var(--copper-light); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--copper);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 3px 15px rgba(184,115,51,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--copper-dark); color: var(--white); transform: translateY(-3px); }

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.product-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.product-detail-content h2 { margin-bottom: 15px; }
.product-detail-content p { margin-bottom: 15px; color: var(--text-light); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--grey);
    color: var(--charcoal);
    transition: var(--transition);
}
.pagination a:hover { background: var(--copper); color: var(--white); border-color: var(--copper); }
.pagination .active { background: var(--copper); color: var(--white); border-color: var(--copper); }

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-grey);
}
.admin-login-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}
.admin-login-box h2 { text-align: center; margin-bottom: 25px; }
.admin-login-box .logo-box { text-align: center; margin-bottom: 20px; }
.admin-login-box .logo-box img { height: 50px; margin: 0 auto; }

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 260px;
    background: var(--charcoal);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar .brand {
    padding: 10px 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}
.admin-sidebar .brand h3 { color: var(--copper-light); font-size: 1.1rem; }
.admin-sidebar .brand small { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
    background: rgba(255,255,255,0.08);
    color: var(--copper-light);
}
.admin-sidebar nav a i { width: 20px; text-align: center; }
.badge-count {
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 50px;
    margin-left: auto;
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    flex: 1;
    background: var(--light-grey);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.admin-header h1 { font-size: 1.75rem; }

.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}
.admin-card h3 { margin-bottom: 15px; font-size: 1.15rem; }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 18px;
}
.dash-card-icon {
    width: 55px; height: 55px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}
.dash-card-icon.bg-copper { background: var(--copper); }
.dash-card-icon.bg-red { background: var(--red); }
.dash-card-icon.bg-charcoal { background: var(--charcoal); }
.dash-card-icon.bg-green { background: #28a745; }
.dash-card h4 { font-size: 1.5rem; font-family: var(--font-body); }
.dash-card p { font-size: 0.825rem; color: var(--text-muted); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--grey); font-size: 0.875rem; }
.admin-table th { background: var(--off-white); font-weight: 600; color: var(--charcoal); }
.admin-table tr:hover { background: rgba(184,115,51,0.03); }
.admin-table .actions { display: flex; gap: 8px; }
.admin-table .btn-edit { color: var(--copper); cursor: pointer; background: none; border: none; font-size: 0.9rem; }
.admin-table .btn-delete { color: var(--red); cursor: pointer; background: none; border: none; font-size: 0.9rem; }
.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-active { background: #d4edda; color: #155724; }
.status-inactive { background: #f8d7da; color: #721c24; }
.status-unread { background: #fff3cd; color: #856404; }
.btn-toggle { background: none; border: 1px solid #ddd; border-radius: 20px; padding: 5px 14px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; }
.btn-toggle.toggle-on { color: #155724; border-color: #28a745; background: #d4edda; }
.btn-toggle.toggle-on:hover { background: #c3e6cb; }
.btn-toggle.toggle-off { color: #721c24; border-color: #dc3545; background: #f8d7da; }
.btn-toggle.toggle-off:hover { background: #f1b0b7; }
.btn-toggle i { margin-right: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-highlights { grid-template-columns: 1fr; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 50px 0; }

    .top-bar-inner { justify-content: center; text-align: center; }
    .top-bar-right { display: none; }

    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 16px; width: 100%; }
    .nav-menu .nav-cta { text-align: center; justify-content: center; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open .dropdown { display: block; position: static; box-shadow: none; background: var(--off-white); }

    .hero { padding: 60px 0; }
    .hero-video-section { min-height: 70vh; padding: 100px 0 80px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .quality-top-grid { grid-template-columns: 1fr; }
    .isi-logo-box { max-width: 250px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .applications-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { justify-content: center; text-align: center; flex-direction: column; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .blog-grid { grid-template-columns: 1fr; }

    /* Admin responsive */
    .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .trust-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    h1 { font-size: 1.75rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-video-section { min-height: 60vh; padding: 80px 0 60px; }
    .hero p { font-size: 1rem; }
    .page-hero h1 { font-size: 1.75rem; }
}
