/* Bipinkumar Electric Corporation - Main Stylesheet */

:root {
    --primary: #252a35;
    --secondary: #505c6d;
    --accent: #dc754b;
    --dark: #20242d;
    --light: #f7f8fb;
    --gray: #6e7582;
    --border: #e2e7ee;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f4f6f9;
    --ink-muted: #5e6676;
    --shadow: 0 12px 30px rgba(37, 42, 53, 0.08);
    --shadow-strong: 0 18px 42px rgba(37, 42, 53, 0.14);
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    text-wrap: balance;
}

p,
li {
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    transform: translateY(-160%);
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Top Bar */
.top-bar {
    background-color: #171b24;
    color: var(--white);
    padding: 7px 0;
    font-size: 0.84rem;
}

.top-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.contact-item {
    margin-right: 0;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.contact-item span:last-child {
    overflow-wrap: anywhere;
}

a.contact-item:hover {
    color: var(--accent);
}

.contact-icon {
    margin-right: 8px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Header */
header {
    background-color: rgba(255,255,255,0.985);
    border-bottom: 1px solid rgba(226,231,238,0.95);
    box-shadow: 0 5px 18px rgba(37,42,53,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(1.2) blur(8px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-img {
    height: 56px;
    width: 56px;
    object-fit: contain;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.company-name {
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.35;
}

.estd {
    display: inline-block;
    font-size: 0.76rem;
    background-color: var(--accent);
    color: var(--white);
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1;
}

/* Navigation */
nav {
    flex-shrink: 0;
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
    line-height: 1.25;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Banner */
.banner {
    background: linear-gradient(105deg, rgba(23,27,36,0.86), rgba(37,42,53,0.74)), url('../images/about-company.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 6.25rem 0 5.25rem;
    text-align: center;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0 auto 0.85rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    line-height: 1.3;
}

.banner h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 1.25rem;
    font-weight: 800;
    line-height: 1.12;
}

.banner p {
    font-size: 1.1rem;
    max-width: 840px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.hero-proof {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 auto 2rem;
}

.hero-proof span {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    line-height: 1.3;
}

.hero-proof strong {
    color: var(--white);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.btn:hover {
    background-color: #cb643e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--accent);
}

.btn-primary:hover {
    background-color: #cb643e;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* Sections */
section {
    padding: 5.25rem 0;
    scroll-margin-top: 108px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.8rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.8rem;
    color: var(--ink-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Products Section */
.products-section {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 10px 26px rgba(37,42,53,0.05);
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
    border-color: rgba(220,117,75,0.38);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.product-card p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.65;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin-top: auto;
}

.product-tags li {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
    line-height: 1.25;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.3;
}

.product-link i {
    color: var(--accent);
    font-size: 0.78rem;
}

.product-link:hover {
    color: var(--accent);
}

/* Support Section */
.support-section {
    background-color: #f4f6f9;
    border-top: 1px solid var(--border);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.support-card {
    background: var(--white);
    border: 1px solid rgba(226,231,238,0.95);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.support-card:hover {
    border-color: rgba(220,117,75,0.34);
    box-shadow: var(--shadow-strong);
    transform: translateY(-2px);
}

.support-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(239,131,84,0.12);
    color: var(--accent);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.support-card p {
    color: var(--secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    background-color: #111722;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent);
    z-index: -1;
    border-radius: 5px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    line-height: 1.7;
}

.company-info-list {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    gap: 1rem;
    line-height: 1.55;
}

.info-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--primary);
}

/* Partners Section */
.partners-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(226,231,238,0.95);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.partner-logo {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f7f9fb);
    border: 1px solid var(--border);
}

.partner-logo img {
    max-height: 74px;
    max-width: 100%;
    object-fit: contain;
}

.partner-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.partner-products {
    color: var(--secondary);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0.65rem 1rem;
    background-color: var(--secondary);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    line-height: 1.25;
}

.partner-link:hover {
    background-color: var(--primary);
}

/* Divisions Section */
.division-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.division-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.division-icon {
    height: 150px;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.division-content {
    padding: 1.5rem;
}

.division-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.division-content p {
    color: var(--gray);
}

/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f7f8fb);
    padding: 5.25rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-card {
    padding: 2rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    border-color: rgba(220,117,75,0.34);
    box-shadow: var(--shadow-strong);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    line-height: 1.25;
}

.contact-info-block {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.contact-info-content p {
    color: var(--gray);
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.contact-info-content a,
.office-card a:not(.location-link),
.footer-contact a {
    color: inherit;
    overflow-wrap: anywhere;
}

.contact-info-content a:hover,
.office-card a:not(.location-link):hover,
.footer-contact a:hover {
    color: var(--accent);
}

.contact-info-content p span {
    color: var(--secondary);
    font-weight: 600;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-block h4 i {
    margin-right: 10px;
    color: var(--accent);
}

.address-details {
    margin-left: 25px;
}

.address-details p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 3px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Locations Section */
.office-locations {
    margin-top: 3rem;
}

.office-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent);
    box-shadow: 0 10px 26px rgba(37,42,53,0.05);
}

.office-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.office-card p {
    margin-bottom: 0.5rem;
    color: var(--gray);
    line-height: 1.65;
}

.office-card p span {
    color: var(--secondary);
    font-weight: 600;
}

.location-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
    line-height: 1.3;
}

.location-link i {
    margin-right: 8px;
}

.location-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* GST Info */
.gst-info {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 2rem;
    border-top: 3px solid var(--primary);
}

.gst-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.gst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gst-item {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 5px;
}

.gst-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.gst-value {
    font-size: 1.1rem;
}

/* SEO Landing Pages */
.breadcrumb {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    font-size: 0.86rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    color: var(--ink-muted);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: #9aa3b2;
}

.breadcrumb a {
    color: var(--secondary);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.page-hero {
    background: linear-gradient(105deg, rgba(23,27,36,0.9), rgba(37,42,53,0.76)), url('../images/about-company.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 5rem 0 4.75rem;
}

.page-hero .eyebrow,
.landing-hero-copy .eyebrow {
    margin-left: 0;
    margin-right: 0;
}

.page-hero h1 {
    max-width: 840px;
    margin-bottom: 1rem;
    font-size: 2.7rem;
    font-weight: 800;
}

.page-hero p {
    max-width: 820px;
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.landing-section {
    background: var(--surface);
}

.landing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 2rem;
    align-items: start;
}

.landing-copy h2,
.landing-copy h3,
.landing-sidebar h2,
.landing-sidebar h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.landing-copy h2 {
    font-size: 2rem;
}

.landing-copy h3,
.landing-sidebar h3 {
    font-size: 1.25rem;
}

.landing-copy p,
.landing-sidebar p {
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.landing-copy ul,
.landing-sidebar ul,
.related-list {
    list-style: none;
}

.check-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.25rem 0 1.6rem;
}

.check-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 0.7rem;
    color: var(--secondary);
    line-height: 1.55;
}

.check-list i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.landing-sidebar {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 1rem;
}

.quote-card,
.brand-card,
.related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.quote-card {
    border-top: 3px solid var(--accent);
}

.brand-card img {
    display: block;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.brand-card + .brand-card {
    margin-top: 1rem;
}

.use-case-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.use-case-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.35rem;
    box-shadow: 0 10px 26px rgba(37,42,53,0.05);
}

.use-case-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.use-case-card p {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.cta-band {
    background: #202632;
    color: var(--white);
    padding: 4rem 0;
}

.cta-band .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.cta-band h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: rgba(255,255,255,0.82);
    max-width: 760px;
}

.related-section {
    background-color: var(--surface-soft);
    border-top: 1px solid var(--border);
}

.related-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.related-card p {
    color: var(--secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.related-card:hover {
    border-color: rgba(220,117,75,0.38);
    box-shadow: var(--shadow-strong);
}

/* Error Pages */
.error-page {
    background: var(--surface-soft);
}

.error-main {
    min-height: 58vh;
}

.error-hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(23,27,36,0.9), rgba(37,42,53,0.82)),
        url('../images/about-company.jpg') center/cover no-repeat;
}

.error-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255,255,255,0.18);
}

.error-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
    gap: 1.5rem;
    align-items: stretch;
}

.error-panel,
.error-help {
    min-width: 0;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-strong);
}

.error-panel {
    padding: clamp(2rem, 5vw, 4rem);
}

.error-panel .eyebrow {
    color: var(--accent);
    margin: 0 0 0.9rem;
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(220,117,75,0.25);
    border-radius: 8px;
    background: #fff3ed;
    color: var(--accent);
    font-size: clamp(2.6rem, 8vw, 5.7rem);
    font-weight: 900;
    line-height: 1;
}

.error-panel h1 {
    max-width: 780px;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
}

.error-panel p {
    max-width: 740px;
    color: var(--secondary);
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.btn-outline-dark {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.error-help {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.error-help h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
}

.error-help p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.error-link-list,
.error-contact-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.error-link-list a,
.error-contact-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.65rem;
    align-items: start;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.45;
}

.error-link-list a:hover,
.error-contact-list a:hover {
    color: var(--accent);
}

.error-link-list i,
.error-contact-list i {
    color: var(--accent);
    margin-top: 0.18rem;
}

.error-contact-list a {
    overflow-wrap: anywhere;
}

/* Footer */
footer {
    background-color: #202632;
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    line-height: 1.45;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a i {
    margin-right: 10px;
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow-wrap: anywhere;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--accent);
    flex: 0 0 auto;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.copyright p {
    line-height: 1.45;
}

/* Media Queries */
@media (max-width: 991px) {
    .about-content, 
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-grid,
    .cta-band .container,
    .error-layout {
        grid-template-columns: 1fr;
    }

    .landing-sidebar {
        position: static;
    }

    .error-help {
        justify-content: flex-start;
    }
    
    .about-image {
        height: 300px;
        order: -1;
    }
    
    .about-image::before {
        display: none;
    }
    
    .partner-item {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .office-locations .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        gap: 1.5rem;
    }

    .company-name {
        font-size: 1.35rem;
    }

    nav ul {
        gap: 0.75rem;
    }

    nav ul li a {
        font-size: 0.82rem;
    }

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

@media (max-width: 900px) {
    .header-content {
        position: relative;
        padding-right: 3.25rem;
    }
    
    .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        border-radius: 8px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 1rem 0;
        z-index: 1000;
        border: 1px solid var(--border);
        border-radius: 0 0 8px 8px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 2rem;
        line-height: 1.3;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    .top-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        margin-bottom: 5px;
    }
    
    .banner {
        padding: 4.75rem 0;
    }

    .page-hero {
        padding: 4.5rem 0;
    }

    .error-hero {
        padding: 4rem 0;
    }
    
    .banner h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.05rem;
    }

    .banner p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .company-name {
        font-size: 1.4rem;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }

    .hero-proof {
        gap: 0.5rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .page-hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 280px;
    }

    .page-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .error-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 280px;
    }

    .error-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none;
    }

    .header-content {
        padding: 12px 0;
        gap: 1rem;
    }

    .logo-img {
        width: 54px;
        height: 54px;
        margin-right: 12px;
    }

    .company-name {
        font-size: 1.08rem;
        gap: 0.25rem 0.45rem;
    }
    
    .company-tagline {
        font-size: 0.72rem;
        max-width: 17rem;
    }

    .estd {
        font-size: 0.68rem;
        padding: 2px 6px;
    }
    
    .partner-item {
        flex: 0 0 100%;
    }

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

    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .gst-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        padding: 4rem 0;
    }

    .page-hero {
        padding: 3.75rem 0;
    }

    .error-hero {
        padding: 3rem 0;
    }

    .error-page .container {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .error-page .header-content {
        padding-right: 2.75rem;
    }

    .error-page .logo-img {
        width: 46px;
        height: 46px;
    }

    .error-page .company-name {
        display: block;
        font-size: 0.96rem;
        line-height: 1.12;
    }

    .error-page .estd {
        margin-left: 0.25rem;
        vertical-align: middle;
    }

    .error-page .company-tagline {
        font-size: 0.7rem;
    }

    .banner h1 {
        font-size: 1.85rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .banner p {
        font-size: 0.96rem;
    }

    .hero-proof span {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.65rem;
    }

    .section-description {
        font-size: 0.96rem;
    }

    .product-card,
    .support-card,
    .partner-item,
    .contact-card,
    .office-card,
    .quote-card,
    .brand-card,
    .related-card,
    .use-case-card,
    .error-help {
        padding: 1.25rem;
    }

    .error-panel {
        padding: 1.35rem;
        width: 100%;
    }

    .error-code {
        max-width: 100%;
        font-size: clamp(2.35rem, 13vw, 3.55rem);
    }

    .error-panel h1 {
        font-size: clamp(1.75rem, 8.5vw, 2.35rem);
    }

    .error-panel p {
        font-size: 0.98rem;
    }

    .landing-copy h2,
    .cta-band h2 {
        font-size: 1.55rem;
    }

    .contact-info-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        margin-right: 0.85rem;
    }

    .location-link {
        align-items: flex-start;
    }

    .info-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .info-label {
        min-width: 0;
    }
}

@media (max-width: 400px) {
    .header-content {
        padding-right: 3rem;
    }

    .error-page .header-content {
        padding-right: 2.5rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .error-page .logo-img {
        width: 42px;
        height: 42px;
    }

    .company-name {
        font-size: 1.02rem;
    }

    .error-page .company-name {
        font-size: 0.9rem;
    }

    .error-page .estd {
        display: none;
    }

    .company-tagline {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .banner h1 {
        font-size: 1.75rem;
    }
}
