@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
/* Add this to your style.css */
.container {
    max-width: 1080px;
    width: 90%; /* Ensures it doesn't exceed viewport */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Includes padding in width calculation */
}

.row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    justify-content: space-between;
    width: 90%; /* Constrains to container */
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.cd__main {
  min-height: 100vh;
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(https://images.pexels.com/photos/325185/pexels-photo-325185.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940) !important;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cd__action{
  text-align: center;
  display: block;
  margin-top: 20px;
}

.cd__action a.cd__btn {
 text-decoration: none;
 color: #666;
  border: 2px solid #666;
  padding: 10px 15px;
  display: inline-block;
  margin-left: 5px;
}
.cd__main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
}

.cd__action a.cd__btn:hover{
  background: #666;
  color: #fff;
   transition: .3s;
-webkit-transition: .3s;
}

cd__credit a{
  color: #333;
  text-decoration: none;
}
.cd__credit a:hover{
  color: #1DBF73; 
}
.cd__credit a:hover:after{
   font-family: FontAwesome;
   content: "\f08e";
   font-size: 9pt;
   position: absolute;
   margin: 3px;
}
.cd__main{
 background: #fff;
 padding: 20px;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 
}
.cd__main{
   display: flex;
   width: 100%;
}

section {
  position: relative;
  z-index: 3;
  padding-top: 50px;
  padding-bottom: 50px;
}


.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  color: #FFF;
  font-weight: bold;
  font-size: 3em;
  margin-bottom: 20px;
}

.section-header p {
  color: #FFF;
}



.contact-info {
  width: 50%;
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  height: 70px;
  width: 70px;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
}

.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
}

.contact-info-content {
  margin-left: 20px;
}

.contact-info-content h4 {
  color: #1da9c0;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.contact-info-content p {
  color: #FFF;
  font-size: 1em;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  width: 45%;
  padding-bottom: 20px;
  padding-top: 20px;
}

.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}

.contact-form .input-box {
  position: relative;
  width: 15vh;
  margin-top: 10px;
  overflow: hidden;
}

.contact-form .input-box input,
.contact-form .input-box textarea{
  width: 90%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contact-form .input-box span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}
/* Add to style.css */
.contact-info-icon i.fa-envelope {
  color: #1da9c0;
}


.contact-form .input-box {
    width: 100% !important; /* Override any fixed widths */
    max-width: 100%;
}

.contact-form input,
.contact-form textarea {
    max-width: 100%;
    box-sizing: border-box;
}
@media (max-width: 991px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .contact-form {
    width: 100%;
  }
}
  .cd__action{
      Position: relative;
             image: url(car.jpg) center no-repeat no-repeat;
             Display: flex;}
             /* For the car image */
.cd__intro {
  position: relative;
  padding: 20px;
}

/* For the mail icon next to email */
.contact-info-content p {
  display: flex;
  align-items: center;
}

/* Ensure Font Awesome icons load properly */
.fas, .fa {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}