/* ========================================
   KRP Imports - Modern B2B Corporate Website
   Color Palette:
   - Primary: #041E42 (deep navy)
   - Secondary: #00897B (teal accent)
   - Background: #F5F5F7 (light grey)
   ======================================== */

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

/* ========================================
   CSS Variables - Light & Dark Mode
   ======================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --text-dark: #333333;
  --border-color: #e0e0e0;
  --accent-color: #0066cc;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --primary-color: #041E42;
  --secondary-color: #00897B;
  --background-color: #F5F5F7;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
}

html[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-light: #808080;
  --text-dark: #e0e0e0;
  --border-color: #404040;
  --accent-color: #4da6ff;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --primary-color: #e8f0f8;
  --secondary-color: #4db8a8;
  --background-color: #252525;
  --white: #1a1a1a;

	/* Use already defined dark variables, add a few fallbacks for clarity */
	--hero-grad-1: #07172a;
	--hero-grad-2: #0c2740;
	--panel-contrast: #0e1a2a;
	--muted-on-dark: rgba(230,240,251,0.8);
}

/* ========================================
   CSS Variables - Enhanced Dark Mode
   ======================================== */

/* HERO */
html[data-theme="dark"] .hero {
	background: linear-gradient(135deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 100%);
	color: var(--text-primary);
}
html[data-theme="dark"] .hero .hero-content {
	color: var(--text-primary);
}
html[data-theme="dark"] .hero-title {
	color: var(--text-primary);
	text-shadow: 0 6px 18px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .hero-subtitle {
	color: var(--text-secondary);
	opacity: 0.95;
}

/* tone down hero-bg pattern and ensure good contrast */
html[data-theme="dark"] .hero-bg {
	opacity: 0.12;
	filter: none;
	mix-blend-mode: overlay;
}

/* hero feature icons / text */
html[data-theme="dark"] .hero-feature,
html[data-theme="dark"] .hero-feature span {
	color: var(--text-secondary);
}
html[data-theme="dark"] .hero-feature .icon {
	stroke: var(--text-primary);
	opacity: 0.95;
}

/* ABOUT */
html[data-theme="dark"] .about {
	background-color: var(--panel-bg);
	color: var(--text-primary);
}
html[data-theme="dark"] .about-text,
html[data-theme="dark"] .about-text p {
	color: var(--text-secondary);
}
html[data-theme="dark"] .about-highlight {
	/* keep the accent but darker for readability */
	background: linear-gradient(135deg, rgba(6,18,40,0.95) 0%, rgba(6,26,56,0.95) 100%);
	color: var(--text-primary);
	box-shadow: 0 8px 24px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .values-grid .value-item {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

/* SUPPLIERS / PARTNERS */
html[data-theme="dark"] .suppliers,
html[data-theme="dark"] .clients {
	background-color: var(--bg-secondary);
	color: var(--text-primary);
}

/* supplier cards and steps */
html[data-theme="dark"] .supplier-process .process-step,
html[data-theme="dark"] .service-detail,
html[data-theme="dark"] .client-logo,
html[data-theme="dark"] .industry-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	box-shadow: 0 8px 24px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .process-step:hover {
	transform: translateX(10px);
	box-shadow: 0 12px 36px rgba(2,6,23,0.7);
}
html[data-theme="dark"] .step-number {
	background: linear-gradient(135deg, var(--accent-color), #0e7f73);
	color: #fff;
	box-shadow: 0 6px 16px rgba(2,6,23,0.6);
}

/* Supplier CTA */
html[data-theme="dark"] .supplier-cta {
	background: linear-gradient(135deg, #071829 0%, #0c2130 100%);
	color: var(--text-primary);
	box-shadow: 0 10px 30px rgba(2,6,23,0.7);
}

/* CONTACT (kept from earlier) - ensure buttons & links visible */
html[data-theme="dark"] .contact a,
html[data-theme="dark"] .contact .contact-card a {
	color: var(--link-color);
}

/* FOOTER */
html[data-theme="dark"] .footer {
	background-color: #041827; /* darkened footer */
	color: var(--text-primary);
	border-top: 1px solid rgba(255,255,255,0.04);
	box-shadow: 0 -6px 24px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .footer-section h3,
html[data-theme="dark"] .footer-section h4 {
	color: var(--text-primary);
}
html[data-theme="dark"] .footer-section p,
html[data-theme="dark"] .footer-section ul li a,
html[data-theme="dark"] .footer-bottom {
	color: var(--text-secondary);
}
html[data-theme="dark"] .footer-section ul li a:hover {
	color: var(--link-color);
}

/* small accessibility: increase contrast on links/buttons focus outlines */
html[data-theme="dark"] a:focus,
html[data-theme="dark"] .btn:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus {
	outline: 3px solid rgba(77,184,168,0.18);
	outline-offset: 2px;
}

* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #00766b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #062a5c 100%);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

html[data-theme="dark"] .hero {
	background: linear-gradient(135deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 100%);
	color: var(--text-primary);
}
html[data-theme="dark"] .hero .hero-content {
	color: var(--text-primary);
}
html[data-theme="dark"] .hero-title {
	color: var(--text-primary);
	text-shadow: 0 6px 18px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .hero-subtitle {
	color: var(--text-secondary);
	opacity: 0.95;
}

/* tone down hero-bg pattern and ensure good contrast */
html[data-theme="dark"] .hero-bg {
	opacity: 0.12;
	filter: none;
	mix-blend-mode: overlay;
}

/* hero feature icons / text */
html[data-theme="dark"] .hero-feature,
html[data-theme="dark"] .hero-feature span {
	color: var(--text-secondary);
}
html[data-theme="dark"] .hero-feature .icon {
	stroke: var(--text-primary);
	opacity: 0.95;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.hero-feature .icon {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
    background-color: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-number {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Services Overview
   ======================================== */

.services-overview {
    background-color: var(--background-color);
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #00766b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 2;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* ========================================
   Client Logos
   ======================================== */

.clients {
    background-color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-logo {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
}

.client-logo.visible {
    animation: fadeInScale 0.6s ease forwards;
}

.logo-placeholder {
    padding: 2rem 3rem;
    background-color: var(--background-color);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.logo-placeholder:hover {
    border-color: var(--secondary-color);
    background-color: rgba(0, 137, 123, 0.05);
}

/* ========================================
   About Section
   ======================================== */

.about {
    background-color: var(--background-color);
    padding: 6rem 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.about-text.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.about-highlight {
    background: linear-gradient(135deg, var(--primary-color), #062a5c);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    color: var(--white);
}

.about-highlight h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-highlight .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

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

.value-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.value-icon {
    width: 48px;
    height: 48px;
    stroke: var(--secondary-color);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   Services Detail Section
   ======================================== */

.services {
    background-color: var(--white);
    padding: 6rem 0;
}

.service-detail {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: var(--background-color);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.service-detail.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.service-detail-icon {
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 80px;
    height: 80px;
    stroke: var(--secondary-color);
    stroke-width: 2;
}

.service-detail-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========================================
   Industries Section
   ======================================== */

.industries {
    background-color: var(--background-color);
    padding: 6rem 0;
}

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

.industry-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--secondary-color);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 137, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--secondary-color);
    stroke-width: 2;
}

.industry-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   Suppliers Section
   ======================================== */

.suppliers {
    background-color: var(--white);
    padding: 6rem 0;
}

.suppliers-text {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.suppliers-text.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.supplier-process {
    margin: 3rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #00766b);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.supplier-cta {
    background: linear-gradient(135deg, var(--primary-color), #062a5c);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.supplier-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.supplier-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background-color: var(--background-color);
    padding: 6rem 0;
}

.contact-content {
    margin-top: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #00766b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--white);
    stroke-width: 2;
}

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

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1.125rem;
}

.contact-card a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), #062a5c);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.contact-cta.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dark-mode: improved contact section contrast */
html[data-theme="dark"] {
	/* contact section bg & text */
	.contact {
		background-color: #0b1220; /* darker, but not pure black */
	}
	.contact .section-title,
	.contact .section-subtitle {
		color: var(--text-primary); /* bright primary text */
	}

	/* Contact cards */
	.contact-card {
		background-color: #0f1724; /* card bg */
		border: 1px solid rgba(255,255,255,0.06);
		color: var(--text-primary);
		box-shadow: 0 8px 24px rgba(2,6,23,0.6);
	}
	.contact-card p {
		color: var(--text-secondary);
	}
	.contact-card a {
		color: var(--link-color, #7fc8ff);
	}
	.contact-card a:hover,
	.contact-card a:focus {
		color: #bfe9ff;
		text-decoration: underline;
	}

	/* Card icon */
	.contact-card-icon {
		background: linear-gradient(135deg, #1f6f8b 0%, #0e7f73 100%);
		box-shadow: 0 6px 16px rgba(15,25,35,0.6);
	}

	/* Contact CTA (right column) */
	.contact-cta {
		background: linear-gradient(135deg, #081229 0%, #0e2233 100%);
		color: var(--text-primary);
		box-shadow: 0 10px 30px rgba(2,6,23,0.7);
	}
	.contact-cta h3 {
		color: var(--text-primary);
	}
	.contact-cta p {
		color: var(--text-secondary);
	}

	/* Buttons inside contact */
	.contact-buttons .btn-primary {
		background-color: #14829a;
		color: #ffffff;
		box-shadow: 0 6px 18px rgba(20,130,154,0.22);
	}
	.contact-buttons .btn-primary:hover,
	.contact-buttons .btn-primary:focus {
		background-color: #0f6f7f;
		transform: translateY(-1px);
	}

	/* Form controls inside contact (if present) */
	.contact input[type="text"],
	.contact input[type="email"],
	.contact input[type="tel"],
	.contact select,
	.contact textarea {
		background-color: #0b1220;
		border: 1px solid rgba(255,255,255,0.08);
		color: var(--text-primary);
		padding: 0.75rem;
		border-radius: 6px;
		transition: border-color 0.18s ease, box-shadow 0.18s ease;
	}
	.contact input::placeholder,
	.contact textarea::placeholder {
		color: rgba(255,255,255,0.35);
	}
	.contact input:focus,
	.contact select:focus,
	.contact textarea:focus {
		outline: none;
		border-color: #4db8a8;
		box-shadow: 0 6px 18px rgba(77,184,168,0.14);
	}

	/* Small text and labels */
	.contact .contact-card h3,
	.contact .contact-card .contact-card-icon + h3 {
		color: var(--text-primary);
	}
	.contact .contact-card small,
	.contact .contact-card .muted {
		color: rgba(255,255,255,0.55);
	}

	/* Ensure links in contact-bottom/footer area are visible */
	.contact a.btn-primary {
		background-color: #14829a;
		color: #fff;
	}
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-style: italic;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Dark-mode: Enhanced Hero, About, Suppliers/Partners & Footer
   ======================================== */

html[data-theme="dark"] {
	/* Use already defined dark variables, add a few fallbacks for clarity */
	--hero-grad-1: #07172a;
	--hero-grad-2: #0c2740;
	--panel-contrast: #0e1a2a;
	--muted-on-dark: rgba(230,240,251,0.8);
}

/* HERO */
html[data-theme="dark"] .hero {
	background: linear-gradient(135deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 100%);
	color: var(--text-primary);
}
html[data-theme="dark"] .hero .hero-content {
	color: var(--text-primary);
}
html[data-theme="dark"] .hero-title {
	color: var(--text-primary);
	text-shadow: 0 6px 18px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .hero-subtitle {
	color: var(--text-secondary);
	opacity: 0.95;
}

/* tone down hero-bg pattern and ensure good contrast */
html[data-theme="dark"] .hero-bg {
	opacity: 0.12;
	filter: none;
	mix-blend-mode: overlay;
}

/* hero feature icons / text */
html[data-theme="dark"] .hero-feature,
html[data-theme="dark"] .hero-feature span {
	color: var(--text-secondary);
}
html[data-theme="dark"] .hero-feature .icon {
	stroke: var(--text-primary);
	opacity: 0.95;
}

/* ABOUT */
html[data-theme="dark"] .about {
	background-color: var(--panel-bg);
	color: var(--text-primary);
}
html[data-theme="dark"] .about-text,
html[data-theme="dark"] .about-text p {
	color: var(--text-secondary);
}
html[data-theme="dark"] .about-highlight {
	/* keep the accent but darker for readability */
	background: linear-gradient(135deg, rgba(6,18,40,0.95) 0%, rgba(6,26,56,0.95) 100%);
	color: var(--text-primary);
	box-shadow: 0 8px 24px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .values-grid .value-item {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

/* SUPPLIERS / PARTNERS */
html[data-theme="dark"] .suppliers,
html[data-theme="dark"] .clients {
	background-color: var(--bg-secondary);
	color: var(--text-primary);
}

/* supplier cards and steps */
html[data-theme="dark"] .supplier-process .process-step,
html[data-theme="dark"] .service-detail,
html[data-theme="dark"] .client-logo,
html[data-theme="dark"] .industry-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	box-shadow: 0 8px 24px rgba(2,6,23,0.6);
}
html[data-theme="dark"] .process-step:hover {
	transform: translateX(10px);
	box-shadow: 0 12px 36px rgba(2,6,23,0.7);
}
html[data-theme="dark"] .step-number {
	background: linear-gradient(135deg, var(--accent-color), #0e7f73);
	color: #fff;
	box-shadow: 0 6px 16px rgba(2,6,23,0.6);
}

/* Supplier CTA */
html[data-theme="dark"] .supplier-cta {
  /* stronger, readable background with subtle border + lift */
  background: linear-gradient(135deg, #082233 0%, #0a2b3e 100%);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  color: var(--text-primary);
  text-align: center;
  max-width: 980px;
  margin: 2rem auto 0;
}

html[data-theme="dark"] .supplier-cta h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

html[data-theme="dark"] .supplier-cta p {
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0.25rem auto 1.25rem;
  line-height: 1.6;
  font-size: 1rem;
}

/* Button inside supplier CTA: high contrast, accessible focus */
html[data-theme="dark"] .supplier-cta .btn-primary {
  background-color: #12a39a;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18,163,154,0.18);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
html[data-theme="dark"] .supplier-cta .btn-primary:hover,
html[data-theme="dark"] .supplier-cta .btn-primary:focus {
  background-color: #0e7f77;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 24px rgba(14,127,119,0.22);
}
html[data-theme="dark"] .supplier-cta .btn-primary:focus {
  box-shadow: 0 0 0 4px rgba(77,184,168,0.12);
}

/* About highlight: maintain visual prominence and readability in dark */
html[data-theme="dark"] .about-highlight {
  background: linear-gradient(135deg, rgba(5,22,40,0.98) 0%, rgba(8,30,52,0.98) 100%);
  color: var(--text-primary);
  padding: 2.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(2,6,23,0.6);
  max-width: 980px;
  margin: 1.25rem auto;
}

html[data-theme="dark"] .about-highlight h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

html[data-theme="dark"] .about-highlight .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* small responsive tweak so the blocks don't feel cramped on mobile */
@media (max-width: 768px) {
  html[data-theme="dark"] .supplier-cta,
  html[data-theme="dark"] .about-highlight {
    padding: 1.5rem;
    border-radius: 10px;
  }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   Icons
   ======================================== */

.icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail {
        flex-direction: column;
        gap: 2rem;
    }

    .service-detail-icon svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .logo-image {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .logo .tagline {
        font-size: 0.65rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .client-logos {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ========================================
   Dark Mode Toggle Button (Sun/Moon Icons)
   ======================================== */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.dark-mode-toggle:hover {
  background-color: rgba(0, 137, 123, 0.1);
  transform: scale(1.1);
}

.toggle-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.3s ease;
  /* Sun icon in light mode */
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkRCODEzIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI1Ii8+PGxpbmUgeDE9IjEyIiB5MT0iMSIgeDI9IjEyIiB5Mj0iMyIvPjxsaW5lIHgxPSIxMiIgeTE9IjIxIiB4Mj0iMTIiIHkyPSIyMyIvPjxsaW5lIHgxPSI0LjIyIiB5MT0iNC4yMiIgeDI9IjUuNjQiIHkyPSI1LjY0Ii8+PGxpbmUgeDE9IjE4LjM2IiB5MT0iMTguMzYiIHgyPSIxOS43OCIgeTI9IjE5Ljc4Ii8+PGxpbmUgeDE9IjEiIHkxPSIxMiIgeDI9IjMiIHkyPSIxMiIvPjxsaW5lIHgxPSIyMSIgeTE9IjEyIiB4Mj0iMjMiIHkyPSIxMiIvPjxsaW5lIHgxPSI0LjIyIiB5MT0iMTkuNzgiIHgyPSI1LjY0IiB5Mj0iMTguMzYiLz48bGluZSB4MT0iMTguMzYiIHkxPSI1LjY0IiB4Mj0iMTkuNzgiIHkyPSI0LjIyIi8+PC9zdmc+');
}

/* Moon icon in dark mode - Golden filled crescent */
html[data-theme="dark"] .toggle-icon {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI0ZGQzEwNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjAgMTUuMzFBOC41IDguNSAwIDEgMSA4LjY5IDQgOCA4IDAgMCAwIDIwIDE1LjMxeiIvPjwvc3ZnPg==') !important;
}
