/*
Theme Name: Partmade3D Industrial
Theme URI: https://partmade3d.com
Author: Partmade3D
Author URI: https://partmade3d.com
Description: A modern dark industrial 3D printing WordPress theme with blog support. Features smooth scroll animations, contact form, services showcase, and materials gallery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: partmade3d
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0e17;
  color: #e5e7eb;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, #0eb8c9, #e86a3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-grid-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-label .line {
  width: 48px;
  height: 2px;
}

.section-label.cyan { color: #0eb8c9; }
.section-label.cyan .line { background: #0eb8c9; }
.section-label.orange { color: #e86a3c; }
.section-label.orange .line { background: #e86a3c; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0eb8c9, #088da8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 184, 201, 0.2);
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: #0eb8c9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #dce3ec;
  position: relative;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0eb8c9;
  transition: width 0.3s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0eb8c9;
  color: #0a0e17;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #0aa8b8;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  background: transparent;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.18);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  color: white;
  font-size: 1.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,23,0.7), rgba(10,14,23,0.5), #0a0e17);
  z-index: 2;
}

.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,14,23,0.8), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 100px;
  max-width: 700px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-label .line {
  width: 48px;
  height: 2px;
  background: #0eb8c9;
}

.hero-label span {
  color: #0eb8c9;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  color: #dce3ec;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #0a0e17, transparent);
  z-index: 5;
}

/* ===== STATS ===== */
.stats {
  position: relative;
  z-index: 20;
  padding: 0 0 60px;
  margin-top: -40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(15, 21, 32, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: rgba(14, 184, 201, 0.3);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: #b0bcc8;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #dce3ec;
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-label {
  justify-content: center;
}

.section-header .section-label .line:last-child {
  display: block;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content p {
  color: #dce3ec;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  padding: 8px 16px;
  border-radius: 9999px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.875rem;
  color: #d1d5db;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #0eb8c9;
  color: #0a0e17;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(14, 184, 201, 0.3);
}

.about-badge div:first-child {
  font-size: 1.5rem;
  font-weight: 800;
}

.about-badge div:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== SERVICES ===== */
.services-section {
  background: #0d111a;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: rgba(14, 184, 201, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(14, 184, 201, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0eb8c9;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(14, 184, 201, 0.2);
}

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

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.service-card p {
  color: #dce3ec;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #b0bcc8;
  padding: 4px 0;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: #0eb8c9;
  flex-shrink: 0;
}

/* ===== MATERIALS ===== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.material-card {
  position: relative;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  transition: border-color 0.3s;
  cursor: pointer;
}

.material-card:hover {
  border-color: rgba(14, 184, 201, 0.3);
}

.material-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(30px);
  transition: opacity 0.3s;
}

.material-card:hover .material-glow {
  opacity: 0.2;
}

.material-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.18);
  font-size: 0.75rem;
  font-weight: 600;
  color: #0eb8c9;
  margin-bottom: 16px;
}

.material-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.material-card p {
  font-size: 0.875rem;
  color: #dce3ec;
}

.material-arrow {
  margin-top: 12px;
  color: #8a9aaa;
  transition: all 0.3s;
}

.material-card:hover .material-arrow {
  color: #0eb8c9;
  transform: translateX(4px);
}

.material-arrow svg {
  width: 20px;
  height: 20px;
}

.materials-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 40px;
  aspect-ratio: 21/9;
}

.materials-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.materials-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,14,23,0.9), rgba(10,14,23,0.4), transparent);
  display: flex;
  align-items: center;
  padding: 40px;
}

.materials-banner-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.materials-banner-content p {
  color: #dce3ec;
  max-width: 420px;
  margin-bottom: 20px;
}

/* ===== APPLICATIONS ===== */
.applications-section {
  background: #0d111a;
  position: relative;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s;
}

.app-card:hover {
  border-color: rgba(14, 184, 201, 0.3);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 184, 201, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0eb8c9;
  flex-shrink: 0;
}

.app-icon svg {
  width: 22px;
  height: 22px;
}

.app-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.app-card p {
  font-size: 0.875rem;
  color: #dce3ec;
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(14, 184, 201, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  color: #dce3ec;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 184, 201, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0eb8c9;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item div:first-of-type {
  font-size: 0.875rem;
  color: #b0bcc8;
}

.contact-item div:last-of-type {
  font-weight: 500;
  color: white;
}

.contact-form {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 32px;
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #0a0e17;
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 0.9rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: rgba(14, 184, 201, 0.5);
}

.form-control::placeholder {
  color: #8a9aaa;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234b5563' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: none;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #0eb8c9;
  color: #0a0e17;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #0aa8b8;
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

/* ===== FOOTER ===== */
.footer {
  background: #070a10;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #b0bcc8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #b0bcc8;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #0eb8c9;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b0bcc8;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: #0eb8c9;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #8a9aaa;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #8a9aaa;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #dce3ec;
}

/* ===== BLOG SECTION (Homepage) ===== */
.blog-section {
  background: #0a0e17;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: rgba(14, 184, 201, 0.3);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #b0bcc8;
}

.blog-card-meta .category {
  color: #0eb8c9;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card h3 a:hover {
  color: #0eb8c9;
}

.blog-card p {
  font-size: 0.9rem;
  color: #dce3ec;
  line-height: 1.5;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0eb8c9;
}

.blog-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.blog-read-more:hover svg {
  transform: translateX(4px);
}

/* ===== BLOG PAGE ===== */
.blog-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.blog-hero p {
  color: #dce3ec;
  font-size: 1.1rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 80px;
}

.blog-pagination a,
.blog-pagination span {
  padding: 10px 16px;
  border-radius: 8px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.18);
  color: #dce3ec;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.blog-pagination a:hover,
.blog-pagination span.current {
  background: #0eb8c9;
  color: #0a0e17;
  border-color: #0eb8c9;
}

/* ===== SINGLE POST ===== */
.single-post {
  padding: 140px 0 80px;
}

.single-post-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.single-post-header .post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: #b0bcc8;
}

.single-post-header .post-meta .category {
  color: #0eb8c9;
  font-weight: 600;
}

.single-post-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.single-post-image {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
}

.single-post-image img {
  width: 100%;
  height: auto;
}

.single-post-content {
  max-width: 720px;
  margin: 0 auto;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-post-content h2,
.single-post-content h3 {
  color: white;
  margin: 32px 0 16px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content a {
  color: #0eb8c9;
  text-decoration: underline;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.single-post-content li {
  margin-bottom: 8px;
}

.single-post-content blockquote {
  border-left: 3px solid #0eb8c9;
  padding-left: 20px;
  margin: 24px 0;
  color: #dce3ec;
  font-style: italic;
}

.single-post-content img {
  border-radius: 12px;
  margin: 24px 0;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.25rem;
  color: #d1d5db;
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: white;
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
  }
  
  .about-badge {
    left: 16px;
    bottom: -16px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content {
    padding-top: 80px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .services-grid,
  .materials-grid,
  .applications-grid,
  .blog-grid,
  .blog-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-outline {
    justify-content: center;
  }
  
  .materials-banner-content {
    padding: 24px;
  }
  
  .materials-banner-content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== HIDE PAGE TITLE ON HOMEPAGE ===== */
.home .entry-title,
.home .page-title,
.home .wp-block-post-title,
body.home h1.entry-title {
  display: none !important;
}

/* ===== EXTRA TEXT VISIBILITY ===== */
.section p {
  color: #dce3ec;
}

.about-content p,
.service-card p,
.app-card p,
.material-card p,
.contact-info p {
  color: #dce3ec !important;
}

.section-subtitle {
  color: #b0bcc8 !important;
}

.service-features li,
.footer-brand p,
.footer-col ul li a,
.footer-contact-item,
.footer-bottom p,
.footer-bottom-links a {
  color: #b0bcc8 !important;
}

.stat-label {
  color: #8a9aaa !important;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 100px 0 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: #8a9aaa;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: #0eb8c9;
}

.bc-current span {
  color: #dce3ec;
  font-weight: 500;
}

.bc-sep {
  color: #4b5563;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.08);
  color: #8a9aaa;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: rgba(14, 184, 201, 0.4);
  color: #dce3ec;
}

.filter-btn.active {
  background: #0eb8c9;
  color: #0a0e17;
  border-color: #0eb8c9;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,23,0.95) 0%, rgba(10,14,23,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(14, 184, 201, 0.15);
  color: #0eb8c9;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.gallery-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: #8a9aaa;
  line-height: 1.4;
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 184, 201, 0.15);
  border: 1px solid rgba(14, 184, 201, 0.3);
  color: #0eb8c9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(-8px);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom:hover {
  background: #0eb8c9;
  color: #0a0e17;
}

.gallery-zoom svg {
  width: 18px;
  height: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(232, 106, 60, 0.2);
  border-color: rgba(232, 106, 60, 0.4);
  color: #e86a3c;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-caption {
  margin-top: 20px;
  text-align: center;
  color: #8a9aaa;
  font-size: 0.95rem;
  max-width: 600px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: #0d111a;
  position: relative;
}

.testimonials-section .bg-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(14, 184, 201, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #eab308;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #c4cbd5;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  border-left: 3px solid rgba(14, 184, 201, 0.3);
  padding-left: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0eb8c9, #088da8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #8a9aaa;
  margin-top: 2px;
}

/* Gallery Responsive */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-filters {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .lightbox {
    padding: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

.wp-caption {
  max-width: 100%;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ===== LOCATIONS ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.location-card {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.35s ease;
}

.location-card:hover {
  border-color: rgba(14, 184, 201, 0.25);
  transform: translateY(-3px);
}

.location-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 184, 201, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0eb8c9;
  margin-bottom: 16px;
}

.location-icon svg {
  width: 20px;
  height: 20px;
}

.location-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.location-card p {
  font-size: 0.85rem;
  color: #8a9aaa;
  line-height: 1.6;
  margin-bottom: 14px;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.location-tags span {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7a8a;
}

.location-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #0eb8c9;
  font-weight: 500;
}

.location-meta svg {
  width: 14px;
  height: 14px;
}

/* Locations Responsive */
@media (max-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== SITE MAP ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.sitemap-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sitemap-col h3 svg {
  width: 20px;
  height: 20px;
  color: #0eb8c9;
}

.sitemap-col ul {
  list-style: none;
  padding: 0;
}

.sitemap-col ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sitemap-col ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #dce3ec;
  display: block;
  transition: color 0.3s;
}

.sitemap-col ul li a:hover {
  color: #0eb8c9;
}

.sitemap-col ul li span {
  font-size: 0.8rem;
  color: #6b7a8a;
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
