* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* color: rgb(152, 9, 9); */
  /* color: #f0a500; */
    overflow-x: hidden;
  width: 100%;
}
/* Make sure images / media are not overflowing */
img, video, iframe {
  max-width: 100%;
  height: auto;
}


/*=== topbar ===*/
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;  
  width: 100%;
}


/*... header ...*/
/*=== topbar header's logo ===*/
.header {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 12px 200px 15px 70px;
  background-color: #f0a500;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .logo button{
  border: none;
}
.header .logo h2 {
  margin: 0;
  font-size: 1.8rem;
  color:rgb(152, 9, 9);
  background:#f0a500 ;
}
/*== topbar contact's contact ==*/
.header .contact {
  display: flex;
  align-items: center;
  gap:25px; /* space between items */
  list-style: none; /* if you are using li directly, remove bullets */
  margin: 0;
  padding: 0;
}
.header .contact li a {
  text-decoration: none;
  padding: 6px 12px;
}
.header .contact .signin{
    display: flex;
    flex-direction: row;
    gap:5px;
    width: 150px;
}
.header .contact .signin img{
    margin-top: 15px;
    width: 30px;
    height: 30px;
}
.header .contact .signin a{
    color: rgb(152, 9, 9);
    font-weight: bold;
}
.header .contact li a:hover {
    color: black;
}
/* "Contact Us" button */
.header .contact li.sign button {
  background:rgb(152, 9, 9);
  color:#f0a500;
  border: none;
  padding: 8px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.header .contact li.sign button:hover {
  transform: scale(1.2);
}


/* Hamburger button styling */
.hamburger {
  display: none;
  font-size:2.5rem;
  color:rgb(152, 9, 9);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

/* ... header's media query ... */
@media (max-width:768px) {
    html, body {
        overflow-x: hidden;
    }
    .header .logo{
        display: flex;
        flex-direction: column;
        margin-left:-10px;
    }
    .header .logo h2{
        font-size: 1.5rem;
    }
    .header .contact {
        flex-direction: column;
        gap: 20px;
        margin-left: 40px;
    }
    .header .contact .signin img{
        margin-top: 10px;
    }
    .header .contact li a,
    .header .contact li.sign button {
        font-size: 0.8rem;
    }
    .header .contact li.sign button {
        padding: 6px 12px;
        margin-left: -42px;
    }
    /* Optional: adjust any padding / margin that might push things out */
    .header {
        padding-left: 20px;
        padding-right: 20px;
    }
    .navBar .navLinks {
        padding-left: 0;  /* instead of 220px */
    }
    .hamburger{
        display: block;
        margin-left:-12px;
    }
}



/*=== navbar ===*/
.navBar {
  display: block;
  background-color:rgb(152, 9, 9) ;
  /* background-color: orangered; */
  height: 80px;
  border-top: 1px solid white;
  padding: 10px;
}
.navBar .navLinks {
  margin: 0 auto;
  padding-left: 220px;
}
.navBar .linkRight {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
}

/*=== topbar navbar's Dropdown menu ===*/
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5);
}
.dropdown-menu li a {
  display: block;
  color:black;
  margin-top:-22px;
  font-size:1rem;
}

.linkRight li {
  position: relative;
}
.linkRight li a {
  text-decoration: none;
  font-size: 1.03rem;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s, color 0.3s;
}
.linkRight li a:hover {
  /* color:#555; */
  color: #f0a500;
}
.linkRight li.sign button {
  background: red;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  box-sizing: border-box;
    /* Pulse animation */
  animation: pulse-btn 2s ease-in-out infinite;
}
/* @keyframes for pulse */
@keyframes pulse-btn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Mobile / small-screen styles */
@media (max-width:768px) {
  .header{
    height: 150px;
  }
  .navBar {
    display: none;
    width: 100%;
  }
  .navBar.active {
    display: block;
    background:rgb(152, 9, 9);
    height: 60vh;
  }
  .navBar .navLinks {
    padding: 1rem;
  }
  .navBar .linkRight {
    flex-direction: column;
    gap: 0;
  }
  .linkRight li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }
  .linkRight li a {
    display: block;
    width: 100%;
    color: #f0a500;
    padding: 0.75rem 1rem;
    background: transparent;
  }
  
  /* Allow scrolling if list is long */
  .navBar.active .linkRight {
    overflow-y: auto;
    max-height: 80vh;
    padding-bottom: 100px; /* space for button visibility */
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
  }
  .dropdown-menu li a {
    color:white;
    padding-left: 2rem;
  }

}



