/* Batavia Shipping Styles - Sophisticated Maritime Theme */
:root{
  --ink:#0a1828; /* deep navy */
  --ink-light:#1e3a54; /* lighter navy for gradients */
  --accent:#c9972b; /* gold */
  --accent-light:#e6b94d; /* light gold */
  --dark:#333333;
  --muted:#6c757d;
  --muted-light:#a0a9b2;
  --light:#f8f9fa;
  --bg-alt:#f0f4f8;
  --card:#ffffff;
  --border:#e9ecef;
  --border-color:#dee2e6;
  --shadow:0 4px 15px rgba(0,0,0,0.05);
  --shadow-lg:0 8px 25px rgba(0,0,0,0.1);
  --font-family:'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-size-base:16px;
  --font-weight-normal:400;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
}

.container{width:min(1280px, 92%);margin-inline:auto}

/* Main content */
main#content{padding-top:0}
.text-center{text-align:center}
.text-accent{color:var(--accent)}
.mb-0{margin-bottom:0}
.mb-1{margin-bottom:0.5rem}
.mb-2{margin-bottom:1rem}
.mb-3{margin-bottom:1.5rem}
.mb-4{margin-bottom:2rem}
.mb-5{margin-bottom:3rem}

/* Header */
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(255,255,255,0.95);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
  z-index:100;
  box-shadow:var(--shadow);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--ink);
  transition:transform 0.2s ease;
}
.brand:hover{
  transform:scale(1.02);
}
.logo{
  height:68px;
  width:auto;
}
.brand-text{
  font-weight:800;
  letter-spacing:0.3px;
  font-size:20px;
}
.site-nav{
  display:flex;
  gap:24px;
  align-items:center;
}
.site-nav a{
  color:var(--ink);
  text-decoration:none;
  font-weight:600;
  opacity:.85;
  position:relative;
  padding:6px 6px;
  transition:all 0.2s ease;
}
.site-nav a:hover{
  opacity:1;
  color:var(--accent);
}
.site-nav a:not(.btn-cta)::after{
  content:'';
  position:absolute;
  width:0;
  height:2px;
  bottom:0;
  left:0;
  background-color:var(--accent);
  transition:width 0.2s ease;
}
.site-nav a:not(.btn-cta):hover::after{
  width:100%;
}
.btn-cta{
  padding:12px 60px 12px 60px;
  border-radius:8px;
  background:linear-gradient(135deg, var(--accent), var(--accent-light));
  color:#fff !important;
  font-weight:600;
  transition:all 0.3s ease;
  box-shadow:0 4px 12px rgba(201, 151, 43, 0.2);
}
.btn-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(201, 151, 43, 0.3);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:var(--ink);
}

/* Content Sections */
section{padding:90px 0}
section:nth-child(even){background:var(--bg-alt)}

/* Section Headers */
.section-header{
  text-align:center;
  margin-bottom:48px;
}
.section-header h2{
  position:relative;
  display:inline-block;
  margin-bottom:16px;
}
.section-header h2::after{
  content:'';
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
  width:80px;
  height:3px;
  background:var(--accent);
}
.section-header p.lead{
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
}

