@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}

.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/*navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease, padding 0.3s ease;
    margin-bottom: 20px;
}
.navbar.sticky{
    padding: 15px 0;
    background: #432616; 
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff; 
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: #432616;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: #432616;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}
/* Scroll-Up / Sticky Effect */
.navbar.scroll-up {
    background: #C19260; /* Brand accent */
    padding: 15px 0;
}


/* Navbar Dropdown Styling */
.menu {
    list-style-type: none;
    display: flex;
    align-items: center;
}

.menu li {
    position: relative;
    margin: 0 5px;
}

.menu a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    padding: 8px;
}

.dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #C19260 ; /* Dropdown Background */
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content li {
    border-bottom: none;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    color: #fff;
}

.dropdown-content a:hover {
    color: #003366;
    background-color: transparent; /* Hover color */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: #432616;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.section-title, .card-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    text-align: center;  /* Added to center the title */
  }

/* Service Intro Section */
.service-intro {
    padding: 60px 20px;
    padding-top: 140px;
    background: #C19260; /* Brand accent color */
    color: #fff; /* Use white text for contrast */
  }
  
  .service-intro .intro-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
  }
  
  .service-intro .description {
    flex: 1;
    font-size: 25px;
    color: #fff;
    padding-top: 80px;
  }
  
  .service-intro .description h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
  }
  
  .service-intro .contact-form {
    font-family: 'Ubuntu', sans-serif;
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #333;
  }
/* Responsive adjustments for screens up to 768px */
@media (max-width: 768px) {
  /* Increase service intro text sizes */
  .service-intro .description h1 {
    font-size: 52px;  /* Slightly larger heading */
  }
  .service-intro .description p {
    font-size: 22px;  /* Slightly larger paragraph text */
  }
  /* Enlarge the form for visual balance */
  .service-intro .contact-form {
    padding: 35px;
    max-width: 90%;
    margin: 20px auto;
  }
  .formspree-form input,
  .formspree-form textarea {
    font-size: 18px;
    padding: 14px;
  }
  .cta-btn {
    font-size: 18px;
    padding: 14px 24px;
  }
}

/* Further adjustments for very small screens (max-width: 400px) */
@media (max-width: 400px) {
  .service-intro .description h1 {
    font-size: 48px;
  }
  .service-intro .description p {
    font-size: 20px;
  }
  .service-intro .contact-form {
    padding: 30px;
    max-width: 95%;
  }
  .formspree-form input,
  .formspree-form textarea {
    font-size: 16px;
    padding: 12px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 20px;
  }
}
  
  .service-intro .contact-form h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
  }
  
  .service-intro .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .service-intro .contact-form input,
  .service-intro .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .cta-btn {
    background: #C19260;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .cta-btn:hover {
    background: #432616;
  }

  /* Our Services Section */
  .our-services {
    padding: 60px 20px;
    background: #fff;  /* white background */
    text-align: center;
  }
  .our-services .section-title {
    padding-top: 20px;
    position: relative;
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    color: #333;
  }
  .our-services .section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #C19260;
    transform: translateX(-50%);
  }
  .our-services .section-tagline {
    font-size: 18px;
    text-align: center;
    color: #777;
    margin-bottom: 40px;
  }
  .services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  .service-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 20px;
    width: calc(33.33% - 30px);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 350px; /* adjust as needed */
    text-align: left;
  }
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  /* When a service card gets the "animate" class, trigger the animation */
  .service-card.animate {
    animation: fadeInUp 0.6s ease-out forwards;
  }
  .service-card.active {
    background-color: #D1E4F2; /* color of background when clicked */
    transition: background-color 0.3s ease;
  }

  /* Card Header: Logo at top left */
.card-header {
    text-align: left;
    margin-bottom: 10px;
  }
  .card-header i{
    font-size: 50px;
    color: #C19260;
  }
  .card-logo {
    width: 50px;
    height: auto;
  }
  
  /* Card Name: Service name centered beneath the logo */
  .card-name {
    text-align: left;
    margin-top: 20px;
  }
  .card-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    text-align: left;
  }
  
  /* Card Details: Hidden by default, toggled via active class */
  .card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  /* When active, show the details */
  .service-card.active .card-details {
    max-height: 200px; /* Adjust based on content */
    opacity: 1;
    margin-top: 10px;
  }
  .service-card h3 {
    margin-bottom: 10px;
    color: #C19260;
    text-align: left;
  }
  .service-card p {
    font-size: 16px;
    color: #555;
    text-align: left;
  }
  
  /* Card Footer: "Learn More" button at bottom left */
  .card-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }
  .learn-more-btn {
    background: transparent;
    border: none;
    color: #C19260;
    font-size: 16px;
    cursor: pointer;
    outline: none;
  }
  /* On smaller screens, let the footer be in normal flow to avoid overlap */
