/* ============================================================
   Lamasco Civil & Construction: Global Stylesheet
   Colors: Black #000000 | Charcoal #1E1E1E | Red #FF3B0A | White #FFFFFF
   Fonts: Poppins (headings) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --black:        #000000;
  --charcoal:     #1E1E1E;
  --charcoal-mid: #2A2A2A;
  --charcoal-lt:  #333333;
  --red:          #FF3B0A;
  --red-dark:     #D92E00;
  --red-glow:     rgba(255, 59, 10, 0.15);
  --white:        #FFFFFF;
  --grey-light:   #F4F4F4;
  --grey-mid:     #888888;
  --grey-border:  #2E2E2E;

  --bg-primary:   #000000;
  --bg-surface:   #1E1E1E;
  --bg-surface-mid: #2A2A2A;
  --text-main:    #FFFFFF;
  --text-muted:   rgba(255, 255, 255, 0.72);
  --border-color: #2E2E2E;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w:     1200px;
  --nav-h:     80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.28);
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================================
   Comprehensive Light Theme Design System
   ============================================================ */
html[data-theme="light"] {
  --bg-primary:     #F8F9FA;
  --bg-surface:     #FFFFFF;
  --bg-surface-mid: #F1F5F9;
  --text-main:      #0F172A;
  --text-muted:     #475569;
  --text-subtle:    #64748B;
  --border-color:   #E2E8F0;
  --shadow-card:    0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

html[data-theme="light"] p {
  color: var(--text-muted);
}

/* Headings in Light Mode */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5 {
  color: var(--text-main);
}

html[data-theme="light"] .section-title {
  color: var(--text-main);
}

html[data-theme="light"] .section-subtitle {
  color: var(--text-muted);
}

/* Navbar */
html[data-theme="light"] .nav-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] #navbar.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .nav-link {
  color: #334155;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: var(--red);
  background: rgba(255, 59, 10, 0.08);
}

html[data-theme="light"] .hamburger span {
  background: #0F172A;
}

/* Mobile Drawer in Light Mode */
@media (max-width: 768px) {
  html[data-theme="light"] #nav-links {
    background: #FFFFFF;
    border-left: 1px solid #E2E8F0;
  }
}

/* Hero Sections */
html[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #F1F5F9 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
}

html[data-theme="light"] .page-hero h1 {
  color: #0F172A;
}

html[data-theme="light"] .page-hero p {
  color: #475569;
}

/* Homepage Hero in Light Mode */
html[data-theme="light"] .hero {
  background: #F8FAFC;
}

html[data-theme="light"] .hero-bg {
  opacity: 0.12;
  filter: grayscale(100%) contrast(120%);
}

html[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.94) 0%,
    rgba(241, 245, 249, 0.88) 60%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

html[data-theme="light"] .hero-title {
  color: #0F172A;
}

html[data-theme="light"] .hero-subtitle {
  color: #475569;
}

html[data-theme="light"] .hero-tagline {
  color: #64748B;
}

html[data-theme="light"] .hero-scroll span {
  color: #64748B;
}

html[data-theme="light"] .scroll-line {
  background: linear-gradient(to bottom, var(--red), rgba(15, 23, 42, 0.15));
}

