:root {
  /* --- THEME: Corporate Blue & Clean White --- */
  --primary: #0056b3; /* Strong Corporate Blue */
  --primary-hover: #004494; /* Darker Blue */
  --secondary: #f4f7f6; /* Light Grey Blue Background */
  --dark: #1a1a1a; /* Text Black */
  --grey: #666666; /* Subtext */
  --white: #ffffff;
  --red-btn: #dc2626; /* Red for Quote Button */

  --font-body: "Roboto", sans-serif;
  --font-head: "Montserrat", sans-serif;
}

/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
ul {
  list-style: none;
}
.about-img img{
  width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.text-primary {
  color: var(--primary);
}
.text-center {
  text-align: center;
}
.section-padding {
  padding: 100px 0;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- BUTTONS --- */
.btn {
  padding: 15px 35px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  transition: 0.3s;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-red {
  background: #0056b3;
  color: white;
  border-radius: 6px;
  width: 100%;
}
.btn-red:hover {
  background: #b91c1c;
  transform: translateY(-3px);
}

/* --- HEADER & NAV --- */
.top-bar {
  background: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
  color: var(--grey);
}
.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info i {
  color: var(--primary);
  margin-right: 5px;
}
.top-info span {
  margin-right: 20px;
}
.socials a {
  color: var(--grey);
  margin-left: 10px;
}
.socials a:hover {
  color: var(--primary);
}

nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-menu a {
  
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-menu a:hover {
  color: var(--primary);
}
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  height: 85vh;
  min-height: 600px;
  background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
}
.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  font-weight: 300;
  opacity: 0.95;
}

/* --- PERFECT QUOTE SECTION (Like Screenshot) --- */
.quote-section {
  position: relative;
  margin-top: -100px; /* Moves it UP to overlap Hero */
  z-index: 20;
  padding-bottom: 80px;
}
.quote-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 40px;
  border-left: 5px solid var(--dark); /* The dark line on the left */
}
.quote-text {
  flex: 1;
  min-width: 250px;
}
.quote-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: capitalize;
}
.quote-text p {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-inputs {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  background: #fdfdfd;
}
.input-group input:focus,
.input-group select:focus {
  border-color: var(--primary);
}

/* The specific phone field with flag icon look */
.phone-field {
  position: relative;
}
.phone-field::before {
  content: "🇦🇺 +61";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #333;
  pointer-events: none;
  border-right: 1px solid #ddd;
  padding-right: 8px;
}
.phone-field input {
  padding-left: 80px;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img img {
  border-radius: 8px;
  box-shadow: 20px 20px 0 var(--primary);
}

/* --- SERVICES --- */
.services {
  background: var(--secondary);
}
.services-grid {
  display: grid;
  /* Reduced from 320px to 250px to fit small phone screens safely */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 30px;
}
.service-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary);
}
.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- WHY CHOOSE US --- */
.why-choose {
  background: white;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.why-box {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.3s;
}
.why-box:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.why-box i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- DARK CTA --- */
.dark-cta {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-attachment: fixed;
  padding: 100px 0;
  color: white;
  text-align: center;
}
.dark-cta h2 {
  color: white;
  font-size: 3rem;
}

/* --- PORTFOLIO --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.project-item {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.project-item:hover img {
  transform: scale(1.1);
}
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 30px;
  color: white;
}
.project-overlay h3 {
  color: white;
  margin-bottom: 5px;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}
.info-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-form-vertical input,
.contact-form-vertical textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* --- FOOTER --- */
footer {
  background: #111;
  color: #aaa;
  padding: 80px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  color: white;
  margin-bottom: 20px;
}
.footer-grid a {
  color: #aaa;
  font-size: 0.9rem;
}
.footer-grid a:hover {
  color: var(--primary);
}
.copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .quote-card {
    flex-direction: column;
    align-items: stretch;
    border-left: none;
    border-top: 5px solid var(--dark);
  }
  .quote-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .quote-card, 
  .service-card, 
  .contact-box {
    padding: 20px !important; 
  }
  .about-grid,
  .contact-grid,
  .portfolio-grid,
  .footer-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .quote-inputs {
    grid-template-columns: 1fr;
  } /* Stack inputs */
  .quote-section {
    margin-top: 0;
    padding-top: 60px;
  } /* Reset overlap on mobile */

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .top-bar {
    display: none;
  }
}

.logo img {
  max-width: 150px; /* Sets the maximum width */
  height: auto;     /* Allows the height to scale naturally */
  object-fit: contain; /* Ensures the image never stretches */
  display: block;
}
