@font-face {    
    src: url(https://fonts.googleapis.com/css2?family=Alata&display=swap);
    font-family:'Alata', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    
}

body, html {
    font-family: 'Alata', sans-serif;
    background: #E8E8E7;
    
       
}

.logo {
    flex: 1;
    display: flex;
}


.logo img {
    width: 250px;
}

nav .logo img {
    width: 250px;
}

nav {
    position: fixed;
    top:0;
    z-index: 9999;
    width: 100%;    
     background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(98,71,71,0.7));
    display: flex;
    align-items: center;      
    transition: all 0.4s ease;
        
}
nav.scrolled {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(98,71,71,0.9)); /* less transparent */
    padding: 10px 20px; /* shrink effect */
}
nav a {
    color: #FFFFFF;
   
}

.menu {
    display: flex;
    align-items: center;
    padding: 15px 10px;
}

.menu li {
    padding: 15px 10px;
    font-size: 16px;
}

.toggle {
    font-size: 30px;
    display: none;
}


nav  li a {
    
    display:block;
    margin: 0 15px;
    margin-top: 5px;
    padding: 10px 20px;
    transition: 0.2s;
    border-radius: 30px;
    text-decoration: none;    
    font-weight: bold;
}

.navbar-action {    
    font-size: 15px;
    background-color: #FFFFFF;
    color: #463333;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    width: auto;
    margin-left: 100px;
  }

nav ul li a:hover {
    color: #806262;
}

.navbar-action:hover {
    background-color: #806262;
    color:#463333 ;
}

nav ul li a.active {
    color: #bdbdbd;
}

/*child section*/