/* Statistics Section */
html[data-theme="light"] .stats-section {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

html[data-theme="light"] .stat-num {
  color: #0F172A;
}

html[data-theme="light"] .stat-label {
  color: #64748B;
}

html[data-theme="light"] .stat-item {
  border-right: 1px solid #E2E8F0;
}

/* Why Us Section */
html[data-theme="light"] .why-section {
  background: #F8F9FA;
}

html[data-theme="light"] .why-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .why-item:hover {
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(255,59,10,0.08);
}

html[data-theme="light"] .why-item h3 {
  color: #0F172A;
}

html[data-theme="light"] .why-item p {
  color: #475569;
}

/* Technology Grid & Section */
html[data-theme="light"] .technology-section,
html[data-theme="light"] .tech-full-section {
  background: #F8F9FA;
}

html[data-theme="light"] .tech-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .tech-card:hover {
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(255,59,10,0.1);
}

html[data-theme="light"] .tech-card h4 {
  color: #0F172A;
}

html[data-theme="light"] .tech-card p {
  color: #475569;
}

/* Services Grid & Full Section */
html[data-theme="light"] .services-section {
  background: #FFFFFF;
}

html[data-theme="light"] .service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .service-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

html[data-theme="light"] .service-card h3 {
  color: #0F172A;
}

html[data-theme="light"] .service-card p {
  color: #475569;
}

html[data-theme="light"] .service-card-list li {
  color: #64748B;
}

html[data-theme="light"] .services-full-section {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

html[data-theme="light"] .services-full-section:nth-of-type(even) {
  background: #F8F9FA;
}

html[data-theme="light"] .service-full-text p {
  color: #475569;
}

html[data-theme="light"] .service-full-list li {
  color: #334155;
}

/* Values Section (About Page) */
html[data-theme="light"] .values-section {
  background: #F8F9FA;
}

html[data-theme="light"] .value-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .value-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(255,59,10,0.08);
}

html[data-theme="light"] .value-card h3 {
  color: #0F172A;
}

html[data-theme="light"] .value-card p {
  color: #475569;
}

/* Vision & Mission Cards */
html[data-theme="light"] .vm-section {
  background: #FFFFFF;
}

html[data-theme="light"] .vm-card {
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .vm-card h3 {
  color: #0F172A;
}

html[data-theme="light"] .vm-card p {
  color: #475569;
}

/* Projects Page & Portfolio */
html[data-theme="light"] .projects-section,
html[data-theme="light"] .projects-full-section {
  background: #F8F9FA;
}

html[data-theme="light"] .project-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

html[data-theme="light"] .project-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

html[data-theme="light"] .project-body h3 {
  color: #0F172A;
}

html[data-theme="light"] .project-body p {
  color: #475569;
}

html[data-theme="light"] .project-experience-banner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

html[data-theme="light"] .project-experience-banner h2 {
  color: #0F172A;
}

html[data-theme="light"] .project-experience-banner p {
  color: #475569;
}

html[data-theme="light"] .exp-tag {
  background: #F1F5F9;
  border-color: #CBD5E0;
  color: #334155;
}

/* Contact Page & Forms */
html[data-theme="light"] .contact-section {
  background: #F8F9FA;
}

html[data-theme="light"] .contact-info h2 {
  color: #0F172A;
}

html[data-theme="light"] .contact-info > p {
  color: #475569;
}

html[data-theme="light"] .contact-item-label {
  color: #64748B;
}

html[data-theme="light"] .contact-item-value,
html[data-theme="light"] .contact-item-value a,
html[data-theme="light"] .contact-item-value span {
  color: #0F172A;
}

html[data-theme="light"] .contact-form-wrap {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .form-title {
  color: #0F172A;
}

html[data-theme="light"] .form-subtitle {
  color: #475569;
}

html[data-theme="light"] .form-group label {
  color: #334155;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
  background: #FFFFFF;
  border: 1px solid #CBD5E0;
  color: #0F172A;
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: #94A3B8;
  opacity: 1;
}

html[data-theme="light"] .form-group select {
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid #CBD5E0;
  color: #0F172A;
}

html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus {
  border-color: var(--red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 59, 10, 0.12);
}

html[data-theme="light"] .form-group select:focus {
  border-color: var(--red);
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 0 0 3px rgba(255, 59, 10, 0.12);
}

html[data-theme="light"] .form-group select option {
  background: #FFFFFF;
  color: #0F172A;
}

html[data-theme="light"] .form-group select optgroup {
  background: #F8F9FA;
  color: var(--red);
}

html[data-theme="light"] #form-success,
html[data-theme="light"] #enquiry-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065F46;
}

html[data-theme="light"] .contact-form-wrap p[style*="rgba(255,255,255"] {
  color: #64748B !important;
}

/* Legal Documents & Content Card Container */
html[data-theme="light"] main section[style*="background:var(--charcoal)"],
html[data-theme="light"] main section[style*="background:var(--black)"] {
  background: #F8F9FA !important;
}

html[data-theme="light"] main div[style*="background:var(--black)"],
html[data-theme="light"] main div[style*="background:var(--charcoal)"] {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] main div[style*="background:var(--black)"] h2,
html[data-theme="light"] main div[style*="background:var(--black)"] h3,
html[data-theme="light"] main div[style*="background:var(--black)"] h4,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] h2,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] h3,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] h4 {
  color: #0F172A !important;
}

