/* Variables for easy color changes */
:root {
  --primary-color: #00aaff;
  --text-light: #fff;
  --background-grey: #9a9898;
  --background-dark: #1a1a1a;
  --background-darker: #111;
  --background-darkest: #000;
  --light-grey: #f7f7f7;
  --medium-grey: #ccc;
  --sal-blue: #0056b3;
  --white: #fff;
}

/* General Reset and Font */
body {
  margin: 0;
  font-family: 'Share Tech', sans-serif;
  background-color: var(--background-grey);
  color: var(--text-light);
}

.page {
  background-color: var(--background-grey);
}

/* Header */
.header {
  background-color: rgb(21, 21, 50);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: fixed; /* Make the header fixed */
  top: 0; /* Stick it to the top */
  left: 0; /* Extend to the left edge */
  right: 0; /* Extend to the right edge */
  z-index: 100; /* Ensure it stays on top of other content */
}

.logo {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-links a,
.header-links button {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-links a:hover,
.header-links button:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: url('https://t4.ftcdn.net/jpg/12/04/60/11/240_F_1204601189_2u0pt63U4hTVK0DwyMpXyhYiJWUlA1nw.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 0 20px;
  margin-top: 0px; /* Add margin to account for the fixed header height */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.5rem;
}

/* About Section */
.about {
  position: relative;
  background: url('https://archello.s3.eu-central-1.amazonaws.com/images/2020/01/20/Ellement-Pilana-Karbid-BoysPlayNice-01.1579517042.1075.jpg') no-repeat center center/cover;
  padding: 70px 0px;
  text-align: left;
}

.about-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 60px 30px;
}

.about h2 {
  font-size: 2.9rem;
  color: var(--sal-blue);
}

.about p {
  max-width: 900px;
  margin: 20px;
  line-height: 1.6;
}

/* Vision & Mission */
.vision-mission {
  max-width: 2000px;
  margin: 0px auto;
  padding: 100px 100px;
  text-align: center;
  background-color: var(--light-grey);
}

.toggle-vm {
  background: var(--white);
  border: 1px solid var(--medium-grey);
  color: var(--sal-blue);
  padding: 10px 18px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.toggle-vm:hover {
  background-color: var(--sal-blue);
  color: var(--white);
  border-color: var(--sal-blue);
}

.vm-container {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.vm-block {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: left;
}

.vm-block h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--sal-blue);
}

.vm-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Our Services Section */
.services {
  padding: 80px 20px;
  background-color: var(--white);
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--sal-blue);
}

/* Container for service cards */
.services-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Individual service card */
.service-card {
  background-color: var(--light-grey);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 25px;
  flex: 1 1 280px;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--sal-blue);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* Gallery Section */
.gallery {
    
  padding: 60px 20px;
  background-color: var(--light-grey);
  text-align: center;
}

.gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--sal-blue);
}

/* Container for gallery images as cards */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each gallery image card */
.gallery-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-card:hover,
.gallery-card:focus {
  transform: scale(1.02);
  outline: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Join Us Section */
.join {
  padding: 40px 20px;
  background-color: var(--background-darkest);
  text-align: left;
  color: var(--text-light);
}

.join h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.join-button {
  display: inline-block;
  margin-top: 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 28px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.join-button:hover {
  background-color: #0088cc;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  background-color: var(--background-darkest);
  text-align: left;
  color: var(--text-light);
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact p {
  font-size: 1.15rem;
  margin: 6px 0;
}

/* ===== Quote Section Styling (Modified) ===== */
.quote-section {
  padding: 80px 20px;
  background-color: var(--white); /* Same background as services */
  text-align: left; /* Align text to the left */
}

.quote-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--sal-blue); /* Same heading color as services */
  text-align: left; /* Center the heading */
}

.quote-form-container {
  display: flex;
  justify-content: flex-start; /* Align items to the left */
  max-width: 1200px;
 
}

/* Our Clients Section */
.our-clients {
    padding: 80px 20px;
    background-color: var(--light-grey); /* Consistent with other sections */
    text-align: center;
}

.our-clients h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--sal-blue); /* Consistent heading color */
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.client-logo {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center; /* Center logos horizontally */
    align-items: center; /* Center logos vertically */
    padding: 20px;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below image */
}

/* Optional: Add hover effect for client logos */
.client-logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#quoteForm {
  background-color: var(--light-grey); /* Same card background as services */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* Same shadow as services */
  border-radius: 8px; /* Same border-radius as services */
  padding: 25px; /* Same padding as services */
  width: 600px; /* Increased width */
  max-width: 95%; /* Ensure it's responsive */
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#quoteForm:hover,
#quoteForm:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

#quoteForm h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--sal-blue); /* Same heading color as service cards */
}

#quoteForm input,
#quoteForm textarea {
  width: calc(100% - 28px); /* Adjust width for padding */
  padding: 14px;
  margin: 8px 0; /* Reduced top margin */
  border: 1px solid var(--medium-grey); /* Use a consistent border color */
  border-radius: 6px;
  background-color: var(--white); /* Light background for inputs */
  color: var(--background-dark); /* Dark text for better readability */
  font-size: 1rem;
}

#quoteForm textarea {
  min-height: 100px; /* Adjust height */
  resize: vertical;
}

#quoteForm input::placeholder,
#quoteForm textarea::placeholder {
  color: var(--medium-grey);
}

#quoteForm button {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 28px; /* Adjust padding */
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px; /* Adjust margin */
}

#quoteForm button:hover {
  background-color: #0088cc;
}

#quoteStatus {
  margin-top: 15px;
  font-size: 1rem;
  color: #28a745;
}

/* Footer */
.footer {
  background-color: #000;
  padding: 40px 20px; /* Increased vertical padding for the gallery style */
  color: var(--text-light);
  font-size: 0.95rem;
  display: grid; /* Use grid for gallery-like layout */
  grid-template-columns: auto 1fr; /* Two columns: left for "Join Us", right for other info */
  align-items: center; /* Vertically align items in each row */
  gap: 20px; /* Spacing between grid items */
}

.footer-join-us {
  text-align: left;
}

.footer-join-us h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.footer-join-us p {
  margin: 5px 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end; /* Align other footer links to the right */
  gap: 20px;
  flex-wrap: wrap; /* Allow links to wrap */
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Fade-in Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .services-list,
  .gallery-images,
  .quote-form-container { /* Apply to quote container as well */
    flex-direction: column;
    align-items: center;
  }}

  #quoteForm { /* Apply to the quote form */
    width: 90%; /* Adjust width for smaller screens */
    margin-left: auto;
    margin-right: auto;
  }

  .header {
    padding: 10px;}