/*
 * Merged and corrected CSS file.
 * All conflicting and duplicate declarations have been resolved.
 */

/* ========== Font Imports ========== */
/* ========== Font Imports ========== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=GFS+Neohellenic:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap'); 

/* ========== Variables ========== */
:root {
  --text: #c2d1c7;
  --background: #1c1f2b;
  --primary: #3b7f87;
  --secondary: #b7ae87;
  --accent: #BEA66F;
}

/* ========== Base Reset & Body Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
  /* padding-top: 100px; */ /* ❌ remove this */
}


body.contact main {
  padding: 0; /* Remove white padding */
  margin-top: 50px; /* same as header height */
}

body.home .hero {
  margin-top: 0;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #1C1F2B;
}

h1 { font-size: 4.210rem; }
h2 { font-size: 3.158rem; }
h3 { font-size: 2.369rem; }
h4 { font-size: 1.777rem; }
h5 { font-size: 1.333rem; }
small { font-size: 0.750rem; }

/* Use GFS Neohellenic selectively */
blockquote, .subheading, .quote-text {
  font-family: 'GFS Neohellenic', serif;
  font-size: 1.5rem; /* Make the text larger */
  font-weight: 400; /* Ensure it looks like body text, not a bold header */
  font-style: italic; /* Use italics for a classic quote look */
  margin: 1.5rem 0 0 0; /* Add space above it */
  padding-left: 15px; /* Indent the quote text */
  border-left: 4px solid var(--accent); /* Use your accent color for a left border */
  color: var(--text); /* Use your light text color */
}

/* ========== Header & Navigation ========== */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 40px;
  background: #1C1F2B; /* Using the background color from your variables */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  justify-self: start;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-container {
  justify-self: center;
}

.nav-container ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-container a {
  text-decoration: none;
  color: #fff; /* Changed to white for visibility on dark header */
  font-weight: 500;
  transition: color 0.3s;
}

.nav-container a:hover {
  color: var(--primary);
}

.contact-btn {
  justify-self: end;
}

.contact-btn a {
    background: var(--secondary);
    color: var(--background);
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    /* --- Added DM Sans font family --- */
    font-family: 'DM Sans', sans-serif; 
    font-weight: bold;
    transition: background 0.3s;
}

.contact-btn a:hover {
  background: var(--accent);
}

/* ========== Hero Section ========== */
/* .hero {
  position: relative;
  height: 100vh;
  background-image: url('images/black-car-image.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px;
  margin-top: 100px; 
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2; 
  color: white;
  max-width: 600px;
  padding: 2rem;

} */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px;
  margin-top: 100px; /* header height */
  overflow: hidden;
}

.hero-image,
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  z-index: 0;
  animation: fadeOut 3s forwards 2s; /* wait 2s then fade out */
}

.hero-video {
  z-index: -1; /* stays behind everything */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2; /* content above everything */
  color: white;
  max-width: 600px;
  padding: 2rem;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}


/* Animation */
.pop-text {
  opacity: 0;
  transform: translateY(30px);
}

.pop-text.animate {
  animation: popUp 0.6s ease-out forwards;
}

.pop-text.animate.delay-1 {
  animation-delay: 0.5s;
}

.pop-text.animate.delay-2 {
  animation-delay: 1s;
}

@keyframes popUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 0; /* Adjust padding to look good with the border */
  background: transparent; /* Makes the button background transparent */
  color: white; /* Changes the text color to white */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid white; /* Adds a solid white line at the bottom */
  transition: background 0.3s, border-color 0.3s;
}

/* Hover state remains important for user feedback */
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.1); /* Optional: Adds a subtle semi-transparent background on hover */
  border-color: var(--accent); /* Changes the line color on hover */
}

.hero-btn:hover {
  background: #3b3b3a;
}


/* ========== Icons Section ========== */
.icons-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  background: var(--background);
  gap: 2.5rem;
  text-align: center;
}

.icons-section h2 {
  font-weight: 400;
}

.icons-section p {
  color: var(--secondary);
}

.icons-container-text {
  max-width: 600px;
}

.icons-container-text h2 {
  color: var(--text);
}

.icons-section .icon-items-wrapper {
  display: flex;
  gap: 4rem;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}

.icon-item {
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-item .icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.icon-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: larger;
  color: var(--primary); /* Using a primary color for a better look */
}

.icon-item p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text); /* Using a text color variable */
}