html[data-theme="light"] main div[style*="background:var(--black)"] p,
html[data-theme="light"] main div[style*="background:var(--black)"] li,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] p,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] li {
  color: #475569 !important;
}

html[data-theme="light"] main div[style*="background:var(--black)"] a[style*="color:var(--white)"],
html[data-theme="light"] main div[style*="background:var(--charcoal)"] a[style*="color:var(--white)"] {
  color: #0F172A !important;
  font-weight: 600;
}

html[data-theme="light"] main div[style*="background:var(--black)"] a[style*="color:var(--white)"]:hover,
html[data-theme="light"] main div[style*="background:var(--charcoal)"] a[style*="color:var(--white)"]:hover {
  color: var(--red) !important;
}

html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"],
html[data-theme="light"] main div[style*="background:rgba(255,255,255,0.03)"] {
  background: #FFF5F2 !important;
  border: 1px solid rgba(255, 59, 10, 0.2) !important;
  color: #1E293B !important;
}

html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"] p,
html[data-theme="light"] main div[style*="background:rgba(255,255,255,0.03)"] p {
  color: #334155 !important;
}

html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"] a[style*="color:var(--white)"],
html[data-theme="light"] main div[style*="background:rgba(255,255,255,0.03)"] a[style*="color:var(--white)"] {
  color: #0F172A !important;
}

/* Footer in Light Mode */
html[data-theme="light"] .footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

html[data-theme="light"] .footer-grid {
  border-bottom: 1px solid #E2E8F0;
}

html[data-theme="light"] .footer-brand-div {
  color: #64748B;
}

html[data-theme="light"] .footer-brand-desc {
  color: #475569;
}

html[data-theme="light"] .footer-social a {
  border-color: #E2E8F0;
  background: #F8FAFC;
}

html[data-theme="light"] .footer-social a svg {
  fill: #64748B;
}

html[data-theme="light"] .footer-social a:hover {
  border-color: var(--red);
  background: rgba(255, 59, 10, 0.08);
}

html[data-theme="light"] .footer-social a:hover svg {
  fill: var(--red);
}

html[data-theme="light"] .footer-col-title {
  color: #0F172A;
}

html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-contact-item span,
html[data-theme="light"] .footer-contact-item a {
  color: #475569;
}

html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .footer-contact-item a:hover {
  color: var(--red);
}

html[data-theme="light"] .footer-bottom {
  border-top-color: #E2E8F0;
}

html[data-theme="light"] .footer-bottom-left,
html[data-theme="light"] .footer-bottom-right {
  color: #64748B;
}

html[data-theme="light"] .footer-bottom-left a {
  color: #334155;
}

/* Action Controls (Theme Switcher & WhatsApp) */
html[data-theme="light"] .theme-toggle-btn,
html[data-theme="light"] .nav-wa-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0F172A;
}

html[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.25);
  color: #0F172A;
}

html[data-theme="light"] .nav-wa-btn:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
  color: #25D366;
}

/* Override any inline dark backgrounds in light mode */
html[data-theme="light"] section[style*="background:var(--black)"],
html[data-theme="light"] section[aria-labelledby="division-heading"] {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

html[data-theme="light"] section[aria-labelledby="division-heading"] div[style*="text-transform:uppercase"] {
  color: #64748B !important;
}

html[data-theme="light"] section[aria-labelledby="division-heading"] h2,
html[data-theme="light"] #division-heading {
  color: #334155 !important;
}

html[data-theme="light"] section[aria-labelledby="division-heading"] h2 span {
  color: #0F172A !important;
  font-weight: 700 !important;
}