span{
  color: black;
}




.hero-buyers-guide {
  background:rgb(250, 250, 250);
  color: white;
  text-align: center;
  padding: 100px 20px;

  /* Animation on load */
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buyers-guide .hero-content {
  max-width: 600px;
  margin: auto;
}

.hero-buyers-guide h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 0.3s;
  color: orangered;
}

.hero-buyers-guide p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 0.6s;
  color: #555;
}

.hero-buyers-guide .cta-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  background: orangered;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;

  opacity: 0;
  transform: translateY(20px);
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 0.9s;
}

.hero-buyers-guide .cta-btn:hover {
  background: black;
  transform: translateY(-3px);
}

@keyframes textSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive — for screens ≤ 768px */
@media only screen and (max-width: 768px) {
  .hero-buyers-guide {
    padding: 60px 15px;
  }

  .hero-buyers-guide h1 {
    font-size: 2rem;
  }

  .hero-buyers-guide p {
    font-size: 1rem;
  }

  .hero-buyers-guide .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}









.tco-section {
  /* max-width: 900px; */
  margin: 60px auto;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* Fade-in + slide-up animation on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInTCO 0.8s ease-out forwards;
}

@keyframes fadeInTCO {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tco-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color:orangered;
}

.tco-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.tco-box {
  background: orangered;
  padding: 20px;
  border-radius: 6px;

  /* Fade-in for each box, staggered slightly */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBox 0.8s ease-out forwards;
}

.tco-box:nth-child(1) { animation-delay: 0.3s; }
.tco-box:nth-child(2) { animation-delay: 0.5s; }
.tco-box:nth-child(3) { animation-delay: 0.7s; }

