body{
padding: 0%;
margin: 0%;
}
/* hero section */
.hero-section {
height: 80vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 0 1rem;
}

.hero-section .container {
width: 80%;
max-width: 1200px;
height: 65%;
background:
linear-gradient(to bottom right, rgba(0, 83, 18, 0.6), rgba(38, 169, 67, 0.6)),
url('https://customembroideredpatch.uk/assets/about-hero.png') no-repeat center center;
background-size: cover;
border-radius: 12px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 2rem;
}

.hero-section .hero-content h1 {
color: white;
font-weight: bold;
font-size: 4.5rem;
letter-spacing: 4px;
margin: 0.5rem 0;
}

@media (max-width: 1200px) {
.hero-section .hero-content h1 {
font-size: 3.5rem;
}
.hero-section .container {
width: 90%;
height: 60%;
}
}

@media (max-width: 768px) {
.hero-section .hero-content h1 {
font-size: 2.5rem;
letter-spacing: 2px;
}
.hero-section .container {
height: 50%;
}
}

@media (max-width: 480px) {
.hero-section .hero-content h1 {
font-size: 1.8rem;
letter-spacing: 1px;
}
.hero-section .container {
height: 45%;
width: 95%;
padding: 1rem;
}
}


/* branch section */
.scroll-wrapper {
overflow: hidden;
width: 100%;
position: relative;
}

.scroll-content {
display: flex;
width: fit-content;
animation: scroll-left 35s infinite;
}

.scroll-wrapper:hover .scroll-content {
animation-play-state: paused;
}

.brand {
display: inline-flex;
padding: 1rem;
border-left: 1px solid #6c757d;
}

.brand:last-child {
border-right: 1px solid #6c757d;
}

.brand img {
max-width: 100px;
max-height: 90px;
}

@keyframes scroll-left {
0% {
transform: translateX(0);
}

100% {
transform: translateX(calc(-100% / 2));
}
}

.brand-heading{
text-align: left;
color: #0068E5;
font-weight: 700;
}


/* our patch section */

.our-patch-section .row{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.our-patch-section .col-12{
width: 45% !important;
}

@media (max-width: 768px) {
.our-patch-section .row{
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
}
.our-patch-section .col-12{
width: 100% !important;
}
}

.our-patch-section .border-top-bold {
position: relative;
}

.our-patch-section .border-top-bold::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: #000;
}

.our-patch-section .border-top-bold::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 20%;
height: 4px;
background: #000;
}

.card p{
font-size: 14px;
color: #636363;
font-weight: 400 !important;
}

.design-btn .btn {
display: inline-block;
padding: 12px 28px;
background: linear-gradient(120deg, #F9BC15, #33A852, #547DBF, #EA4435);
color: white;
border-radius: 30px;
text-decoration: none;
font-weight: bold;
font-size: 14px;
cursor: pointer;
user-select: none;
margin-top: 20px;
}


/* Own Custom Patch Section */
.own-custom-patch-section {
    padding: 3rem 1rem;
}

.own-custom-patch-section h2 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-align: center;
}

.own-custom-patch-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.own-custom-patch-section .left-border {
    border-left: 2px solid #636363;
    padding-left: 1rem;
}

.own-custom-patch-section .section-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.own-custom-patch-section .section-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.own-custom-patch-section .patch-image {
    height: 400px;
    width: 600px;
    object-fit: cover;
    max-width: 100%;
    flex-shrink: 0; 
}

@media (max-width: 1200px) {
    .own-custom-patch-section .row {
        justify-content: center; 
    }
}

@media (max-width: 991px) {
    .own-custom-patch-section .row {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .own-custom-patch-section .left-border {
        border-left: none;
        padding-left: 0;
        text-align: center;
        min-width: auto;
    }

    .own-custom-patch-section .patch-image {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .own-custom-patch-section h2 {
        font-size: 1.5rem;
    }

    .own-custom-patch-section .section-title {
        font-size: 1.25rem;
    }

    .own-custom-patch-section .section-text {
        font-size: 0.9rem;
    }
}

/* quality section */
.quality-section{
    background: #6363635b;
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .quality-section {
        height: auto;
        padding: 2rem 1rem;
    }
}

.quality-section .quality-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 500px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.quality-section .quality-card .icon img {
  height: 27px;
  width: 27px; 
}

.quality-section .quality-card .content h3 {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: black;
}

.quality-section .quality-card .content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #636363;
}

/* last section */
.last-section {
  height: 50vh;
  background-color: #f7b500;
  padding: 40px;
  border-radius: 12px;
  color: black;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .last-section .container {
    height: auto; 
    padding: 20px;
    border-radius: 8px;
  }

  .last-section .container > div:first-child {
    max-width: 100%;
  }

  .last-section .container h2 {
    font-size: 1.25rem;
  }

  .last-section .container p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .last-section .container button {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 16px;
  }

  .last-section .container div[style*="position: absolute; right: 1px; top: 90px;"] {
    position: static; 
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    max-width: 90vw;
  }

  .last-section .container div[style*="position: absolute; right: 100px; bottom: 210px;"] {
    position: static; 
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    max-width: 90vw;
  }

  .last-section .container div[style*="position: absolute; right: 1px; top: 90px;"] img,
  .last-section .container div[style*="position: absolute; right: 100px; bottom: 210px;"] img {
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  
}