html[data-theme="light"] div[style*="background:var(--charcoal)"],
html[data-theme="light"] section[style*="background:var(--charcoal)"] {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] div[style*="background:var(--charcoal)"] h3,
html[data-theme="light"] div[style*="background:var(--charcoal)"] h4 {
  color: #0F172A !important;
}

html[data-theme="light"] div[style*="background:var(--charcoal)"] p {
  color: #475569 !important;
}

/* Legal & Policy card contact boxes and phone links */
html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"] a[style*="color:var(--white)"],
html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"] a {
  color: #0F172A !important;
}

html[data-theme="light"] main div[style*="background:rgba(255,59,10,0.06)"] a:hover {
  color: var(--red) !important;
}

/* Technology Philosophy Cards in Light Mode */
html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] {
  background: #FFFFFF !important;
}

html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] .section-title {
  color: #0F172A !important;
}

html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] .section-subtitle {
  color: #475569 !important;
}

html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] div[style*="background:var(--charcoal)"] {
  background: #F8F9FA !important;
  border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] div[style*="background:var(--charcoal)"] h4 {
  color: #0F172A !important;
}

html[data-theme="light"] section[aria-labelledby="tech-phil-heading"] div[style*="background:var(--charcoal)"] p {
  color: #475569 !important;
}

/* HSE Commitment Section (About Page) in Light Mode */
html[data-theme="light"] section[aria-labelledby="hse-heading"] {
  background: #FFFFFF !important;
}

html[data-theme="light"] section[aria-labelledby="hse-heading"] .section-title {
  color: #0F172A !important;
}

html[data-theme="light"] section[aria-labelledby="hse-heading"] .section-subtitle {
  color: #475569 !important;
}

html[data-theme="light"] section[aria-labelledby="hse-heading"] div[style*="background:var(--charcoal)"] {
  background: #F8F9FA !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 3px solid var(--red) !important;
}

html[data-theme="light"] section[aria-labelledby="hse-heading"] div[style*="background:var(--charcoal)"] p {
  color: #334155 !important;
}

/* Contact page "What We Can Help With" & Enquiry "General Enquiries" box in light mode */
html[data-theme="light"] .contact-info div[style*="background:rgba(255,59,10,0.06)"] {
  background: #FFF5F2 !important;
  border-color: rgba(255, 59, 10, 0.25) !important;
}

html[data-theme="light"] .contact-info div[style*="background:rgba(255,59,10,0.06)"] p {
  color: #475569 !important;
}

html[data-theme="light"] .contact-info div[style*="background:rgba(255,59,10,0.06)"] a[style*="color:var(--white)"],
html[data-theme="light"] .contact-info div[style*="background:rgba(255,59,10,0.06)"] a {
  color: #0F172A !important;
}

html[data-theme="light"] .contact-info div[style*="background:rgba(255,59,10,0.06)"] a:hover {
  color: var(--red) !important;
}

html[data-theme="light"] .contact-info ul li {
  color: #1E293B !important;
}

html[data-theme="light"] .contact-form-wrap p[style*="text-align:center"] {
  color: #64748B !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  background-color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-title--dark {
  color: var(--black);
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.75;
}

.section-subtitle--dark {
  color: rgba(0,0,0,0.6);
}

.text-red { color: var(--red); }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.section-pad--sm {
  padding: 72px 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,59,10,0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-outline--dark {
  color: var(--black);
  border-color: rgba(0,0,0,0.3);
}

.btn-outline--dark:hover {
  border-color: var(--black);
  background-color: rgba(0,0,0,0.06);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  padding: 12px 24px;
  transition: var(--transition);
}

#navbar.scrolled .nav-inner {
  background: rgba(0,0,0,0.96);
  border-color: rgba(255,255,255,0.04);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Filter to ensure white wordmark is visible on dark navbar */
  filter: brightness(1);
}

/* Legacy fallback (text logo) */
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-name span {
  color: var(--red);
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links */
#nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-link.active {
  color: var(--red);
}

.nav-cta {
  background-color: var(--red);
  color: var(--white) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  padding: 9px 20px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background-color: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Nav Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* WhatsApp Icon Button (Outline format matching theme-toggle-btn) */
.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.nav-wa-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  color: #25D366;
  transform: scale(1.08);
}

