*{
    box-sizing: border-box; 
    margin: 0;
}
body{
    background-color: #F0F0F6;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  background: url("images/BackgroundImage.png") no-repeat center / cover;
  padding: 0 60px;
  margin: 0 auto;
}
.hero-text {
  max-width: 500px;
}
.hero-text h1 {
  margin-left:10%;
  font-size: 48px;
  font-weight:bold;
  line-height: 1.2;
  color: #2B2B2B;
  margin-bottom: 18px;
}
.hero-text h1 span {
  color: #FFB400;
}
.hero-text p {
  font-size: 16px;
  color: #767676;
  line-height: 1.6;
  margin-bottom: 25px;
  margin-left:10%;

}
.btn-hire {
  margin-left:10%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFB400;
  color: #2B2B2B;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.btn-hire:hover {
  background-color: #e09e00;
}

.btn-hire img {
  width: 12px;
  height: auto;
}
.hero-image {
  height: 100%;
  display: flex;
  align-items: flex-end;
  margin-right: 10%;
}
.hero-image img {
  max-height: 100%;
  object-fit: contain;
}
/* ================== */
.container {
  text-align: center;
  padding: 50px 20px;
  margin: 0 auto; 
  width:90%;
  background-color: #F0F0F6;
  box-sizing: border-box;
}
.container h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 15px;
}
.section-text {
  font-size: 15px;
  color: #767676;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 50px auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap:20px; 
}
.service-card {
  background-color: #FFFFFF;
  padding: 30px 20px;
  height: 230px;
  text-align: center;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom:3px;
}
.service-card p {
  font-size: 14px;
  color: #767676;
  line-height: 1.5;
  margin-bottom: 5px;
}
.order-now {
  display: inline-block;
  margin-top: 15px;
  color: #FFB400;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 1px;
}

.order-now:hover {
  text-decoration: underline;
}
.service-card:hover ,.portfolio-item:hover{
  transform: translateY(-8px); 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}
/* ======================== */ 
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap:20px; 
}
/* ======================== */
.container {
  width: 970px;
  max-width: 90%;
  margin: 0 auto;
  padding: 50px 0;
  box-sizing: border-box;
}
.contact-section {
  display: flex;
  gap: 30px;
  align-items: stretch;
}
.contact-form {
  flex: 1.6;
}
.contact-info {
  flex: 1;
}
.contact-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 25px;
}
.form-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 4px;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-group label {
  font-size: 14px;
  color: #767676;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: left;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #F0F0F6;
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  color: #2B2B2B;
  outline: none;
  text-align: left;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group textarea {
  resize: none;
}
.btn-submit {
  background-color: #FFB400;
  color: #2B2B2B;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #e09e00;
}
.info-card {
  background-color: #FFFFFF;
  padding: 20px 25px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.info-icon {
  width: 40px;
  height: 40px;
  background-color: #FFB400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.info-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.info-details {
  width: 100%;
}
.info-details table {
  width: 100%;
  border-collapse: collapse;
}

.info-details td {
  padding: 6px 0;
  font-size: 14px;
}

.info-details td:first-child {
  color: #767676;
  text-align: left;
  font-weight: 500;
}
.info-details td:last-child {
  color: #2B2B2B;
  text-align: right;
  font-weight: 400;
}
/* ========================= */
.logos-container{
    display: flex; 
    justify-content: space-between;
}
footer {
    height: 60px;
    background-color:#ffffff;
    padding-top: 18px
}
footer p {
    text-align: center; 
}


/* ==========================================
   1. Desktop Screens
   ========================================== */
@media screen and (min-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ==========================================
   2. Tablet Screens 
   ========================================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding: 40px 30px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-image {
        margin-right: 0;
    }
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-section {
        gap: 20px;
    }
}
/* ==========================================
   3. Smartphone Screens 
   ========================================== */
@media screen and (max-width: 767px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .btn-hire {
        justify-content: center;
    }
    .hero-image {
        margin-right: 0;
        justify-content: center;
    }
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        height: auto;
    }
    .contact-section {
        flex-direction: column;
    }
    .contact-form, 
    .contact-info {
        width: 100%;
    }
    .logos-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}