.btn-services, .btn-contact-us {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 12px 28px;
  background-color: var(--accent);
  color: var(--background);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-contact-us{
  margin-right: auto;
}

.btn-services:hover, .btn-contact-us:hover {
  background-color: #d1bb72;
  color: var(--background);
}

/* ========== Feature Section ========== */
.feature-section {
  display: flex;
  gap: 4rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.feature-left {
  flex: 1;
}

.feature-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-left h2 span {
  color: var(--primary);
  font-weight: 400;
}

.feature-image img {
  width: 100%;
  max-width: 450px;
  margin-top: 2rem;
  border-radius: 8px;
  background: #becfc9;
}

.feature-right {
  flex: 1;
}

.intro-text {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 400px;
  color: #555;
}

.intro-text em {
  font-style: italic;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon {
  width: 36px;
  height: 36px;
  background-color: #ccc;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
}

.phone-icon::before { content: "📞"; }
.price-icon::before { content: "🏷️"; }
.location-icon::before { content: "📍"; }

.feature-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.feature-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.phone-group {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.phone-group select {
    flex: 0 0 100px; /* Adjust width as needed */
    padding: 1rem;
    border: none;
    background: #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    -webkit-appearance: none; /* Removes default dropdown arrow in Webkit browsers */
    -moz-appearance: none; /* Removes default dropdown arrow in Firefox */
    appearance: none; /* Removes default dropdown arrow */
    text-align: center;
}
/* ========== Navigation container ========== */

/* Mega Dropdown Base */
.nav-container .dropdown {
  position: relative;
}

.nav-container .mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background-color: #1c1f2b;
  padding: 2rem 4rem;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Show menu on hover */
.nav-container .dropdown:hover .mega-menu {
  display: block;
}

/* Heading */
.mega-menu h3 {
  font-family: 'Orbitron', sans-serif;
  color: #C2D1C7;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Links in a row */
.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column; /* This is the key change */
  gap: 1rem; /* A smaller gap is better for vertical lists */
  padding: 0;
  margin: 0;
}

.mega-links li a {
  color: #C2D1C7;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s;
}

.mega-links li a:hover {
  color: var(--accent); /* gold hover */
}

@media (max-width: 768px) {
  .mega-links {
    flex-direction: column;
    gap: 1rem;
  }
}
.contact-section {
  background: #1c1f2b;
  color: #c2d1c7;
  padding: 60px 40px;
}
.contact-section h2 {
  color: #c2d1c7;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Left info */
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-info a {
  color: #cde4ff;
  text-decoration: none;
}

/* Right with background image */
.contact-text {
  position: relative;
  background: url("images/contact_page.svg") no-repeat center center/cover;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}


.contact-text .overlay {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.contact-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-text p {
  font-size: 1rem;
}

/* Form (full width below) */
.contact-form {
  background: #1c1f2b;
  padding: 40px;
  border-radius: 10px;
}

.contact-form h3 {
  color: #c2d1c7;
  margin-bottom: 20px;
}

.contact-form form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  color: #cde4ff;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: #e0efe7;
  font-size: 1rem;
}

textarea {
  resize: none;
}

.submit-button {
  background: #fff;
  color: #333;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.submit-button:hover {
  background: #f2f2f2;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-text {
    min-height: 200px;
  }
}
/* --- Responsive Contact Form Fixes --- */
.phone-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

#country-code-list {
  flex: 0 0 90px;   /* fixed compact width */
  padding: 0.6rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #e0efe7;
  font-size: 1rem;
  text-align: center;
}

#phone-number {
  flex: 1;   /* takes rest of space */
  padding: 0.6rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #e0efe7;
  font-size: 1rem;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-intro {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .services-text {
    max-width: 100%;
  }
  .services-image img {
    width: 100%;
    max-width: 350px;
  }

   .sectors-intro {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .sectors-text {
    max-width: 100%;
  }
  .sectors-image img {
    width: 100%;
    max-width: 350px;
  }
}

/* For smaller devices */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 20px;
  }

  .phone-container {
    flex-direction: column; /* stack country code and number */
  }

  #country-code-list,
  #phone-number {
    flex: 1;
    max-width: 100%;
  }

  .services-intro {
    padding: 1.5rem;
  }
  .sectors-intro {
    padding: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr; /* stack services cards */
  }
}

/* Services Intro */
.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 6rem;
  background: white;
}

.services-text {
  max-width: 40%;
}

.services-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-text p {
  margin-bottom: 1.5rem;
  color: #333;
}

.sectors-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 6rem;
  background: white;
}

.sectors-text {
  max-width: 40%;
}

.sectors-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sectors-text p {
  margin-bottom: 1.5rem;
  color: #333;
}

.discover-btn {
  background: black;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.services-image img {
  width: 550px;
  border-radius: 8px;
}

/* Services Grid */
.services-grid {
  background: #131828;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.services-grid h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.services-image img {
  width: 550px;
  border-radius: 8px;
}

.sectors-grid {
  background: #131828;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.sectors-grid h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}
/* for sectors page to display 4 columns */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
}

@media (max-width: 1024px) {
  .sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sec-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #204246de;
  padding: 2rem;
  border-radius: 12px;
  max-width: 280px;
  text-align: center;
}

.card h3 {
  margin: 1rem 0;
  font-size: 16.72px;
  color: var(--accent);
}

.card p {
  font-size: 0.9rem;
  color: #cfcfcf;
}

/* Mission */
.mission {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text);
}

.mission h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.missions {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--text);
}

/* What We Do */
.what-we-do {
  padding: 3rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;

}

.what-we-do h2, h4 { 
  color: var(--text);
}

.what-we-do .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.what-we-do img {
  max-width: 400px;
  border-radius: 8px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.timeline h3 {

  font-size: 2rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  flex: 1;
  z-index: 2;
}

.timeline-image {
  flex: 0 0 120px;
  margin: 0 2rem;
}

.timeline-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eee;
}

/* ========= Icons =========== */


.services-grid .card i {
    font-size: 3rem; 
    display: block; 
    margin: 0 auto 0.75rem auto; 
    color: var(--text);
}

.services-grid .card {
    text-align: center; 
    padding: 20px;
}


.sectors-grid .card i {
    font-size: 3rem; 
    display: block; 
    margin: 0 auto 0.75rem auto; 
    color: var(--text);
}

.sectors-grid .card {
    text-align: center; 
    padding: 20px;
}


.icons-section .icon-item i {
    font-size: 3.5rem;
    color: var(--secondary);
    
    display: block;
    margin: 0 auto 1rem auto; 
    transition: color 0.3s ease-in-out;
}

.icons-section .icon-item {
    text-align: center;
    padding: 20px;
}

.icons-section .icon-item:hover i {
    color: #797359; 
}



/* ========== Main Content & Footer ========== */
main {
  padding: 2rem;
  background-color: var(--background);
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: fixed;
  width: 100%;
  bottom: 0;
}

/* Optional: Ensure content above footer */
main {
  margin-bottom: 80px;
}