.background-image {
    position: absolute;
    width: 100%;
    height: 47vh; /* Make sure this is full screen height */
    align-items: stretch;
    align-self: stretch;
    display:block;
    }

    .child-content {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 120px;
        width: 100%;
        color: white;
        z-index: 1;
        padding: 25px 100px;    
        
    }

    .child-heading {
        font-size: 2.0em;
        margin-right: 250px;
         /* Adjusted for better visibility */
    }

    .child-text {
        font-size: 1.0em;
        margin-bottom: 2em;
        margin-right: 850px; /* A bit of space after paragraph */
    }

    .contact-button {
        background-color: white;
        color: #463333;
        padding: 10px 20px;
        text-decoration: none;
        border: none;
        border-radius: 5px;
        font-weight: bold;
        display: block; /* Makes each button appear on a new line */
        margin-top: 5px;
        width: fit-content;
        font-size: 1.0em;
        margin-right: 810px;
    }

    .contact-button a:hover {
        background-color: rgba(255, 255, 255, 0.678);
    }

    .form-container {
        display: flex;
        flex-direction: row; /* Changed from row to column */
        justify-content: center;
        align-items: center;
        background: white;
        padding: 35px;
        width: 80%;
        border-radius: 10px;
        position:relative;
        left: 10%;
        top: 43vh;
         
    }
    
    .form-introduction h2 {
        color: #463333;
        font-size: 1.5em;
        font-weight: 600;
        margin: 0; /* Removed position and height */
    }
    
    .form-introduction h3 {
        color: #DAB36A;
        font-weight: 600;
        font-size: 1.0em;
        margin: 0; /* Added to remove default margin */
    }
    
    .form-element {
        display: flex;
        flex-direction: row;
        gap: 5px auto;
        margin-top: 15px;
        }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        flex-grow: 1; /* Allow inputs to grow and fill available space */
        background-color: #c0bdb838;
        border: 1px solid #ccc;   
        margin-left: 20px;
        margin-right: 10px;
        /* Increased padding for better visual */
    }
    
    form button[type="submitt"] {
        padding: 7px 30px;
        background-color: #463333;
        color: white;    
        border: none;
        font-size: 1em; /* Adjusted for better visual */
        cursor: pointer; /* Added for better UX */
        margin-left: 20px;
        border-radius: 5%;
    }

    form button[type="submitt"]:hover {
        background-color: #4633337d;
        transition: 0.2s;
    }

    .company-section {
        position: relative;
        top: 44vh;
        font-size: 1.2em;
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center; /* Center children */
        align-items: flex-start;
        margin: 50px auto; /* Reduced margin */
        max-width: 1200px; /* More reasonable max-width */
    }
    
    .company-description {
        position: relative;
        right: 2%;
        flex: 1;
        padding: 20px;
        box-sizing: border-box;
        margin: 0 80px; /* Consistent margin around elements */
        
    }
    
    .company-description h2 {
        color: #463333;
    }
    
    .company-description h3 {
        color: #FDB422;
        }
    
    .company-description p, .company-description ul {
        text-align: justify; /* Aligned text to the left, not justified */
        color: #0a0a0a;
    }
    
    .company-description ul {
        list-style: none;
        position: relative;
        right: 3%;
        padding: 0; /* Remove default padding */
        font-weight: 700;
        color: #545351;
    }
    
    .company-description li {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }
    
    
    li {
        margin-bottom: 10px; /* Adds space between list items */
        
    }
    img {
        vertical-align: middle; /* Aligns the image vertically in the middle */
        margin-right: 0px; /* Adds some space between the image and the text */
    }
    
    .company-images {
        position: relative;
        flex: 1;
        top: 2vh;
        min-width: 300px; /* Minimum width */
        max-width: 800px; /* Maximum width for images */
        margin: 0 60px; /* Consistent margin around elements */
    }
    
    .company-images img {
        width: 100%;
        height: auto;
        border-radius: 10%;
        }
    
    .image-top {
        position: absolute;
        top:95%;
        left: 80%;
        transform: translate(-50%, 0); /* Adjust translation to only X-axis */
        max-width: 83%; /* Smaller width to avoid overlapping */
        border-radius: 50%;
    }
    
    
    
    .button {
        display: inline-block;
        padding: 10px 20px;
        background-color: #FFA500;
        color: white;
        text-align: center;
        text-decoration: none;
        margin-top: 20px;
        border-radius: 5%;
    }

    .button:hover {
        background-color: #ffa6006d;
        transition: 0.2s;
    }

    .separator {
        border-style: solid;
        border-width: 2px;
        border-color: #84817ab7;
        margin-top: 64vh;
        margin-left: 25vh;
        max-width: 60%;
    }

    .container1234 {
    
        display: flex;
        flex-direction: row;
        justify-content: center; /* Center children */
        align-items: center;
        font-weight: 999;
        padding: 20px;
        font-size: 1.2em;
    }
    
    .container1 {
        display:flex;
        background-color: #000000;
        color: white;
        margin-top: 40px;
        margin-left: 290px;
        min-width: 270px;
        height: 150px;
        font-size: 1.5em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        
    
    }
    
    .container2 {
        display:flex;
        background-color: white;
        color: black;
        margin-top: 40px;
        margin-right: 40px;  
        margin-left: 40px;  
        min-width: 270px;
        height: 150px;
        font-size: 1.5em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
    }
    
    .container3 {
        display:flex;
        background-color: #605E56;
        color: white;
        margin-top: 40px;
        margin-right: 40px;
        min-width: 270px;
        height: 150px;
        font-size: 1.5em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
    }
    
    .container4 {
        display:flex;
        background-color: #463333;
        color: white;
        margin-top: 40px;
        margin-right: 270px;
        min-width: 270px;
        height: 150px;
        font-size: 1.5em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
    }

    .offer-container {
        position: relative;
        font-size: 1.2em;
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center; /* Center children */
        align-items: flex-start;
        margin: 30px auto; /* Reduced margin */
        margin-bottom: -20px;
        max-width: 1200px; /* More reasonable max-width */
    }
    
    .offer-text {
        position: relative;
        right: 5%;
        flex: 1;
        padding: 20px;
        box-sizing: border-box;
        margin: 0 80px; /* Consistent margin around elements */
    }
    
    .offer-text ul {
        position: relative;
        right: 6%;
        width: 100%;
        top: 7px;
        list-style: none;
    }
    
    .offer-text li {
        display: flex;
        align-items: flex-start;
        margin: 10px; 
    }
    
    .offer-text h2 {   
        position: relative;
        margin: 0px;
        color: #FDB422;
        font-size: 2em;
    }
    
    .offer-text h3 {    
        color: #463333;
    }
    
    .offer-image {
        position: relative;
        left: 3%;
        flex: 1;
        min-width: 300px; /* Minimum width */
        max-width: 450px; /* Maximum width for images */
        margin: 0 60px; /* Consistent margin around elements */
        }
    
    .offer-image img {
        width: 75%;
        border-radius: 5%;
        opacity: 88%;
    }

   .footer-container {
    background: linear-gradient(to right, #000000, #624747);
    color: white;
    font-size: 0.8em;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    top: 70px;

   }

   .whole-thing {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Add some space between elements */
    width: 100%; 
    position: relative;
    justify-content: center;
    top: -20px;
  }

    .footer-section {
      position: relative;
      left: 200px;
      top: -35px;
      flex-basis: 5%; /* Adjust as necessary */
      min-width: 150px; /* Prevents the sections from becoming too narrow on small screens */
    }
  
    .footer-section h3 { /* Corrected class selector */
      color: #F8D210; /* Gold color for headings */
      position: relative;
      top: 70px;
      right: 70%;
      width: 100%;
       
    }
  
    .footer-links h3 { /* Corrected class selector */
      color: #F8D210; /* Gold color for headings */
      position: relative;
      left: 35%;
      top: 70px;
    }
  
    .footer-services h3 { /* Corrected class selector */
      color: #F8D210; /* Gold color for headings */
      position: relative;
      left: 70%;
      top: 70px;
    }
  
    .footer-contact h3 { /* Corrected class selector */
      color: #F8D210; /* Gold color for headings */
      position: relative;
      left: 150%;
      justify-content: center; /* Center the images within the container */
      top: 70px;
    }
  
     .footer-links a {
      position: relative;
      left: 35%;
      color: white;
      text-decoration: none;
      display: block; /* To list down links */
      margin-bottom: 5px;
      top: 70px;
     
    }
  
  .footer-section p {
      color: white;
      text-decoration: none;
      display: block; /* To list down links */
      margin-bottom: 5px;
      text-align: justify;
      position: relative;
      right: 70%;
      width: 100%;
      top: 90px;
  }
  
    .footer-section a {
      color: white;
      text-decoration: none;
      display: block; /* To list down links */
      margin-bottom: 5px;
      text-align: justify;
      top: 90px;
  }
  
  .footer-services a  {
    position: relative;
      left: 70%;
      color: white;
      text-decoration: none;
      display: block; /* To list down links */
      margin-bottom: 5px;
      text-align: left;
  }
  
  
    .footer-links a:hover, .footer-services a:hover {
      text-decoration: underline;
    }
  
.logo-footer img {
        position: relative;
        align-items:left;
        left: 450px;
        top: 30px;
        max-width: 200px; /* Prevents the sections from becoming too narrow on small screens */
        
            }
        
    .contact-icons img {
        position: relative;
        right: 0px;
        top: 200px;
        gap: 10px; 
        width: 730px;
        
    }
   
    .footer-contact p {
      text-align: justify;
      margin-bottom: 20px;
      position: relative;
      left: 150%;
      justify-content: center
    }
  
    .credit {
        background: linear-gradient(to right, #000000, #2e2121);
        text-align: center;
        align-content: center;
        position: relative;
        width: 100%;
        height: 3vh;
        top: 50px;
      
    }

.credit p {
    color: white;
    opacity: 0.7;
}
  
    .designed {
    position: relative;
    justify-content: center;
    align-items: center;
    opacity: 0.7;    
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 0px
    }


@media screen and (max-width: 1300px) {
    nav{
        display: block;
        position: relative;
        padding: 15px 20px;
       background: linear-gradient(
      to right,
      rgba(0,0,0),
      rgba(98,71,71)
    ); /* solid/semi-solid for readability */
    box-shadow: none;
    
    }

    .menu{
        margin-top: 15px;
        display: none;
        
    }

    .menu.active, .toggle {
        display: block;        
    }

    .toggle {
        position: absolute;
        top:15px;
        right: 20px;
    }

    .toggle:hover {
        background-color: #DAB36A;
        border-radius: 5px;
        transition: 0.5s;
    }

    .navbar-action {
        margin-top: 15px;
        flex: 1;
     
    }

    a.navbar-action {
       width:fit-content;
       right: 73px ;
       position: relative;
}
    .child-content {
        font-size: 1.2em;
        width: 100%; 
    }

    .child-text {
        text-align: left;
        align-items: left;
    }

    .background-image {
        width: 100%;
        min-height: 25vh;
        }

    .form-container {
        display: flex;
        flex-direction: column; /* Changed from row to column */
        justify-content: center;
        align-items: center;
        background: white;
        padding: 35px;
        width: 100%;
        border-radius: 10px;
        position:relative;
        left: 0%;
        top: 45vh;    
        }

  .company-section {
        position: relative;
        top: 40vh;
        font-size: 1.2em;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center children */
        align-items: flex-start;
        max-width: 100%; /* More reasonable max-width */
        }

    .child-heading {
        font-size: 2.0em;
        margin-right: 0px;
         /* Adjusted for better visibility */
    }

    .child-text {
        font-size: 1.0em;
        margin-bottom: 2em;
        margin-right: 0px; /* A bit of space after paragraph */
    }

  

    .contact-button {
        background-color: white;
        color: #463333;
        padding: 10px 20px;
        text-decoration: none;
        border: none;
        border-radius: 5px;
        font-weight: bold;
        display: block; /* Makes each button appear on a new line */
        margin-top: 5px;
        width: fit-content;
        font-size: 1.0em;
        margin-right: 0px;
    }
    
      .company-images {
          position: relative;
    top: 2vh;
    min-width: 300px;
    max-width: 800px;
    margin: 50px auto;        /* auto centers the block itself */
    display: flex;            /* enable flexbox */
    justify-content: center;  /* center children horizontally */
    gap: 2px; 
        
    }
    
    .company-images img {
        margin-right: 400px;
        width: 50%;
        height: 100%;
        border-radius: 10%;
         max-width: 80%;
        }
    
    .image-top {
       
        top: 0vh;
         width: 50%;
        height: 100%;
        transform: translate(-50%, 0);
        max-width: 80%;
    }

    .separator {
        border-style: solid;
        border-width: 2px;
        border-color: #84817ab7;
        margin-top: 48vh;
        margin-left: 15vh;
        max-width: 60%;
    }

    .container1234 {
        display: flex;
        flex-direction: row;
        width: 100%;
        font-weight: 999;
        font-size: 1.2em;
    }

    .container1 {
        display:flex;
        background-color: #000000;
        color: white;
        margin-top: 40px;
        margin-left: 10px;
        min-width: 240px;
        height: 130px;
        font-size: 1.2em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
        
    
    }
    
    .container2 {
        display:flex;
        background-color: white;
        color: black;
        margin-top: 40px;
        margin-right: 10px;  
        margin-left: 10px; 
        min-width: 240px;
        height: 130px;
        font-size: 1.2em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }
    
    .container3 {
        display:flex;
        background-color: #605E56;
        color: white;
        margin-top: 40px;
        margin-right: 10px;
        min-width: 240px;
        height: 130px;
        font-size: 1.2em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }
    
    .container4 {
        display:flex;
        background-color: #463333;
        color: white;
        margin-top: 40px;
        margin-right: 10px;
        min-width: 240px;
        height: 130px;
        font-size: 1.2em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }

    .offer-container {
        position: relative;
        margin: 0px;
        font-size: 1.2em;
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center; /* Center children */
        align-items: flex-start;
        max-width: 100%; /* More reasonable max-width */
        
    }
    
    .offer-text {
        position: relative;
        flex: 1;
        box-sizing: border-box;
        width: 100%; 
        top: 50%;
    }
    
    .offer-text ul {
        position: relative;
        right: 3.5%;
        top: 7px;
        list-style: none;
        width: 50%;
    }
    
    .offer-text li {
        display: flex;
        align-items: flex-start;
        margin: 10px; 
        
    }
    
    .offer-text h2 {   
        position: relative;
        margin: 0px;
        color: #FDB422;
        font-size: 2em;
        
    }
    
    .offer-text h3 {    
        color: #463333;
    }
    
    .offer-image {
        position: absolute;
        left: 60%;
        top: 32%;
        flex: 1;
    }
    
    .offer-image img {
        width: 25vw;
        height: 20vh;
        border-radius: 5%;
    }

    .footer-container {
        background: linear-gradient(to right, #000000, #624747);
        color: white;
        font-size: 0.7em;
        align-items: center;
        position: relative;
        width: 100%;
        height: auto;
        top: 70px;

    }

    .whole-thing {
    display: flex;
    flex-wrap: wrap;
    width: 100%; 
    position: relative;
    justify-content: left;
    top: -20px;
    }

    .footer-section {
        position: relative;
        top: -35px;
        
    }
    
    .footer-section h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        top: 70px;
        right: 90%;
        width: 100%;
        
    }
    
    .footer-links h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: -40%;
        top: 70px;
    }
    
    .footer-services h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: -30%;
        top: 70px;
    }
    
    .footer-contact h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: 0%;
        justify-content: center; /* Center the images within the container */
        top: 70px;
    }
    
        .footer-links a {
        position: relative;
        left: -40%;
        color: white;
        text-decoration: none;
        display: block; /* To list down links */
        margin-bottom: 5px;
        top: 90px;
    }
    
    .footer-section p {
        color: white;
        text-decoration: none;
        display: block; /* To list down links */
        margin-bottom: 5px;
        text-align: justify;
        position: relative;
        right: 90%;
        width: 100%;
        top: 90px;
    }
    
    .footer-services a  {
    position: relative;
        left: -30%;
        color: white;
        text-decoration: none;
        display: block; /* To list down links */
        margin-bottom: 5px;
        text-align: left;
    }
    
    
    .footer-links a:hover, .footer-services a:hover {
        text-decoration: underline;
    }
    
    .logo-footer img {
        position: relative;
        align-items:left;
        left: 125px;
        top: 40px;
        width: 220px; /* Prevents the sections from becoming too narrow on small screens */
        
            }
        
    .contact-icons img {
        position: relative;
        left: 620px;
        top: 50px;
        gap: 10px; 
        width: 70px;
        
    }
    
    .footer-contact p {
        text-align: justify;
        margin-bottom: 20px;
        position: relative;
        left: 0%;
        justify-content: center
    }
    
    .credit {
        background: linear-gradient(to right, #000000, #2e2121);
        text-align: center;
        align-content: center;
        position: relative;
        width: 100%;
        height: 4vh;
        top: 50px;
        
    }
    
    .credit p {
        color: white;
        opacity: 0.7;
    }
      
    .designed {
    position: relative;
    justify-content: center;
    align-items: center;
    opacity: 0.7;    
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 0px;
    }

}