@media (max-width: 768px) {
  .card-footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 10px;
    text-align: center;
  }
}
  
  
  /* Benefits Section */
  .benefits {
    padding: 60px 20px;
    background: #f4f4f4;  /* Gray background */
    text-align: center;
  }
  .benefits .section-title {
    padding-top: 20px;
    position: relative;
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    color: #333;
  }
  .benefits .section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #C19260;
    transform: translateX(-50%);
  }
  .benefits .section-tagline {
    font-size: 18px;
    text-align: center;
    color: #777;
    margin-bottom: 40px;
  }
  .benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  .benefit-item {
    flex: 0 1 calc(50% - 50px);
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
  }
  .benefit-icon {
    width: 36px;      /* Adjust size as needed */
    height: auto;
    color: #C19260;
    margin-bottom: 10px; /* Creates space between the image and the heading */
    margin-left: auto;
    margin-right: auto;
  }
  .benefit-item i {
    font-size: 36px;
    color: #C19260;
    margin-bottom: 10px;
  }
  .benefit-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
  }
  .benefit-item p {
    font-size: 16px;
    color: #555;
  }
  .benefits .benefits-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Responsive adjustments for Benefits */
@media (max-width: 768px) {
  .benefits .benefits-list {
    flex-direction: column;
    align-items: center;
  }
  .benefit-item {
    width: 90%;
    margin: 10px auto;
  }
}
@media (max-width: 400px) {
  .benefit-item h3 {
    font-size: 18px;
  }
  .benefit-item p {
    font-size: 14px;
  }
}
  
  .process {
    padding: 60px 20px;
    background: #fff;  /* white background */
    text-align: center;
    margin-bottom: 100px;
  }
  .process .section-title {
    padding-top: 20px;
    position: relative;
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    color: #333;
  }
  .process .section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #C19260;
    transform: translateX(-50%);
  }
  .process .section-tagline {
    font-size: 18px;
    text-align: center;
    color: #777;
    margin-bottom: 40px;
  }
  /* Responsive adjustments for Process */
@media (max-width: 768px) {
  /* Stack timeline items vertically */
  .process .timeline-item {
    width: 100%;
    padding: 10px 20px;
    text-align: left;
  }
  .process .timeline-item.left,
  .process .timeline-item.right {
    left: 0;
  }
  .process .timeline::after {
    left: 20px;
  }
  .process .timeline-item::after {
    left: 20px;
  }
}
@media (max-width: 400px) {
  .process .timeline-content h3 {
    font-size: 18px;
  }
  .process .timeline-content p {
    font-size: 14px;
  }
  .process .timeline-item {
    padding: 10px 15px;
  }
}

  .timeline {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    padding: 20px 0;
  }
  
  /* The vertical line in the middle */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #C19260;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Timeline item container */
  .timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
  }
  
  /* Left side items */
  .timeline-item.left {
    left: 0;
    text-align: right;
  }
  
  /* Right side items */
  .timeline-item.right {
    left: 50%;
    text-align: left;
  }
  
  /* Circles for timeline points */
  .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 15px;
    background-color: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 1;
  }
  
  .timeline-item.left::after {
    right: -10px;
  }
  
  .timeline-item.right::after {
    left: -10px;
  }
  
  /* Timeline content box */
  .timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Step icon styling */
  .timeline-content .step-icon {
    margin-bottom: 10px;
  }
  
  .timeline-content .step-icon img {
    width: 50px; /* Adjust icon size as needed */
    height: auto;
  }
  
  /* Heading styling for each step */
  .timeline-content h3 {
    margin: 10px 0;
    color: #C19260;
    font-size: 20px;
  }
  
  /* Paragraph styling for each step */
  .timeline-content p {
    color: #555;
    font-size: 16px;
  }

  /* Add animation base styles for timeline items */
.timeline-item {
  opacity: 0;
  transition: all 0.6s ease-out;
}

/* Initial state: items slide out from their side */
.timeline-item.left {
  transform: translateX(-50px);
}
.timeline-item.right {
  transform: translateX(50px);
}

/* When an item comes into view */
.timeline-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Optionally, add a staggered effect using nth-child selectors */
/* This example delays items based on their order in the timeline */
.timeline-item:nth-child(1) {
  transition-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  transition-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  transition-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  transition-delay: 0.4s;
}