@keyframes fadeInBox {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Pulse animation */
@keyframes pulse {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(0) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}


.tco-box h3 {
  margin-top: 0;
  color:white;
  font-size: 1.3rem;
  margin-left: 30px;
  opacity: 0;
  transform: translateY(10px);
  animation:  pulse 2s infinite ease-in-out;
}

.tco-box p,
.tco-box li {
  margin: 8px 0;
  color:white;
  line-height: 1.5;
}

.tco-box ul {
  padding-left: 20px;
  list-style: disc;
}
.tco-box ul li{
  list-style: none;
}

.tco-advice {
  background:#555;
  padding: 20px;
  border-radius: 6px;

  /* Fade-in for advice too */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBox 0.8s ease-out forwards;
  animation-delay: 1s;
}

.tco-advice h3 {
  margin-top: 0;
  color:white;
  text-decoration: underline;
}

.tco-advice p {
  margin: 10px 0;
  color:white;
  line-height: 1.6;
}

/* Responsive for <= 768px */
@media only screen and (max-width: 768px) {
  .tco-section {
    padding: 20px 15px;
  }

  .tco-section h2 {
    font-size: 1.6rem;
  }

  .tco-container {
    grid-template-columns: 1fr;
  }

  .tco-box {
    padding: 15px;
  }

  .tco-box h3 {
    font-size: 1.2rem;
    /* margin-left: 80px; */
  }

  .tco-box p,
  .tco-box li,
  .tco-advice p {
    font-size: 0.95rem;
    margin-left: 60px;
  }

  .tco-advice {
    padding: 15px;
  }
}








.decision-section {
  /* max-width: 900px; */
  margin: 60px auto;
  padding: 30px 20px;
  background: orangered;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  /* Fade-in animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInDecision 0.8s ease-out forwards;
}

@keyframes fadeInDecision {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.decision-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: white;
  font-size: 2rem;
}

.decision-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.decision-block {
  /* background: #f9f9f9; */
  padding: 20px;
  border-radius: 6px;
}

.decision-block h3 {
  margin-top: 0;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px ;
  text-decoration: underline;
}

.decision-block ul {
  padding-left: 20px;
}

.decision-block ul li {
  margin-bottom: 8px;
  color: white;
  line-height: 1.45;
}

.decision-block p {
  color: white;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Media query for <= 768px */
@media only screen and (max-width: 768px) {
  .decision-section {
    padding: 20px 15px;
  }

  .decision-section h2 {
    font-size: 1.6rem;
  }

  .decision-content {
    grid-template-columns: 1fr;
  }

  .decision-block {
    padding: 15px;
  }

  .decision-block h3 {
    font-size: 1.2rem;
  }

  .decision-block ul li,
  .decision-block p {
    font-size: 0.95rem;
  }
}














.inspection-section {
  /* max-width: 900px; */
  margin: 60px auto;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  /* Fade-in + slide-up on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInInspect 0.8s ease-out forwards;
}

@keyframes fadeInInspect {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inspection-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 2rem;
}

.inspection-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* .inspection-section .inspection-content .inspection-block:nth-child(1){
  background-color: red;
} */
.inspection-section .inspection-content .inspection-block:nth-child(2){
  background-color: orangered;
}
.inspection-section .inspection-content .inspection-block:nth-child(2) h3{
  color: black;
}

.inspection-block {
  background:#555;
  padding: 20px;
  border-radius: 6px;

  /* Slight fade-in for each block */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBlock 0.8s ease-out forwards;
}

.inspection-block:nth-child(1) { animation-delay: 0.3s; }
.inspection-block:nth-child(2) { animation-delay: 0.5s; }
.inspection-block:nth-child(3) { animation-delay: 0.7s; }

@keyframes fadeInBlock {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inspection-block h3 {
  margin-top: 0;
  color: rgb(239, 162, 19);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.inspection-block ul {
  list-style: disc;
  padding-left: 20px;
  
  color:white;
  line-height: 1.5;
}

.inspection-block ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  margin-left: 10px;
}

/* Media Query for <= 768px */
@media only screen and (max-width: 768px) {
  .inspection-section {
    padding: 20px 15px;
  }

  .inspection-section h2 {
    font-size: 1.6rem;
  }

  .inspection-content {
    grid-template-columns: 1fr;
  }

  .inspection-block {
    padding: 15px;
  }

  .inspection-block h3 {
    font-size: 1.1rem;
  }

  .inspection-block ul li {
    font-size: 0.9rem;
  }
}

























/* Base reset for footer */
.auto-footer {
  position: relative;
  background:rgb(152, 9, 9);
  /* background: orangered; */
  color: #eee;
  padding-top: 30px; 
  font-family: sans-serif;
  overflow: hidden;
}

.auto-footer .logo{
  display: flex;
  flex-direction: row;
  margin-left: 550px;
  margin-bottom: 30px;
}
.auto-footer .logo button{
  border: none;
  background-color: rgb(152, 9, 9);
}
.auto-footer .logo button h2{
  font-size: 2.5rem;
  color: white;
}

/* Footer content */
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1500px;
  margin: auto;
}


.footer-col {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-col h4 {
  margin-bottom: 10px;
  color: #f0a500;
  /* color: #555; */
  text-shadow: 2px 2px 2px;
  font-size: 1.5rem;

  /* Pulse animation */
  animation: pulse 2s infinite ease-in-out;
  transform-origin: center center;
}
/* Define the pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.footer-content .services{
    padding-left: 100px;
}


.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #f0a500;
  text-decoration: underline;
}


.social-links {
    margin-top: 30px;
}
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  margin: 0 10px;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
/* Social-links hover animation */
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  /* Animation */
  animation: pulse 2s infinite ease-in-out;
  display: inline-block; /* ensures transform works correctly */
  will-change: transform, opacity; /* helps performance */
}
/* Pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes content-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer bottom */
.footer-bottom {
  padding: 15px 100px;
  margin-left: 550px;
  margin-bottom: 20px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
}




/* Responsive for small screens (<= 450px) */
@media (max-width:768px) {
  .auto-footer .logo {
    /* For smaller screens, you probably don't want huge left margin */
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* adjust as needed */
  }

  .auto-footer .logo button {
    width: 100%; /* make button full width or adjust */
    padding: 10px; /* optional padding */
    /* you can change background, border or other styles if needed */
  }

  .auto-footer .logo button h2 {
    font-size: 1.8rem; /* smaller font for smaller screen */
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .footer-col {
    margin: 5px 0;
    text-align: center;
  }
  .footer-content .services{
    padding-left: 2px;
    /* margin-bottom: 30px; */
    /* padding-top: -40px; */
    padding-bottom: 40px;
  }
  .footer-col p, .footer-col ul li a {
    font-size: 12px;
  }
  .footer-bottom {
    margin-left: 2px;
  }
  .social-links{
    margin-left:-1px;
  }
  .social-links img{
    /* width: 25px; */
    margin-top: 25px;
    margin-bottom: 15px;
  }
}