@media screen and (max-width: 1025px){


    .child-content {
        font-size: 1.0em;
        width: 100%; 
        padding: 50px 30px;  
    }

    .child-text {
        position: relative;
        top: 50%;
    }
    .form-container {
        display: flex;
        flex-direction: column; /* Changed from row to column */
        justify-content: center;
        align-items: center;
        background: white;
        padding: 35px;
        width: 100%;
        border-radius: 10px;
        position:relative;
        left: 0%;
        top: 45vh;    
        }

    .company-section {
        position: relative;
        top: 40vh;
        font-size: 1.2em;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center children */
        align-items: flex-start;
        max-width: 100%; /* More reasonable max-width */
        }
        
     .company-images {
        position: relative;
        top: 2vh;
        min-width: 300px; /* Minimum width */
        max-width: 800px; /* Maximum width for images */
        margin: 0 60px; /* Consistent margin around elements */
    }
    
    .company-images img {
        width: 50%;
        height: 100%;
        border-radius: 10%;
        }
    
    .image-top {
top: 0vh;
        left: 80%;
        transform: translate(-50%, 0);
        max-width: 80%;
    }

    .company-description {
        position: relative;
        right: 0%;
        flex: 1;
        top: 5vh;
        margin: 0 0px; /* Consistent margin around elements */
        width: 100%;
        padding: 0px 40px 0px 60px
    }

    .company-description li {
        display: flex;
        align-items: center;
        margin: 20px 10px;
    }

    .container1 {
        display:flex;
        background-color: #000000;
        color: white;
        margin-top: 40px;
        margin-left: 10px;
        min-width: 175px;
        height: 120px;
        font-size: 1.1em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
        
    
    }
    
    .container2 {
        display:flex;
        background-color: white;
        color: black;
        margin-top: 40px;
        margin-right: 10px;  
        margin-left: 10px; 
        min-width: 175px;
        height: 120px;
        font-size: 1.1em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }
    
    .container3 {
        display:flex;
        background-color: #605E56;
        color: white;
        margin-top: 40px;
        margin-right: 10px;
        min-width: 175px;
        height: 120px;
        font-size: 1.1em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }
    
    .container4 {
        display:flex;
        background-color: #463333;
        color: white;
        margin-top: 40px;
        margin-right: 10px;
        min-width: 175px;
        height: 120px;
        font-size: 1.1em;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        padding: 8px;
    }

    .offer-container {
        position: relative;
        margin: 0px;
        font-size: 1.2em;
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center; /* Center children */
        align-items: flex-start;
        max-width: 100vw; /* More reasonable max-width */
        
    }
    
    .offer-text {
        position: relative;
        flex: 1;
        box-sizing: border-box;
        width: 100vw; 
        top: 50%;
    }
    
    .offer-text ul {
        position: relative;
        right: 5%;
        top: 7px;
        list-style: none;
        width: 50vw;
    }
    
    .offer-text li {
        display: flex;
        align-items: flex-start;
        margin: 10px; 
        
    }
    
    .offer-text h2 {   
        position: relative;
        margin: 0px;
        color: #FDB422;
        font-size: 2em;
        
    }
    
    .offer-text h3 {    
        color: #463333;
    }
    
    .offer-image {
        position: absolute;
        left: 50vw;
        top: 35%;
        flex: 1;
    }
    
    .offer-image img {
        width: 27vw;
        height: 27vh;
        border-radius: 5%;
    }
    
    .footer-container {
        background: linear-gradient(to right, #000000, #624747);
        color: white;
        font-size: 0.7em;
        position: relative;
        width: 100%;
        height: auto;
        top: 70px;

       }

       .whole-thing {
        display: flex;
        flex-wrap: wrap;
        width: 100%; 
        position: relative;
        justify-content: left;
        top: -20px;
        left: -9%;
      }

      .footer-contact h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: 0%;
        justify-content: center; /* Center the images within the container */
        top: 70px;
      }

      .footer-contact p {
        text-align: justify;
        margin-bottom: 20px;
        position: relative;
        left: 0%;
        justify-content: center
      }

      .footer-section h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        top: 70px;
        right: 50%;
        width: 100%;
      }
    
      .footer-section p {
        color: white;
        text-decoration: none;
        display: block; /* To list down links */
        margin-bottom: 5px;
        text-align: justify;
        position: relative;
        right: 50%;
        width: 100%;
        top: 90px;
    }

      .footer-links h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: 0%;
        top: 70px;
      }

      .footer-links a {
        position: relative;
        left: 0%;
        color: white;
        text-decoration: none;
        display: block; /* To list down links */
        margin-bottom: 5px;
        top: 90px;
      }
    
      .footer-services h3 { /* Corrected class selector */
        color: #F8D210; /* Gold color for headings */
        position: relative;
        left: 0%;
        top: 70px;
      }

      .footer-services a  {
        position: relative;
          left: 0%;
          color: white;
          text-decoration: none;
          display: block; /* To list down links */
          margin-bottom: 5px;
          text-align: left;
      }



    .logo-footer img {
        position: absolute;
        left: 680px;
        top: 150px;
        width: 150px; /* Prevents the sections from becoming too narrow on small screens */
        margin-bottom: 20px;
            }
       
      .contact-icons img {
       position: relative;
        left: 100px;
        top: 50px;
        gap: 10px; 
        width: 70px;
      }

      .credit {
        background: linear-gradient(to right, #000000, #2e2121);
        text-align: center;
        align-content: center;
        position: relative;
        width: 100%;
        height: 4vh;
        top: 50px;
        left: 9%;
      
    }
      
}