.nav-wa-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-wa-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-wa-btn:hover .nav-wa-icon {
  transform: scale(1.1);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark mode displays sun icon, light mode displays moon icon */
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }

html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav Overlay (mobile) */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

#nav-overlay.visible {
  opacity: 1;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.3s ease forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 750px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.5s ease forwards;
}

.hero-title span {
  color: var(--red);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.7s ease forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.85s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s 1s ease forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeSlideUp 0.7s 1.4s ease forwards;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  background: var(--charcoal);
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(255,59,10,0.06) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   Section: Company Introduction (Home)
   ============================================================ */
.intro-section {
  background: var(--white);
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.intro-image-wrap {
  position: relative;
}

.intro-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.intro-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: var(--radius-sm);
  z-index: -1;
}

.intro-text .section-label { color: var(--red); }
.intro-text .section-title { color: var(--black); }
.intro-text p { color: rgba(0,0,0,0.65); margin-bottom: 1.2rem; }

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2.5rem;
}

.intro-stat {
  padding: 20px;
  border-left: 3px solid var(--red);
  background: var(--grey-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.intro-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 4px;
}

.intro-stat-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

/* ============================================================
   Section: Services
   ============================================================ */
.services-section {
  background: var(--white);
  padding: 100px 0;
}

.services-section .section-label { color: var(--red); }
.services-section .section-title { color: var(--black); }
.services-section .section-subtitle { color: rgba(0,0,0,0.55); }

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,59,10,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255,59,10,0.14);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--black);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(0,0,0,0.55);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-list {
  margin-bottom: 28px;
}

.service-list li {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.6);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.service-learn:hover { gap: 10px; }

/* ============================================================
   Section: Why Choose Us
   ============================================================ */
