/* ===================================
   AJR Industrial Services - Stylesheet
   Modern, clean design inspired
   =================================== */
/* CSS Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* Colors - Based on AJR logo burgundy/maroon */
  --primary-color: #8B1538;
  --primary-dark: #6B0F2A;
  --primary-light: #A02047;
  --secondary-color: #1a1a1a;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}
html { scroll-behavior: smooth; }
::selection { background: var(--primary-color); color: #fff; }
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }
h1,h2,h3,h4,h5,h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: var(--transition-normal);
}
.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0;
}
/* ✅ Logo alignment improved */
.navbar .logo {
  margin-left: 20px; /* Hard-match the content padding */
  padding-left: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-ajr { font-size: 1.8rem; font-weight: var(--font-weight-extrabold); color: var(--primary-color); letter-spacing: 2px; }
.logo-sub { font-size: 0.75rem; font-weight: var(--font-weight-medium); color: var(--text-medium); letter-spacing: 1px; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { font-weight: var(--font-weight-medium); color: var(--text-medium); font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary-color); }
.btn-contact {
  background: var(--primary-color); color: #fff !important;
  padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: var(--font-weight-semibold);
}
.btn-contact:hover { background: var(--primary-dark); transform: translateY(-2px); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: var(--transition-fast); }
/* ===================================
   Global Hero (used on other pages)
   =================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background-image: url('images/project-4.jpg');
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.5) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: var(--spacing-md); }
.hero-title { font-size: 4rem; font-weight: var(--font-weight-extrabold); margin-bottom: var(--spacing-md); text-transform: uppercase; letter-spacing: 2px; color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,.8); }
.hero-subtitle { font-size: 1.5rem; font-weight: var(--font-weight-light); margin-bottom: var(--spacing-lg); max-width: 800px; margin-inline: auto; line-height: 1.8; color: #fff; text-shadow: 1px 1px 4px rgba(0,0,0,.8); }
.hero-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; }
/* ===================================
   Buttons
   =================================== */
.btn { display: inline-block; padding: 1rem 2.5rem; font-weight: var(--font-weight-semibold); font-size: 1rem; border-radius: 4px; transition: var(--transition-normal); cursor: pointer; border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(139,21,56,0.3); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--primary-color); transform: translateY(-3px); }
.btn-full { width: 100%; }
/* ===================================
   Sections
   =================================== */