/* Timeline item for the full-width, centered button */
.timeline-item.full-width {
  width: 100%;
  text-align: center;
  padding: 20px 30px;
  margin-top: 20px;
  left: 0; /* Ensure it spans full width */
  box-sizing: border-box;
  position: relative; /* NEWWWW ADD-ON */
}

/* Remove the circle marker for the full-width item */
.timeline-item.full-width::after {
  display: none;
}

/* Quote Content: Position the button at the very end of the timeline line */
.quote-content {
  position: absolute;
  bottom: -60px;  /* Adjust this value to add space between the rod's end and the button */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Request a Quote Button Styling (similar to Buzzclan) */
.quote-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #C19260;
  color: #C19260;
  border-radius: 30px;
  transition: background 0.3s ease, color 0.3s ease;
}

.quote-btn:hover {
  background: #C19260;
  color: #fff;
}

  /* Contact Us Section*/

  .contact .right form .fields{
    display: flex;
    flex-direction: column;  /* used to change configuration between rows and columns */
}
.contact .right form .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}

.formspree-form {
width: 100%;
max-width: 500px;
margin: 0 auto;
}

.formspree-form .form-group {
margin-bottom: 15px;
text-align: left;
}

.formspree-form label {
display: block;
font-size: 16px;
margin-bottom: 5px;
color: #333;
}

.formspree-form input,
.formspree-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}

.formspree-form textarea {
resize: none;
height: 120px;
}

.cta-btn {
background: #C19260;
color: #fff;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background 0.3s ease;
}

.cta-btn:hover {
background: #432616;
}
/* Responsive adjustments for forms */
@media (max-width: 768px) {
  .formspree-form {
    width: 90%;
  }
  .formspree-form input,
  .formspree-form textarea {
    font-size: 15px;
    padding: 8px;
  }
}
@media (max-width: 400px) {
  .formspree-form input,
  .formspree-form textarea {
    font-size: 14px;
    padding: 6px;
  }
  .cta-btn {
    font-size: 14px;
    padding: 10px 16px;
  }
}
 

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .intro-content {
      flex-direction: column;
    }
  }
/* Responsive adjustments: On small screens, stack items vertically */
@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left;
  }
  
  .timeline-item.left, 
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item::after {
    left: 60px;
  }
  
  .timeline::after {
    left: 30px;
  }
}

  /* Responsive adjustments for service cards */
@media (max-width: 992px) {
  .service-card {
    width: calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .service-card {
    width: 100%;
  }
}

@media (max-width: 947px){
  .menu-btn{
      display: block;
      z-index: 999;
  }
  .navbar .menu{
      display: none;
      position: fixed;
      height: 100vh;
      width: 100%;
      left: -100%;
      top: 0;
      background: #111;
      text-align: center;
      padding-top: 80px;
      transition: all 0.3s ease;
  }
  .navbar .menu.active{
      display: block;
      left: 0;
  }
  .navbar .menu li{
      display: block;
  }
  .navbar .menu li a{
      margin: 20px 0;
      font-size: 25px;
  }
}

/* Responsive Adjustments for screens up to 768px */
@media (max-width: 768px) {
/* Service Intro adjustments */
.service-intro {
  padding-top: 80px;
}
.service-intro .intro-content {
  flex-direction: column;
  align-items: center;
}
.service-intro .description h1 {
  font-size: 32px;
}
.service-intro .description {
  font-size: 18px;
  padding-top: 40px;
  text-align: center;
}
.service-intro .description p {
  font-size: 16px;
}
.service-intro .contact-form {
  padding: 20px;
  margin-top: 20px;
  width: 90%;
}

/* Our Services Section adjustments */
.our-services .section-title {
  font-size: 28px;
}
.our-services .services-list {
  flex-direction: column;
  align-items: center;
}
.our-services .service-card {
  width: 90%;
  margin-bottom: 20px;
  min-height: auto;
}
.learn-more-btn {
  font-size: 16px;
  padding: 10px 20px;
}
}

/* Further adjustments for very small screens (max-width: 400px) */
@media (max-width: 400px) {
.service-intro .description h1 {
  font-size: 28px;
}
.service-intro .description, 
.service-intro .description p {
  font-size: 14px;
}
.our-services .section-title {
  font-size: 24px;
}
.our-services .service-card {
  width: 95%;
  margin: 10px 0;
}
.learn-more-btn {
  font-size: 14px;
  padding: 8px 16px;
}
}
  
/* footer section styling */

footer{
    background: #111;
    padding: 20px 23px;
    color: #fff;
    font-size: 20px;
    text-align: center;

}