/* Hero Section */
.hero{
  padding:160px 0 140px;
  /* Background image now provided by <img class="hero-bg"> to improve LCP */
  background:none;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero .hero-bg{
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.6));
  z-index:1;
}
.hero::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg, var(--accent), var(--accent-light));
}
.hero .container{
  position:relative;
  z-index:2;
}
.hero h1{
  font-size:3.5rem;
  margin-bottom:1.5rem;
  font-weight:800;
  line-height:1.1;
  max-width:800px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero h1 span{
  color:var(--accent-light);
}
.hero p{
  font-size:clamp(18px, 2.4vw, 22px);
  max-width:800px;
  margin-bottom:36px;
  font-weight:300;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero .actions{
  margin-top:32px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero .button{
  background:linear-gradient(135deg, var(--accent), var(--accent-light));
  color:var(--ink);
  padding:14px 28px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  transition:all 0.3s ease;
  box-shadow:0 4px 15px rgba(201, 151, 43, 0.25);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.hero .button:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(201, 151, 43, 0.35);
}
.hero .button-secondary{
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);
  color:#fff;
  border:1px solid rgba(255,255,255,0.3);
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}
.hero .button-secondary:hover{
  background:rgba(255,255,255,0.25);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* Grid Layouts */
.grid{
  display:grid;
  gap:30px;
}
.grid-2{
  grid-template-columns:repeat(2, 1fr);
}
.grid-3{
  grid-template-columns:repeat(3, 1fr);
}
.grid-4{
  grid-template-columns:repeat(4, 1fr);
}

/* Card Components */
.card, .advantage-card, .value-card, .client-card, .team-member {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card {
  background-color: white;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  z-index: 1;
}

.service-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover, .service-card:hover, .advantage-card:hover, .value-card:hover, .client-card:hover, .team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--accent);
}
.card-header{
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:16px;
}
.card-icon{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--bg-alt);
  color:var(--accent);
  font-size:24px;
}
.card h3{
  font-size:20px;
  margin:0 0 12px;
  color:var(--ink);
}
.card p{
  color:var(--muted);
  margin-bottom:20px;
}
.card-footer{
  margin-top:auto;
  padding-top:16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6{
  font-weight:700;
  line-height:1.3;
  color:var(--ink);
}
h2{
  font-size:clamp(28px, 3.6vw, 42px);
  margin:0 0 20px;
}
h3{
  font-size:clamp(22px, 2.4vw, 28px);
  margin:0 0 16px;
}
p.lead{
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  font-weight:300;
}

/* Testimonials */
.testimonial-section {
  margin-top: 60px;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-header {
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.testimonial-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid-two {
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-icon {
  position: absolute;
  top: -20px;
  left: 40px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(201, 151, 43, 0.3);
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 30px;
  flex: 1;
  position: relative;
  padding-top: 10px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--accent-light);
  margin-right: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.testimonial-position {
  font-size: 14px;
  color: var(--muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

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

@media (max-width: 768px) {
  .testimonial-grid-three,
  .testimonial-grid-two {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .testimonial-icon {
    left: 20px;
  }
}

/* Client Logos */
.clients{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
  align-items:center;
  margin:40px 0;
}
.client-logo{
  max-width:160px;
  height:auto;
  opacity:0.8;
  transition:opacity 0.3s ease;
  filter:grayscale(100%);
}
.client-logo:hover{
  opacity:1;
  filter:grayscale(0%);
}

/* Why Choose Us Section */
.why-section {
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/Bunan Queen Welcome.webp') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.advantage-card {
  background-color: var(--card);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent);
}

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

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.advantage-card h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 600;
}

.advantage-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Values */
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  justify-content: space-between;
}

.value-item {
  flex: 1 1 200px;
  background-color: var(--card);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--accent);
}

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

.value-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.value-item h4 {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
}

/* Experience Card */
.experience-card {
  margin-top: 30px;
  background: linear-gradient(135deg, #0a2e4f 0%, #1a4d80 100%);
  border-radius: 12px;
  padding: 30px;
  color: #f8f9fa;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #d4af37;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.experience-icon {
  font-size: 3.5rem;
  color: #d4af37;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.experience-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}

.experience-card p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.value-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Section Dividers */
.section-divider {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.divider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 32, 63, 0.85), rgba(0, 32, 63, 0.7));
}

.divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.divider-content h3 {
  color: #fff;
  font-size: 32px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Parallax Section */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 32, 63, 0.7);
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.parallax-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.parallax-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.button-light {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.button-light:hover {
  background-color: #fff;
  color: var(--primary);
}

/* Projects Before/After Section */
.projects-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

.project-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .project-comparison {
    grid-template-columns: 1.5fr 1fr;
  }
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 300px;
}

.project-before,
.project-after {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-before:hover,
.project-after:hover {
  transform: scale(1.05);
  z-index: 2;
}

.project-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 32, 63, 0.8);
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.project-details {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-details h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 24px;
}

.project-details p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Statistics Section */
.stats-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: #fff;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 32, 63, 0.9), rgba(0, 32, 63, 0.8));
}

.stats-section .section-header {
  position: relative;
  z-index: 2;
}

.stats-section .section-header h2,
.stats-section .section-header .section-subtitle {
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/Tug Boat Welcome.webp') center/cover no-repeat;
  opacity: 0.03;
  z-index: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 15px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

.gallery-caption h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.gallery-caption p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

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

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  
  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Partners/Clients Section */
.client-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.client-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--card);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent);
}

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

.client-list-item i {
  font-size: 20px;
  color: var(--accent);
  margin-top: 4px;
}

.client-list-item h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.client-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.clients-section {
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 24, 40, 0.03), rgba(30, 58, 84, 0.05));
  z-index: 0;
}