section { padding: var(--spacing-xl) 0; }
.section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.section-label { display: inline-block; color: var(--primary-color); font-weight: var(--font-weight-semibold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.875rem; margin-bottom: var(--spacing-sm); }
.section-intro { max-width: 800px; margin: 0 auto; color: var(--text-medium); font-size: 1.1rem; line-height: 1.8; }
.lead { font-size: 1.25rem; line-height: 1.8; color: var(--text-medium); font-weight: var(--font-weight-regular); }
.emphasis { font-weight: var(--font-weight-semibold); color: var(--primary-color); }
/* ===================================
   About / Stats / Projects / Industries / Certs / Contact / Footer
   (unchanged from your original stylesheet)
   =================================== */
.about-section { background: var(--bg-white); }
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing-lg); align-items: start; }
.about-text p { margin-bottom: 1.5rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: 1fr; gap: var(--spacing-md); }
.stat-card { background: var(--bg-light); padding: var(--spacing-md); border-radius: 8px; text-align: center; transition: var(--transition-normal); }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.stat-number { font-size: 3rem; font-weight: var(--font-weight-extrabold); color: var(--primary-color); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--text-medium); font-weight: var(--font-weight-medium); text-transform: uppercase; letter-spacing: 1px; }
.services-section { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.service-card { background: #fff; padding: var(--spacing-md); border-radius: 8px; transition: var(--transition-normal); border: 1px solid var(--border-color); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.service-icon { font-size: 3rem; margin-bottom: var(--spacing-sm); }
.service-card h3 { color: var(--text-dark); margin-bottom: var(--spacing-sm); }
.service-card p { color: var(--text-medium); line-height: 1.7; margin-bottom: var(--spacing-md); }
.service-link { color: var(--primary-color); font-weight: var(--font-weight-semibold); display: inline-block; }
.service-link:hover { transform: translateX(5px); }
.why-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%); color: #fff; }
.why-section .section-label { color: #fff; opacity: 0.9; }
.why-section h2 { color: #fff; }
.why-content { max-width: 900px; margin: 0 auto; }
.why-list { display: grid; gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.why-item { display: flex; gap: var(--spacing-md); align-items: start; }
.check-icon { background: var(--primary-color); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: var(--font-weight-bold); }
.why-item h4 { color: #fff; margin-bottom: .5rem; }
.why-item p { color: rgba(255,255,255,0.8); line-height: 1.6; }
.projects-section { background: var(--bg-white); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: var(--spacing-md); }
.project-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: var(--transition-normal); }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.project-image { width: 100%; height: 250px; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.project-card:hover .project-image img { transform: scale(1.1); }
.project-info { padding: var(--spacing-md); }
.project-info h3 { color: var(--text-dark); margin-bottom: var(--spacing-sm); }
.project-info p { color: var(--text-medium); line-height: 1.6; }
.industries-section { background: var(--bg-light); }
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.industry-item { background: #fff; padding: var(--spacing-md); border-radius: 8px; text-align: center; transition: var(--transition-normal); border: 1px solid var(--border-color); }
.industry-item:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.industry-icon { font-size: 2.5rem; margin-bottom: var(--spacing-sm); }
.industry-item h3 { font-size: 1rem; color: var(--text-dark); }
.certifications-section { background: var(--bg-white); }
.cert-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-lg); }
.cert-column h3 { color: var(--primary-color); margin-bottom: var(--spacing-md); padding-bottom: var(--spacing-sm); border-bottom: 2px solid var(--primary-color); }
.cert-list { list-style: none; margin-bottom: var(--spacing-lg); }
.cert-list li { padding: .75rem 0; padding-left: 1.5rem; position: relative; color: var(--text-medium); line-height: 1.6; }
.cert-list li:before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: var(--font-weight-bold); }
.cert-list li strong { color: var(--text-dark); }
.contact-section { background: var(--bg-light); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); margin-top: var(--spacing-lg); }
.contact-details { display: grid; gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.contact-item { display: flex; gap: var(--spacing-md); align-items: start; }
.contact-icon { font-size: 2rem; flex-shrink: 0; }
.contact-item h4 { color: var(--text-dark); margin-bottom: .25rem; }
.contact-item p, .contact-item a { color: var(--text-medium); line-height: 1.6; }
.contact-item a:hover { color: var(--primary-color); }
.contact-form-wrapper { background: #fff; padding: var(--spacing-lg); border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.contact-form { display: grid; gap: var(--spacing-md); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 1rem; border: 1px solid var(--border-color); border-radius: 4px;
  font-family: var(--font-primary); font-size: 1rem; transition: var(--transition-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(139,21,56,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
/* Footer */
.footer {
  background: var(--secondary-color);
  color: #fff;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* four columns on desktop */
  gap: var(--spacing-lg);
  align-items: start;
  margin-bottom: var(--spacing-lg);
}
.footer-column h3,
.footer-column h4 { color: #fff; margin-bottom: var(--spacing-md); }
.footer-column p { color: rgba(255,255,255,0.75); line-height: 1.8; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: .75rem; }
.footer-column ul li a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-column ul li a:hover { color: var(--primary-color); }
.footer-tagline { color: var(--primary-color); font-style: italic; }
.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
}
/* Responsive footer grid */
@media (max-width: 1024px){
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .footer-content { grid-template-columns: 1fr; }
}
/* ===================================
   ✅ Services Page Specific (moved from inline)
   =================================== */
/* Shorter GPE-like hero on Services page */
.services-hero {
  position: relative;
  height: 70vh;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: #000; overflow: hidden; isolation: isolate;
}
.services-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.55)),
    var(--hero-image, url('images/DJI_0286.JPG')) center/cover no-repeat;
}

.services-hero .hero-content { position: relative; z-index: 1; padding: 60px 0; text-align: center; }
.services-hero .hero-title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.07; margin: 10px 0; font-weight: 900; }
.services-hero .hero-subtitle { font-size: clamp(16px, 2vw, 18px); max-width: 740px; margin: 0 auto; opacity: .95; }
@media (max-width: 768px) {
  .services-hero { height: 40vh; min-height: 240px; }
  .services-hero .hero-content { padding: 40px 0; }
}
/* Services grid (3 columns on desktop) */
.services-grid-container {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; margin: 3rem 0;
}
.service-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.service-card-image { width: 100%; height: 250px; object-fit: cover; }
.service-card-content { padding: 1.5rem; }
.service-card-icon { font-size: 2rem; margin-bottom: .5rem; }
.service-card-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: #1a1a1a; }
.service-card-features { list-style: none; padding: 0; margin: 0 0 1rem 0; font-size: .9rem; line-height: 1.6; color: #555; }
.service-card-features li { margin-bottom: .5rem; padding-left: 1.2rem; position: relative; }
.service-card-features li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }
.service-card-link { color: var(--primary-color); text-decoration: none; font-weight: 600; display: inline-block; margin-top: .5rem; }
.service-card-link:hover { color: var(--primary-dark); }
.capabilities-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; margin: 3rem 0;
}
.capability-item { padding: 1.5rem; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.capability-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: #1a1a1a; }
.capability-item p { font-size: .95rem; color: #555; line-height: 1.6; margin: 0; }
/* Responsive adjustments for these grids */
@media (max-width: 1024px) {
  .services-grid-container { grid-template-columns: repeat(2,1fr); }
  .footer-content { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: var(--spacing-md); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
  .nav-menu.active { display: flex; }
  .mobile-menu-toggle { display: flex; }
.navbar .logo { margin-left: 10px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-container,
  .capabilities-grid,
  .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --spacing-lg: 3rem; --spacing-xl: 4rem; }
  .hero { min-height: 500px; }
  .hero-title { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
  .industries-grid { grid-template-columns: 1fr; }
}

/* Dropdown Menu Styles */
.nav-menu {
    position: relative;
}

.nav-menu li {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0;
    top: 100%;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--text-medium);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover {
    color: var(--primary-color);
}

.parallax-section {
    background-image: url('your-image.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}
.parallax-content {
    position: relative;
    z-index: 1;
    color: white; /* Light text for contrast */
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Darker overlay */
}