@media screen and (max-width: 549px){

    .background-image {
        width: 100%;
        max-height: 50vh;
        position: relative;
        }

        .child-content {
            font-size: 0.7em;
            width: 100%;
            margin-top: -300px;
            
        }

        .form-container {
            display: flex;
            flex-direction: column; /* Changed from row to column */
            justify-content: center;
            align-items: center;
            background: white;
            padding: 35px;
            width: 100%;
            border-radius: 10px;
            top: 0%;
            
            }

        .form-element {
            display: flex;
            flex-direction: column;
            gap: 10px ;
            margin-top: 15px;
            margin-right: 120px;
            
            }
 
        input[type="text"],
        input[type="email"],
        input[type="tel"] {
            flex-grow: 1; /* Allow inputs to grow and fill available space */
            background-color: #c0bdb838;
            border: 1px solid #ccc;   
            right: 20%;
            padding: 10px;
            width: 130%;
            /* Increased padding for better visual */
        }

        nav .logo img {
            width: 200px;
        }

        .company-images {
            position: relative;
            min-width: 300px; /* Minimum width */
            max-width: 800px; /* Maximum width for images */
            margin: 0 0px; /* Consistent margin around elements */
        }
        
        .company-images img {
            margin-right: 0px;
            width: 50%;
            height: 100%;
            border-radius: 10%;
            
            }

        .company-images img {
            width: 100%;
            height: 100%;
            border-radius: 0%;
            transition: 0.5s;
            }
        
        .image-top {
            top: -40vh;
            left: 50vw;
            transform: translate(-50%, 0); /* Adjust translation to only X-axis */
            max-width: 100%; /* Smaller width to avoid overlapping */
            border-radius: 0%;
            transition: 0.5s;
        }

        .company-description {
            position: relative;
            right: 0%;
            flex: 1;
            top: 5vh;
            margin: 0 0px; /* Consistent margin around elements */
            width: 100%;
            padding: 0px -40px 0px -60px
        }
    
        .company-description li {
            display: flex;
            align-items: center;
            margin: 20px 0px 0px -5px;
        }

        .separator {
            display: flex;
            border-style: solid;
            border-width: 2px;
            border-color: #84817ab7;
            margin-top: 48vh;
            margin-left: 10vh;
            max-width: 60%;
        }

        .container1234 {
            display: flex;
            flex-direction: column;
            width: 100vw;
            font-weight: 999;
            font-size: 1.2em;
            
        }

        .container1 {
            display:flex;
            background-color: #000000;
            color: white;
            margin-top: 40px;
            min-width: 100vw;
            height: 120px;
            font-size: 1.1em;
            text-align: center;
            align-items: center;
            justify-content: center;
            border-radius: 0px;
            position: relative;
            right:1.5%;
        }
        
        .container2 {
            display:flex;
            background-color: white;
            color: black;
            min-width: 100vw;
            height: 120px;
            font-size: 1.1em;
            text-align: center;
            align-items: center;
            justify-content: center;
            border-radius: 0px;
            padding: 8px;
            margin: 0px;
        }
        
        .container3 {
            display:flex;
            background-color: #605E56;
            color: white;
            margin: 0px;
            min-width: 100vw;
            height: 120px;
            font-size: 1.1em;
            text-align: center;
            align-items: center;
            justify-content: center;
            border-radius: 0px;
            padding: 8px;
        }
        
        .container4 {
            display:flex;
            background-color: #463333;
            color: white;
            margin: 0px;
            min-width: 100vw;
            height: 120px;
            font-size: 1.1em;
            text-align: center;
            align-items: center;
            justify-content: center;
            border-radius: 0px;
            padding: 8px;
        }

        .offer-container {
            position: relative;
            margin: 0px;
            font-size: 1.2em;
            display: flex;
            flex-wrap: wrap; /* Allow items to wrap */
            justify-content: center; /* Center children */
            align-items: flex-start;
            max-width: 100vw; /* More reasonable max-width */
            
        }
        
        .offer-text {
            position: relative;
            right: 0%;
            flex: 1;
            top: 5vh;
            margin: 0 0px; /* Consistent margin around elements */
            width: 100%;
            padding: 0px -40px 0px -60px 
        }
        
        .offer-text ul {
            position: relative;
            right: 8%;
            top: 7px;
            list-style: none;
            width: 100vw;
        }
        
        .offer-text li {
            display: flex;
            align-items: flex-start;
            margin: 10px; 
            
        }
        
        .offer-text h2 {   
            position: relative;
            margin: 0px;
            color: #FDB422;
            font-size: 2em;
            
        }
        
        .offer-text h3 {    
            color: #463333;
        }
        
        .offer-image {
            top: 105%;
            left: 0%;
            margin: 0px;
            
             }
        
        .offer-image img {
            margin: 0px;
            border-radius: 0%;
            width: 100vw ;
            height: 45vh; /* Make sure this is full screen height */
            align-items: stretch;
            align-self: stretch;
            display:block;
            margin: 0px;
        }

        .footer-container {
            background: linear-gradient(to right, #000000, #624747);
            color: white;
            font-size: 0.7em;
            position: relative;
            width: 100%;
            height: auto;
            top: 330px;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: center;
            
    
           }
    
           .whole-thing {
            display: flex;
            width: 100%; 
            position: relative;
            justify-content: left;
            left: -40%;
          }

          .footer-section {
            position: relative;
            
            
          }
        
          .footer-section h3 { /* Corrected class selector */
            color: #F8D210; /* Gold color for headings */
            position: relative;
            top: 70px;
            right: -10%;
            width: 100%;
             
          }
        
          .footer-links h3 { /* Corrected class selector */
            color: #F8D210; /* Gold color for headings */
            position: relative;
            left: 30%;
            top: 70px;
          }
        
          .footer-services h3 { /* Corrected class selector */
            color: #F8D210; /* Gold color for headings */
            position: relative;
            left: 10%;
            top: 90px;
          }
        
          .footer-contact h3 { /* Corrected class selector */
            color: #F8D210; /* Gold color for headings */
            position: relative;
            left: 30%;
            justify-content: center; /* Center the images within the container */
            top: 90px;
          }
        
           .footer-links a {
            position: relative;
            left: 30%;
            color: white;
            text-decoration: none;
            display: block; /* To list down links */
            margin-bottom: 5px;
            top: 90px;
          }
        
        .footer-section p {
            color: white;
            text-decoration: none;
            display: block; /* To list down links */
            margin-bottom: 5px;
            text-align: justify;
            position: relative;
            right: -10%;
            width: 100%;
            top: 90px;
        }
        
        .footer-services a  {
          position: relative;
            left: 10%;
            top: 110px;
            color: white;
            text-decoration: none;
            display: block; /* To list down links */
            margin-bottom: 5px;
            text-align: left;
        }
        
        
        .footer-contact p {
            text-align: justify;
            margin-bottom: 20px;
            position: relative;
            left: 30%;
            justify-content: center;
            top: 110px;
            
          }

          .footer-links a:hover, .footer-services a:hover {
            text-decoration: underline;
          }
        
          .logo-footer img {
            position: relative;
            align-items:left;
            left: 180px;
            top: 70px;
            width: 180px;
                }
           
          .contact-icons img {
           position: relative;
            left: 150px;
            top: 120px;
            gap: 10px; 
            width: 45px;
            
          }

          .credit {
              background: linear-gradient(to right, #000000, #2e2121);
              text-align: center;
              align-content: center;
              position: relative;
              width: 100%;
              height: 4vh;
              top: 50px;
              left: 40%;
            
          }
      
      .credit p {
          color: white;
          opacity: 0.7;
      }
        
          .designed {
          position: relative;
          justify-content: center;
          align-items: center;
          opacity: 0.7;    
          letter-spacing: 1px;
          font-weight: 400;
          margin: 0px 0px;
          }
  
  }
    

    @media screen and (max-width: 414px) {

        .whole-thing {
            display: flex;
            width: 100%; 
            position: relative;
            justify-content: left;
            left: -45%;
          }

          .credit {
            background: linear-gradient(to right, #000000, #2e2121);
            text-align: center;
            align-content: center;
            position: relative;
            width: 100%;
            height: 4vh;
            top: 50px;
            left: 45%; 
        }

        .logo-footer img {
            position: relative;
            align-items:left;
            left: 180px;
            top: 70px;
            width: 180px;
                }
           
          .contact-icons img {
           position: relative;
            left: 170px;
            top: 120px;
            gap: 10px; 
            width: 35px;
          }
    }


    @media screen and (max-width: 375px) {


        .whole-thing {
            display: flex;
            width: 100%; 
            position: relative;
            justify-content: left;
            left: -54.5%;
          }

          .credit {
            background: linear-gradient(to right, #000000, #2e2121);
            text-align: center;
            align-content: center;
            position: relative;
            width: 100%;
            height: 6vh;
            top: 50px;
            left: 54.5%; 
        }

        .logo-footer img {
            position: relative;
            align-items:left;
            left: 180px;
            top: 70px;
            width: 180px;
                }
           
      
    }
           .contact-icons img {
           position: relative;
            left: 170px;
            top: 120px;
            gap: 10px; 
            width: 35px;
          }