/* =============================================
   LOGIK ENGINEERING - Main Stylesheet
   Professional Engineering Firm Website
   ============================================= */

/* CSS Variables - Brand Colors */
:root {
  --primary-dark: #0a4d68;
  --primary-blue: #088395;
  --primary-light: #05bfdb;
  --accent-cyan: #00cfff;
  --grey-dark: #4a5568;
  --grey-medium: #718096;
  --grey-light: #a0aec0;
  --grey-lighter: #e2e8f0;
  --white: #ffffff;
  --background: #f7fafc;
  --text-dark: #1a202c;
  --text-body: #4a5568;
  --accent-orange: #ed8936;
  --success: #48bb78;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary-dark); }
.bg-light { background-color: var(--background); }
.bg-white { background-color: var(--white); }

.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-blue));
  border-radius: 2px;
}

.section-title p {
  color: var(--grey-medium);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(8, 131, 149, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 131, 149, 0.4);
}

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

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange), #dd6b20);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
}

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

.btn-white:hover {
  background: var(--grey-lighter);
  transform: translateY(-2px);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo img {
  height: 50px;
  width: auto;
}

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

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-blue);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent-cyan);
}

.hero .tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-graphic {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.1;
}

/* Animated shapes */
.shape {
  position: absolute;
  opacity: 0.1;
}

.shape-1 {
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  border: 3px solid var(--white);
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  bottom: 20%;
  right: 20%;
  width: 60px;
  height: 60px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  top: 30%;
  right: 30%;
  width: 80px;
  height: 80px;
  border: 3px solid var(--accent-cyan);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* =============================================
   ABOUT PREVIEW SECTION
   ============================================= */
.about-preview {
  background: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-content h2 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.about-preview-content p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.about-preview-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-preview-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 77, 104, 0.2), transparent);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

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

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

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  background: var(--background);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-blue));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.service-card:hover .service-icon {
  transform: scale(1.1);
}

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

.service-card p {
  font-size: 0.9rem;
  color: var(--grey-medium);
  margin-bottom: 0;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
.projects {
  background: var(--white);
}

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

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

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

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 77, 104, 0.9), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--success);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.project-content p {
  font-size: 0.9rem;
  color: var(--grey-medium);
  margin-bottom: 0.75rem;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-light);
}

.project-location svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-blue);
}

/* =============================================
   CLIENTS/PARTNERS SECTION
   ============================================= */
.clients {
  background: var(--background);
  padding: 4rem 0;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.client-logo {
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(100%);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo img {
  height: 50px;
  width: auto;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

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

.footer-brand img {
  height: 45px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

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

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* =============================================
   PAGE HEADERS (Internal Pages)
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-header-content {
  position: relative;
  z-index: 2;
}

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

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span {
  color: var(--accent-cyan);
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.about-story {
  background: var(--white);
}

.about-story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-story-content h2 {
  margin-bottom: 1.5rem;
}

.about-story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Values Section */
.values {
  background: var(--background);
}

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

.value-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(8, 131, 149, 0.1), rgba(5, 191, 219, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-blue);
}

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

.value-card p {
  color: var(--grey-medium);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Team Section */
.team {
  background: var(--white);
}

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

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

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

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-card .role {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--grey-medium);
  margin-bottom: 0;
}

/* Partners Section */
.partners {
  background: var(--background);
}

.partners-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* =============================================
   SERVICES PAGE SPECIFIC
   ============================================= */
.services-detailed {
  background: var(--white);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--grey-lighter);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-detail-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.service-detail-content p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--grey-dark);
}

.service-features svg {
  width: 18px;
  height: 18px;
  stroke: var(--success);
  flex-shrink: 0;
}

/* =============================================
   PROJECTS PAGE SPECIFIC
   ============================================= */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--grey-lighter);
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* =============================================
   CAREERS PAGE SPECIFIC
   ============================================= */
.careers-intro {
  background: var(--white);
}

.careers-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-intro-content h2 {
  margin-bottom: 1.5rem;
}

.careers-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(8, 131, 149, 0.1), rgba(5, 191, 219, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-blue);
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--grey-medium);
  margin-bottom: 0;
}

/* Job Listings */
.job-listings {
  background: var(--background);
}

.jobs-list {
  max-width: 900px;
  margin: 0 auto;
}

.job-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-header h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--grey-medium);
}

.job-meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-blue);
}

.job-type {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.job-section {
  margin-bottom: 1.5rem;
}

.job-section h4 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-section h4 svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-blue);
}

.job-section p {
  color: var(--text-body);
  margin-bottom: 0;
}

.job-section ul {
  list-style: none;
}

.job-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

.job-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 50%;
}

.job-apply {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-lighter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-apply p {
  color: var(--grey-medium);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =============================================
   CONTACT PAGE SPECIFIC
   ============================================= */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-item-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-item-content p,
.contact-item-content a {
  color: var(--text-body);
  margin-bottom: 0;
}

.contact-item-content a:hover {
  color: var(--primary-blue);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--background);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--grey-lighter);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(8, 131, 149, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Map Section */
.map-section {
  background: var(--background);
  padding: 0;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

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

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

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

  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
  }

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

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .projects-grid,
  .projects-page-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

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

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

  .careers-intro-grid {
    grid-template-columns: 1fr;
  }

  .careers-benefits {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .job-header {
    flex-direction: column;
  }

  .service-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 70px;
  }

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

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

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-padding {
    padding: 3rem 0;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Image placeholder styling */
.img-placeholder {
  background: linear-gradient(135deg, var(--grey-lighter), var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-medium);
  font-size: 0.9rem;
}
