* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
   font-family: 'Source Sans 3', sans-serif;
}

.header {
  height: 100px;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.shrink {
  height: 70px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header.shrink .logo {
  width: 250px;
  height: 45px;
}

.header.shrink .nav a {
  font-size: 14px;
}

.header.shrink .contact-btn {
  width: 140px;
  height: 36px;
  font-size: 13px;
}

.header-content {
  width: 100%;
  max-width: 100;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 80px;
}

.logo {
  width: 301px;
  height: 54px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  flex-grow: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a:focus,
.nav a.active {
  color: #808183;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: black;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after,
.nav a.active::after {
  width: 100%;
}

.contact-btn {
  width: 163px;
  height: 44px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 20px; 
}

  .contact-header {
    background-color: #d9d9d9;
    width: 1440px;
    height: 245px;
    display: flex;
    align-items: center;
    padding-left: 80px;
  }

  .contact-header h1 {
    font-size: 38px;
    font-weight: bold;
    margin-top: 122px;
    margin-bottom: 69px;
  }

  .form-container {
    max-width: 700px;
    margin: 0;
    padding-left: 80px;
  }

  .form-container h2 {
    font-size: 38px;
    font-weight: normal;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  label {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .required-star {
color: red;
   }

  select, input[type="text"], input[type="email"], textarea {
    width: 548px;
    height: 48px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
  }

  select {
    appearance: none;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 16px;
  }

  select::-ms-expand {
    display: none;
  }

  textarea {
    height: 218px;
    resize: vertical;
  }

  .checkbox-container {
display: flex;
align-items: flex-start;
gap: 10px;
cursor: pointer;
position: relative;
}

.checkbox-container input[type="checkbox"] {
opacity: 0;
position: absolute;
height: 0;
width: 0;
}

.custom-check {
width: 25px;
height: 25px;
background-color: #fff;
border: 2px solid #ccc;
border-radius: 4px;
position: relative;
flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .custom-check {
background-color: #38D58C; 
border-color: #38D58C;
}

.checkbox-container input[type="checkbox"]:checked + .custom-check::after {
content: '';
position: absolute;
left: 7px;
top: 3px;
width: 6px;
height: 12px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}

.checkbox-container p {
font-size: 16px;
font-weight: 600;
margin: 0;
}


button {
width: 140px;
height: 48px;
background-color: #00ACED;
color: white;
border: none;
border-radius: 48px;
cursor: pointer;
font-size: 16px;
font-weight: 600; /* semi-bold */
}


  @media (max-width: 768px) {
    .contact-header,
    select,
    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
    }

    .contact-header {
      width: 100%;
      height: auto;
      padding: 20px;
    }
  }

/* Social Media Section */
.social-section {
text-align: center;
margin: 0 0 75px 0; /* top right bottom left */
margin-bottom: 30px;
}

.social-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.social-icons {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}

.social-icons div {
display: flex;
flex-direction: column;
align-items: center;
font-size: 18px;
color: #000;
}

.social-icons img {
width: 52px;
height: 76px;
object-fit: contain;
margin-bottom: 4px;
}

.social-heading {
font-size: 16px;
font-weight: 500;
width: 458px;
height: 28px;
margin: 0 auto 20px auto;
}

.social-icons {
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 10px;
}

.social-icon img {
width: 52px;
height: 76px;
object-fit: contain;
}

.footer-accurate {
  width: 100%;
  height: 305px;
  background-color: #d9d9d9;
  margin: 0 auto;
  font-family: 'Source Sans 3', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 40px;
  box-sizing: border-box;
}

.footer-cols-wrapper {
  display: flex;
  justify-content: flex-start;
  gap: 41px;
  padding-left: 400px; /* Start at 507px from the left */
  padding-right: 126px; /* End at 126px from the right */
  box-sizing: border-box;
}

.footer-col {
  font-size: 19px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.footer-col a {
  color: black;
  text-decoration: none !important;
  display: block;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col a:focus {
  color: #808183;
}

.footer-heading {
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-note {
  font-size: 16px;
  padding: 0 100px 30px;
}

.company {
  left: 300px;
}

.company + .footer-col {
  left: calc(300px + 180px);
}

.company + .footer-col + .footer-col {
  left: calc(300px + 180px * 2);
}

.service {
  right: 200px;
}

.footer-heading {
  font-weight: 600;
}

.footer-note {
  text-align: center;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
  padding-bottom: 20px;
}

/* Position columns using exact spacing */
.company {
  left: 400px;
}

.company + .footer-col {
  left: calc(400px + 109px + 30px); 
}

.company + .footer-col + .footer-col {
  left: calc(400px + 109px * 2 + 30 px * 2);
}

.service {
  right: 126px;
}


/* Footer note styles */
.footer-note {
display: flex;
flex-direction: column;
gap: 6px;
padding: 0 60px; /* Controls side spacing */
}

.footer-note .copyright-left {
text-align: left;
height: auto;
padding-left: 40px; /* Shift it a bit left */
margin-bottom: -30px;
}

.footer-note .info-right {
text-align: right;
padding-right: 60px;
margin-bottom: 26px;
}

.footer-note .info-right a {
text-decoration: none;
color: black;
font-size: 14px;
height: 20px;
line-height: 20px;
margin: 0 3px;
position: relative;
transition: all 0.3s ease;
}

.footer-note .info-right a::after {
content: '';
position: absolute;
width: 0;
height: 1px;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.7);
transition: width 0.3s ease, transform 0.3s ease;
transform-origin: left;
}

.footer-note .info-right a:hover::after {
width: 100%;
transform: scaleX(1);
}



.social-icon img {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img:hover {
transform: scale(1.1) translateY(-4px);
/*box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);*/
}

@media (max-width: 1024px) {
.header-content {
  flex-direction: column !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.footer-cols-wrapper {
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
  gap: 30px;
}

.footer-note {
  flex-direction: column;
  padding: 20px;
}

.footer-accurate {
  width: 1024px;
}

.footer-note .copyright-left,
.footer-note .info-right {
  text-align: center;
  width: 100%;
  padding: 0;
}
}

@media (max-width: 1280px) {
.header-content {
  padding-left: 40px !important;
  padding-right: 40px !important;
}


.footer-accurate {
  padding: 40px;
}

.footer-cols-wrapper {
  padding-left: 120px;
  padding-right: 80px;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-note {
  padding: 0 40px;
}

.footer-note .copyright-left {
  padding-left: 0;
  width: 100%;
}

.footer-note .info-right {
  padding-right: 0;
  text-align: right;
}

.footer-accurate {
  width: 1440px;
}
}

@media screen and (min-width: 1920px) {
.footer-accurate {
  height: 320px;
  padding-top: 50px;
}

.footer-cols-wrapper {
  padding-left: 200px;
  padding-right: 100px;
  gap: 40px;
  justify-content: flex-start;
}

.footer-col {
  font-size: 18px;
  gap: 10px;
  min-width: 160px;
  padding: 20px;
}

.footer-col a {
  color: black;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col a:focus {
  color: #808183;
}

.footer-col a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: black;
  transition: width 0.3s ease;
}

.footer-col a:hover::after,
.footer-col a:focus::after {
  width: 100%;
}

.footer-note .info-right a {
  text-decoration: none;
  color: black;
  font-size: 15px;
  height: 20px;
  line-height: 20px;
  margin: 0 3px;
  position: relative;
  transition: all 0.3s ease;
}

.footer-note .info-right a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: width 0.3s ease, transform 0.3s ease;
  transform-origin: left;
}

.footer-note .info-right a:hover::after {
  width: 100%;
  transform: scaleX(1);
}

/* Specific styles for Textile and Leather links */
.footer-note .info-right a[href="pymag.html"]::after,
.footer-note .info-right a[href="curtin.html"]::after {
  background-color: #000;
}

.footer-note .info-right a[href="pymag.html"]:hover::after,
.footer-note .info-right a[href="curtin.html"]:hover::after {
  width: 100%;
  transform: scaleX(1);
}

.footer-heading {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-note {
  font-size: 14px;
  padding: 0 40px 20px;
}
}


@media screen and (min-width: 2000px) {
  .header-content {
    width: 100%;
    max-width: 2000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
  }
  
  .contact-btn {
    width: 163px;
    height: 44px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 20px;
  }
  .nav {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    margin-left: -60px;
    justify-content: center;
  }

  .logo {
    margin-left: -192px;
  }

  .contact-header {
    background-color: #d9d9d9;
    width: 2560px;
    height: 245px;
    display: flex;
    align-items: center;
    padding-left: 80px;
  }

  .contact-header h1
   {
      font-size: 65px;
      font-weight: bold;
      margin-top: 122px;
      margin-bottom: 69px;
  }

  .form-container h2 {
    font-size: 52px;
    font-weight: normal;
    margin-top: 40px;
    margin-bottom: 40px;
}

label {
  font-size: 27px;
  margin-bottom: 4px;
}

select, input[type="text"], input[type="email"], textarea {
width: 857px;
height: 48px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 12px;
box-sizing: border-box;

}

.checkbox-container p {
font-size: 22px;
font-weight: 600;
width: 1000px;
margin: 0;
}

button {
width: 175px;
height: 51px;
background-color: #00ACED;
color: white;
border: none;
border-radius: 48px;
cursor: pointer;
font-size: 23px;
font-weight: 600;
}

.social-title {
font-size: 42px;
font-weight: 400;
margin-bottom: 20px;
}

.social-icon img {
width: 68px;
height: 98px;
object-fit: contain;
}

.social-icons div {
font-size: 22px;
}
.footer-cols-wrapper {
padding-left: 200px;
padding-right: 100px;
gap: 40px;
justify-content: space-evenly;
}

.footer-heading {
font-size: 24px;
margin-bottom: 8px;
}

.footer-col {
font-size: 20px;
gap: 10px;
min-width: 160px;
}

.footer-note .info-right a {
text-decoration: none;
color: black;
font-size: 15px;
height: 20px;
line-height: 20px;
margin: 0 3px;
position: relative;
transition: all 0.3s ease;
}

.footer-note .info-right a::after {
content: '';
position: absolute;
width: 0;
height: 1px;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.7);
transition: width 0.3s ease, transform 0.3s ease;
transform-origin: left;
}

.footer-note .info-right a:hover::after {
width: 100%;
transform: scaleX(1);
}


}