.client-showcase {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.client-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  border-bottom: 4px solid var(--accent);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left: none;
}

.client-image {
  height: 200px;
  overflow: hidden;
}

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

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

.client-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.client-info h3 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 22px;
}

.client-industry {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.client-info p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.client-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.client-services span {
  background-color: var(--bg-alt);
  color: var(--ink-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Team Section */
.team-section {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.section-subtitle {
  display: block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.member-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
  transform: scale(1.05);
}

.member-info {
  width: 100%;
  padding: 25px;
  text-align: center;
}

.member-info h3 {
  font-size: 22px;
  margin: 0 0 5px;
  color: var(--ink);
}

.member-title {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}

.member-experience {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.member-experience i {
  color: var(--accent);
}

.member-bio {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-light);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: var(--bg-alt);
}

.contact-link:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.contact-link i {
  color: var(--accent);
  transition: color 0.2s ease;
}

.contact-link:hover i {
  color: white;
}

.team-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

/* Global Reach Section */
.reach-section {
  background: linear-gradient(to bottom, #f0f5fa, #e6eef5);
}

.reach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.reach-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 24, 40, 0.4);
}

.map-point {
  position: absolute;
  width: 20px;
  height: 20px;
}

.point-pulse {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.point-label {
  position: absolute;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.reach-info {
  padding: 20px;
}

.reach-info .lead {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.7;
}

.reach-stats {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  text-align: center;
}

.reach-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reach-stat i {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
}

/* Services Section */
.service-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 40px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent);
}

.service-cta p {
  color: #0a1828;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.service-cta .button {
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.service-cta .button:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-cta .button i {
  margin-right: 8px;
}

.services-section {
  background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.services-grid{
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.services-row {
  display: grid;
  gap: 24px;
}

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

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

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

.service-card-full {
  width: 100%;
  min-height: 700px;
}

.service-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--card);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
}

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

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

.service-features {
  list-style: none;
  padding: 0;
  margin-top: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-features li i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.value-card {
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid var(--accent);
}

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

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.value-card h3 {
  color: var(--ink);
  margin-bottom: 15px;
  font-size: 20px;
}

.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Image Features */
.image-feature{
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
  height:100%;
}
.image-feature img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}
.image-feature:hover img{
  transform:scale(1.05);
}

/* Footer */
.site-footer{
  background:var(--ink);
  color:var(--muted-light);
  padding:60px 0 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:40px;
}
.footer-brand{
  display:flex;
  flex-direction:column;
}
.footer-logo{
  height: 80px;
  width: auto;
  max-width: 360px;
  margin-bottom: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 4px;
  object-fit: contain;
}
.footer-about{
  margin-top:16px;
  max-width:360px;
}
.footer-heading{
  color:#fff;
  font-size:18px;
  margin:0 0 20px;
  position:relative;
  padding-bottom:10px;
}
.footer-heading::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:40px;
  height:2px;
  background:var(--accent);
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{
  margin-bottom:10px;
}
.footer-links a{
  color:var(--muted-light);
  text-decoration:none;
  transition:color 0.2s ease;
}
.footer-links a:hover{
  color:var(--accent-light);
}
.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-contact li{
  margin-bottom:12px;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.footer-contact i{
  color:var(--accent);
}
.footer-contact a{
  color:var(--muted-light);
  text-decoration:none;
  transition:color 0.2s ease;
}
.footer-contact a:hover{
  color:var(--accent-light);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:20px;
  margin-top:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}
.footer-bottom p{
  margin:0;
}
.footer-bottom > .footer-social{
  flex-shrink:0;
}
.powered-by-container {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  opacity: 0.7;
}

.powered-by a {
  color: var(--muted-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.powered-by a:hover {
  color: var(--accent-light);
  opacity: 1;
}

.micro-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(46, 204, 113, 0.25);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(46, 204, 113, 0.4);
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
  animation: ghostglow 3s infinite alternate;
  transition: all 0.3s ease;
  cursor: pointer;
}

.micro-pill:hover,
.micro-pill:active {
  background-color: rgba(46, 204, 113, 0.9);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(46, 204, 113, 1);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.8);
  opacity: 1;
  animation: none;
}

@keyframes ghostglow {
  from {
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
    opacity: 0.7;
  }
  to {
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
    opacity: 0.9;
  }
}

.micro-pill.search-ready {
  background-color: rgba(39, 174, 96, 0.25);
  border-color: rgba(39, 174, 96, 0.4);
}

.micro-pill.search-ready:hover,
.micro-pill.search-ready:active {
  background-color: rgba(39, 174, 96, 0.9);
  border-color: rgba(39, 174, 96, 1);
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.8);
}

.micro-pill.ai-ready {
  background-color: rgba(46, 204, 113, 0.25);
  border-color: rgba(46, 204, 113, 0.4);
}

.micro-pill.ai-ready:hover,
.micro-pill.ai-ready:active {
  background-color: rgba(46, 204, 113, 0.9);
  border-color: rgba(46, 204, 113, 1);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.8);
}

.micro-pill.manage-pill {
  background-color: rgba(201, 151, 43, 0.25);
  border-color: rgba(201, 151, 43, 0.4);
  text-decoration: none;
}

.micro-pill.manage-pill:hover,
.micro-pill.manage-pill:active {
  background-color: rgba(201, 151, 43, 0.9);
  border-color: rgba(201, 151, 43, 1);
  box-shadow: 0 0 12px rgba(201, 151, 43, 0.8);
  color: #0a1828;
}
.footer-social{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:16px;
}
.footer-social a,
.footer-social-li a.social-icon{
  color:rgba(255,255,255,0.7);
  font-size:20px;
  line-height:1;
  transition:all 0.2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.2);
}
.footer-social a:hover,
.footer-social-li a.social-icon:hover{
  color:var(--ink) !important;
  background:var(--accent);
  border-color:var(--accent);
}
.footer-social a:hover i,
.footer-social-li a.social-icon:hover i{
  color:var(--ink) !important;
}
.footer-social-li{
  display:flex;
  gap:12px;
  margin-top:12px;
  list-style:none;
}

/* Admin */
.admin-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr}
.admin-header{background:var(--ink);color:#fff}
.admin-header .container{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.admin-tabs{display:flex;gap:10px;padding:10px;background:#f0f3f8;border-bottom:1px solid #e0e7f0}
.admin-tabs button{padding:10px 14px;border-radius:10px;border:1px solid #cfd7e3;background:#fff;font-weight:700;cursor:pointer}
.admin-tabs button.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.admin-main{padding:18px}
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.media-item{border:1px solid #e3e9f2;border-radius:12px;overflow:hidden;background:#fff}
.media-item img{width:100%;height:120px;object-fit:cover;display:block}
.media-item .row{display:flex;justify-content:space-between;align-items:center;padding:8px}
input[type="file"]{border:1px dashed #c5cfe0;padding:12px;border-radius:8px;background:#fff;width:100%}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease-out;
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 15px;
}

.modal h3 {
  margin: 0 0 15px;
  color: var(--ink);
}

.modal p {
  margin: 0;
  color: var(--muted);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

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

.contact-info {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--ink);
  margin-bottom: 15px;
  font-size: 24px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 25px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-details i {
  font-size: 20px;
  color: var(--accent);
  width: 24px;
  text-align: center;
}

.contact-details h4 {
  margin: 0 0 5px;
  font-size: 16px;
  color: var(--ink);
}

.contact-details p {
  margin: 0;
  color: var(--muted);
}

.contact-details a {
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--accent);
}

.emergency-contact {
  background: rgba(220, 53, 69, 0.1);
  border-left: 3px solid #dc3545;
  padding: 15px;
  border-radius: 6px;
}

.emergency-contact h4 {
  color: #dc3545;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.emergency-contact p {
  margin: 0;
  font-size: 14px;
}

.contact-form-container {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0;
}

.form-group.form-checkbox input {
  margin-top: 5px;
}

.form-group.form-checkbox label {
  font-size: 14px;
  color: var(--muted);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--ink);
}

.required {
  color: #dc3545;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,151,43,0.15);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(201,151,43,0.2);
  padding: 14px 28px;
  font-weight: 700;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(201,151,43,0.3);
}

/* Stats */
.stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
  margin:40px 0;
}
.stat{
  text-align:center;
  flex:1;
  min-width:150px;
}
.stat-number{
  font-size:42px;
  font-weight:800;
  color:var(--accent);
  margin:0;
  line-height:1;
}
.stat-label{
  color:var(--muted);
  margin-top:8px;
}

/* Animations */
@keyframes fadeIn{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}
.animate{
  animation:fadeIn 0.8s ease forwards;
  opacity:0;
}

/* Responsive adjustments */

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

@media (max-width: 860px){
  .site-nav{
    display:none;
    position:fixed;
    top:80px;
    left:0;
    width:100%;
    background:var(--card);
    flex-direction:column;
    padding:20px;
    box-shadow:var(--shadow);
    border-bottom:1px solid var(--border);
    z-index:999;
  }
  .site-nav.active{
    display:flex;
  }
  .menu-toggle{
    display:block;
  }
}

@media (max-width: 992px) {
  .reach-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  section{
    padding:60px 0;
  }
  .hero{
    padding:100px 0 80px;
  }
  .grid-2{
    grid-template-columns:1fr;
  }
  .grid-3, .grid-4{
    grid-template-columns:1fr;
  }
  .hero .actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero .button{
    width:100%;
    justify-content:center;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }
  .footer-bottom{
    flex-direction:column;
    gap:20px;
    text-align:center;
  }
  
  .team-member {
    flex-direction: column;
  }
  
  .member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  
  .member-info {
    width: 100%;
  }
  
  .reach-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-details li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* Expanded Service Card for Cargo Surveying */
.service-card-expanded {
  grid-column: span 2; /* Make the card span 2 columns */
  min-height: 700px; /* Taller to accommodate the content */
}

.service-card-expanded .service-content {
  overflow-y: auto; /* Allow scrolling if content is too long */
  max-height: 650px; /* Set a max height */
}

.service-features-standard {
  margin-bottom: 1.5rem;
}

.service-features-horizontal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.service-features-horizontal .feature-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.service-features-horizontal .feature-item:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.service-features-horizontal .feature-item i {
  color: var(--accent);
  margin-right: 8px;
}

@media (max-width: 768px) {
  .service-features-horizontal {
    flex-direction: column;
    align-items: center;
  }
}

.service-certifications {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-certifications h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}

.certification-item {
  display: flex;
  align-items: center;
  background-color: rgba(240, 240, 240, 0.7);
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.certification-item:hover {
  background-color: rgba(230, 230, 230, 0.9);
  transform: translateY(-2px);
}

.certification-code {
  font-weight: bold;
  color: var(--accent);
  margin-right: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  min-width: 2rem;
  text-align: center;
}

.certification-desc {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.3;
}

/* Responsive adjustments for services layout */
@media (max-width: 992px) {
  .services-row-two,
  .services-row-three {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card-expanded {
    grid-column: span 1; /* On smaller screens, take full width */
  }
  
  .certification-grid {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}

@media (max-width: 768px) {
  .services-row-two,
  .services-row-three {
    grid-template-columns: 1fr;
  }
  
  .service-card-full {
    min-height: 800px;
  }
}