.why-section {
  background: var(--black);
  padding: 100px 0;
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-header .section-subtitle {
  margin: 0 auto;
}

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

.why-item {
  padding: 40px 32px;
  background: var(--charcoal);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.why-item:hover::after { transform: scaleX(1); }
.why-item:hover { background: var(--charcoal-lt); }

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ============================================================
   Section: Technology & Innovation
   ============================================================ */
.tech-section {
  background: var(--charcoal);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/technology-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.tech-inner {
  position: relative;
  z-index: 1;
}

.tech-header {
  text-align: center;
  margin-bottom: 64px;
}

.tech-header .section-subtitle {
  margin: 0 auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  background: rgba(255,59,10,0.06);
  border-color: rgba(255,59,10,0.2);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,59,10,0.08);
  border-radius: var(--radius-sm);
}

.tech-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-card h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.tech-cta-text {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   Section: Industries We Serve
   ============================================================ */
.industries-section {
  background: var(--white);
  padding: 100px 0;
}

.industries-section .section-label { color: var(--red); }
.industries-section .section-title { color: var(--black); }
.industries-section .section-subtitle { color: rgba(0,0,0,0.55); }

.industries-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.industry-card {
  background: var(--grey-light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.industry-card:hover {
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.industry-card:hover .industry-name {
  color: var(--white);
}

.industry-card:hover .industry-icon svg {
  stroke: var(--red);
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 32px;
  height: 32px;
  stroke: rgba(0,0,0,0.4);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.industry-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  transition: var(--transition);
}

/* ============================================================
   Section: Projects
   ============================================================ */
.projects-section {
  background: var(--grey-light);
  padding: 100px 0;
}

.projects-section .section-label { color: var(--red); }
.projects-section .section-title { color: var(--black); }
.projects-section .section-subtitle { color: rgba(0,0,0,0.55); }

.projects-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.project-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.project-card:hover .project-img img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 4px;
}

.project-location {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.4);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-location svg {
  width: 12px;
  height: 12px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.project-body p {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.55);
  margin-bottom: 20px;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.project-cta:hover { gap: 10px; }

/* Project blueprint vector schematic card */
.project-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: radial-gradient(circle at center, #1b2838 0%, #0c141f 100%);
  background-image: 
    linear-gradient(rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, #132235 0%, #09111c 100%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 59, 10, 0.3);
}

.project-placeholder::before {
  content: 'CAD // SPEC-SCHEMATIC';
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
}

.project-placeholder svg {
  width: 52px;
  height: 52px;
  stroke: #00d2ff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.35));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.project-card:hover .project-placeholder svg {
  transform: scale(1.1);
  stroke: var(--red);
  filter: drop-shadow(0 0 12px rgba(255, 59, 10, 0.45));
}

.project-placeholder span {
  font-family: monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Section: Statistics
   ============================================================ */
.stats-section {
  background: var(--black);
  padding: 80px 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

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

.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--grey-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-label-top {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.stat-service {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 160px;
  margin: 0 auto;
}

/* ============================================================
   Section: CTA Banner
   ============================================================ */
.cta-section {
  background: var(--red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 100% 0%, rgba(0,0,0,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(0,0,0,0.2) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #FFFFFF !important;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  font-weight: 600;
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
  background: var(--charcoal);
  padding: 100px 0;
}

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

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,59,10,0.1);
  border: 1px solid rgba(255,59,10,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text {
  padding-top: 4px;
}

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.contact-item-value a {
  color: var(--white);
  transition: color var(--transition);
}

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

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
  padding: 8px;
}

.form-group select optgroup {
  background: #151515;
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  padding: 8px 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,59,10,0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Multi-Stage Dynamic Enquiry Form */
.enquiry-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
}

.enquiry-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

html[data-theme="light"] .enquiry-stepper::before {
  background: #E2E8F0;
}

.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

html[data-theme="light"] .step-circle {
  background: #F1F5F9;
  border-color: #CBD5E0;
  color: #64748B;
}

.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

html[data-theme="light"] .step-label {
  color: #94A3B8;
}

.step-node.active .step-circle {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 59, 10, 0.4);
}

.step-node.active .step-label {
  color: var(--red);
  font-weight: 700;
}

.step-node.completed .step-circle {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

.step-node.completed .step-label {
  color: #10B981;
}

/* Service Scope Banner / Badge */
.service-preselect-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 59, 10, 0.08);
  border: 1px solid rgba(255, 59, 10, 0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

html[data-theme="light"] .service-preselect-banner {
  background: #FFF5F2;
  border-color: rgba(255, 59, 10, 0.3);
}

.service-preselect-text {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

html[data-theme="light"] .service-preselect-text {
  color: #0F172A;
}

.service-preselect-badge {
  display: inline-block;
  background: var(--red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 8px;
}

.service-preselect-reset {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

html[data-theme="light"] .service-preselect-reset {
  color: #64748B;
}

.service-preselect-reset:hover {
  color: var(--red);
}

/* Form Stages */
.form-stage {
  display: none;
  animation: fadeInStage 0.35s ease forwards;
}

.form-stage.active {
  display: block;
}

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

.stage-btn-row {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn-stage-back {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

html[data-theme="light"] .btn-stage-back {
  background: #F1F5F9;
  border-color: #CBD5E0;
  color: #334155;
}

.btn-stage-back:hover {
  background: rgba(255, 255, 255, 0.15);
}

html[data-theme="light"] .btn-stage-back:hover {
  background: #E2E8F0;
}

.btn-stage-next {
  flex: 1;
  background: var(--red);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-stage-next:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 10, 0.35);
}

.form-submit {
  background: var(--red);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,59,10,0.3);
}

#form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(0,200,100,0.1);
  border: 1px solid rgba(0,200,100,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #4ade80;
  text-align: center;
}

#form-success.visible {
  display: block;
}

/* ============================================================
   Office Locations Section
   ============================================================ */
.offices-section {
  background: var(--charcoal-mid);
  padding: 80px 0;
  border-top: 1px solid var(--grey-border);
}

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

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

.office-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.office-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
}

.office-card:hover {
  background: rgba(255, 59, 10, 0.04);
  border-color: rgba(255, 59, 10, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.office-card:hover::before {
  background: var(--red);
}

.office-card.head-office {
  border-color: rgba(255, 59, 10, 0.25);
  background: rgba(255, 59, 10, 0.03);
}

.office-card.head-office::before {
  background: var(--red);
}

.office-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255, 59, 10, 0.1);
  border: 1px solid rgba(255, 59, 10, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.office-badge-hub,
.office-badge-region {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.office-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 59, 10, 0.08);
  border: 1px solid rgba(255, 59, 10, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.office-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.office-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.office-address {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 18px;
  flex-grow: 1;
}

.office-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  position: relative;
}

.office-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.office-dir-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.office-dir-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 59, 10, 0.35);
}

/* Map Selector Modal & Popup */
.map-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.map-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.map-modal {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 30px 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.map-modal-backdrop.active .map-modal {
  transform: scale(1);
}

.map-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.map-modal-close:hover {
  background: var(--red);
  color: #FFFFFF;
}

.map-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.map-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.map-modal-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  line-height: 1.5;
}

.map-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
}

.map-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 59, 10, 0.1);
  color: var(--red);
}

.map-option-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.map-option-arrow {
  color: rgba(255, 255, 255, 0.4);
  transition: transform var(--transition), color var(--transition);
}

.map-option-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.map-option-item:hover {
  background: rgba(255, 59, 10, 0.08);
  border-color: rgba(255, 59, 10, 0.35);
  color: var(--white);
  transform: translateX(4px);
}

.map-option-item:hover .map-option-arrow {
  color: var(--red);
  transform: translateX(2px);
}

/* Light theme for Office Locations & Modal */
html[data-theme="light"] .offices-section {
  background: #FFFFFF;
  border-top-color: #E2E8F0;
}

html[data-theme="light"] .offices-header .section-title {
  color: #0F172A;
}

html[data-theme="light"] .offices-header .section-subtitle {
  color: #475569;
}

html[data-theme="light"] .office-card {
  background: #F8F9FA;
  border-color: #E2E8F0;
}

html[data-theme="light"] .office-card:hover {
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(255, 59, 10, 0.08);
}

html[data-theme="light"] .office-card.head-office {
  background: #FFF5F2;
  border-color: rgba(255, 59, 10, 0.3);
}

html[data-theme="light"] .office-badge-hub,
html[data-theme="light"] .office-badge-region {
  color: #475569;
  border-color: #CBD5E0;
  background: #E2E8F0;
}

html[data-theme="light"] .office-icon {
  background: rgba(255, 59, 10, 0.08);
  border-color: rgba(255, 59, 10, 0.2);
}

html[data-theme="light"] .office-title {
  color: #0F172A;
}

html[data-theme="light"] .office-address {
  color: #334155;
}

html[data-theme="light"] .map-modal {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .map-modal-title {
  color: #0F172A;
}

html[data-theme="light"] .map-modal-subtitle {
  color: #475569;
}

html[data-theme="light"] .map-modal-close {
  background: #F1F5F9;
  color: #475569;
}

html[data-theme="light"] .map-modal-close:hover {
  background: var(--red);
  color: #FFFFFF;
}

html[data-theme="light"] .map-option-item {
  background: #F8F9FA;
  border-color: #E2E8F0;
  color: #0F172A;
}

html[data-theme="light"] .map-option-item strong {
  color: #0F172A;
}

html[data-theme="light"] .map-option-item div[style*="opacity:0.65"] {
  color: #64748B !important;
  opacity: 1 !important;
}

html[data-theme="light"] .map-option-item:hover {
  background: #FFF5F2;
  border-color: rgba(255, 59, 10, 0.4);
  color: #0F172A;
}

html[data-theme="light"] .map-option-arrow {
  color: #94A3B8;
}

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

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

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--grey-border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--grey-border);
}

.footer-logo-wrap {
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Legacy text fallback */
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-name span { color: var(--red); }

.footer-brand-div {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--red);
  background: rgba(255,59,10,0.1);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.5);
  transition: fill var(--transition);
}

.footer-social a:hover svg {
  fill: var(--red);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom-left {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}

.footer-bottom-left a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

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

.footer-bottom-right {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  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; }

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

/* ============================================================
   About Page Specific
   ============================================================ */
.about-intro-section {
  background: var(--white);
  padding: 100px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro-text .section-title { color: var(--black); }
.about-intro-text p { color: rgba(0,0,0,0.65); margin-bottom: 1.2rem; }

.about-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.vm-section {
  background: var(--black);
  padding: 80px 0;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vm-card {
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 40px;
  border-left: 4px solid var(--red);
}

.vm-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.vm-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.vm-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.values-section {
  background: var(--charcoal);
  padding: 100px 0;
}

.values-header {
  text-align: center;
  margin-bottom: 56px;
}

.values-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.value-card {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--grey-border);
}

.value-card:hover {
  border-color: rgba(255,59,10,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.value-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,59,10,0.12);
  margin-bottom: 12px;
  line-height: 1;
}

.value-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Services Page Specific
   ============================================================ */
.services-full-section {
  padding: 100px 0;
}

.services-full-section:nth-child(even) {
  background: var(--grey-light);
}

.services-full-section:nth-child(odd) {
  background: var(--white);
}

.service-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-full-grid.reverse {
  direction: rtl;
}

.service-full-grid.reverse > * {
  direction: ltr;
}

.service-full-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255,59,10,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-full-icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-full-text .section-label { color: var(--red); }
.service-full-text .section-title { color: var(--black); }
.service-full-text p { color: rgba(0,0,0,0.6); }

.service-full-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.service-full-list li {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-full-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.service-visual {
  background: radial-gradient(circle at 60% 40%, #152438 0%, #09121d 100%);
  background-image: 
    linear-gradient(rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 60% 40%, #17293f 0%, #08111c 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(0, 168, 255, 0.15);
}

.service-visual::before {
  content: 'TECHNICAL SPECIFICATION // ENGINEERING SCHEMATIC';
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(0, 210, 255, 0.45);
}

.service-visual svg {
  width: 110px;
  height: 110px;
  stroke: #00d2ff;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
  transition: transform 0.5s ease;
}

.service-visual:hover svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(255, 59, 10, 0.5));
  stroke: var(--red);
}

.service-visual-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 3px solid var(--red);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* ============================================================
   Technology Page Specific
   ============================================================ */
.tech-full-section {
  background: var(--charcoal);
  padding: 100px 0;
}

.tech-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.tech-intro-text .section-title { color: var(--white); }
.tech-intro-text p { color: rgba(255,255,255,0.6); margin-bottom: 1rem; }

.tech-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tech-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.tech-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================================
   Projects Page Specific
   ============================================================ */
.projects-intro {
  background: var(--white);
  padding: 80px 0;
}

.projects-intro .section-title { color: var(--black); }
.projects-intro p { color: rgba(0,0,0,0.6); }

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.category-tag {
  padding: 8px 20px;
  background: var(--grey-light);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(0,0,0,0.6);
  transition: var(--transition);
  cursor: default;
}

.category-tag:hover,
.category-tag.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.projects-full-section {
  background: var(--grey-light);
  padding: 80px 0;
}

.project-experience-banner {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  border: 1px solid var(--grey-border);
}

.project-experience-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.project-experience-banner p {
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.exp-tag {
  padding: 10px 22px;
  background: var(--charcoal);
  border: 1px solid var(--grey-border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  .nav-logo-img { height: 36px; }
  .footer-logo-img { height: 44px; }

  #nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -320px;
    bottom: 0;
    width: 280px;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 24px 40px;
    gap: 8px;
    transition: right 0.35s ease;
    z-index: 999;
    border-left: 1px solid var(--grey-border);
  }

  #nav-links.open {
    right: 0;
  }

  #nav-overlay {
    display: block;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hamburger { display: flex; }

  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { order: -1; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--grey-border); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .service-full-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-full-grid.reverse { direction: ltr; }

  .tech-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .tech-full-grid { grid-template-columns: 1fr 1fr; }

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

  .section-pad { padding: 72px 0; }

  .contact-form-wrap { padding: 28px 20px; }

  .project-experience-banner { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .tech-full-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
