body{
padding: 0%;
margin: 0%;
}

/* =========================
HERO SECTION
========================= */

.hero-section{
padding: 60px 20px;
}

.hero-section .left-content{
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
}

.hero-section .left-content h1{
font-size: 4rem;
font-weight: 700;
color: #000;
margin-bottom: 20px;
letter-spacing: 5px;
text-transform: uppercase;
}

.hero-section .left-content span{
color: #F9BC15;
}

.hero-section .left-content p{
color: #636363;
margin-bottom: 30px;
max-width: 400px;
}

.image-grid {
width: 600px;
height: 400px;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 15px;
border-radius: 12px;
overflow: hidden;
}

.image-grid div {
background-image: url("https://customembroideredpatch.uk/assets/portfolio-hero.png");
background-size: 600px 400px;
background-repeat: no-repeat;
border-radius: 8px;
}

.image-grid div:nth-child(1) {
grid-row: span 2;
background-position: left center;
}

.image-grid div:nth-child(2) {
grid-column: span 2;
background-position: right top;
}

.image-grid div:nth-child(3) {
background-position: center bottom;
}

.image-grid div:nth-child(4) {
background-position: right bottom;
}



@media (max-width: 768px) {

.hero-section{
padding: 40px 20px;
}

.hero-section .left-content{
text-align: center;
margin-bottom: 40px;
}

.hero-section .left-content h1{
font-size: 2.5rem;
letter-spacing: 2px;
}

.hero-section .left-content p{
margin: 0 auto 30px;
}

.image-grid{
display: block;
width: 100%;
height: 300px;
background-image: url("http://localhost/patch/assets/portfolio-hero.png");
background-size: cover;
background-position: center;
border-radius: 12px;
}

.image-grid div{
display: none !important;
}

}

/* 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;
}

/* contact section */

.contact-section {
position: relative;
background-color: #0061f2;
padding: 80px 0;
min-height: 100vh;
font-family: Arial, sans-serif;
overflow: hidden;
z-index: 2 !important;
}

.contact-section::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 30%;
background-image:
linear-gradient(45deg, #2688ff 25%, transparent 25%),
linear-gradient(-45deg, #2688ff 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #2688ff 75%),
linear-gradient(-45deg, transparent 75%, #2688ff 75%);
background-size: 200px 200px;
background-position: 0 0, 0 100px, 100px 100px, 100px 0;
z-index: -1;
}

.form-text {
font-weight: 400;
max-width: 600px;
}

.input-group-custom {
background: white;
border-radius: 15px;
padding: 10px 20px;
display: flex;
align-items: center;
}

.input-group-custom label {
font-weight: bold;
color: #555;
margin-right: 10px;
white-space: nowrap;
}

.custom-input {
border: none !important;
box-shadow: none !important;
padding: 5px 0;
font-weight: 500;
}


.row .col-12 .input-group-custom:has(textarea) {
align-items: flex-start ;
}

.btn-submit {
background-color: #F9BC15 !important;
color: white !important;
font-weight: bold !important;
border-radius: 50px !important;
padding: 12px 60px !important;
border: none !important;
}

select.custom-input {
appearance: auto;
-webkit-appearance: auto;
-moz-appearance: auto;
}

/* testimonail section */
.testimonial-section {
padding: 80px 0;
position: relative;
overflow-x: hidden;
}

.testimonial-section .border-top-bold {
position: relative;
}

.testimonial-section .border-top-bold::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: #000;
font-size: 16px;
}

.testimonial-section .border-top-bold::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 20%;
height: 4px;
background: #000;
}

.testimonial-section .container {
max-width: 1100px;
margin: 0 auto;
}

.testimonial-section .section-title {
font-weight: 400;
font-size: calc(2.5rem + 1vw);
line-height: 1.2;
color: #111;
}

@media(max-width: 768px) {
.testimonial-section .section-title {
font-size: 2rem !important;
margin-bottom: 20px !important;
}
.testimonial-section .container-xxl{
width: 100% !important;
}
}

.testimonial-section .nav-container {
display: flex;
gap: 20px;
margin-top: 0;
}

.testimonial-section .custom-nav-btn {
width: 48px;
height: 48px;
border-radius: 50%;
border: 1.5px solid #0070f3;
background: transparent;
color: #0070f3;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.2rem;
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-section .custom-nav-btn:hover {
background: #0070f3;
color: white;
transform: scale(1.05);
}

/* .testimonial-section .owl-carousel .item {
padding: 0 0px;
} */

.testimonial-section .testimonial-card {
padding: 35px;
border-radius: 15px;
height: 22em;
display: flex;
flex-direction: column;
justify-content: space-between;
color: white;
transition: all 0.3s ease;
min-height: 280px;
}

@media(max-width: 768px) {
.testimonial-section .testimonial-card {
height: 100% !important;
}
}

.testimonial-section .bg-blue {
background-color: #0068E5;
}

.testimonial-section .bg-grey {
background-color: #636363;
}

.testimonial-section .testimonial-text {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 25px;
flex-grow: 1;
}

.testimonial-section .stars {
color: #ffcc00;
letter-spacing: 2px;
margin-bottom: 8px;
font-size: 2rem;
}

.testimonial-section .client-name {
font-weight: 700;
font-size: 1.1rem;
}

.testimonial-section .owl-dots {
margin-top: 40px !important;
}

.testimonial-section .owl-theme .owl-dots .owl-dot span {
width: 8px;
height: 8px;
background: #e0e0e0;
transition: 0.3s;
}

.testimonial-section .owl-theme .owl-dots .owl-dot.active span {
background: #0070f3 !important;
width: 24px;
}

.testimonial-section .row.mb-5.align-items-center {
/* Ensure vertical center */
align-items: center; /* already set by class */
}

.testimonial-section .section-title {
margin: 0; /* Remove default bottom margin */
font-weight: 400;
font-size: calc(2.5rem + 1vw);
line-height: 1.2;
color: #111;
}

.testimonial-section .nav-container {
display: flex;
gap: 20px;
}

.testimonial-section .custom-nav-btn {
width: 48px;
height: 48px;
border-radius: 50%;
border: 1.5px solid #0070f3;
background: transparent;
color: #0070f3;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.2rem;
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-section .custom-nav-btn:hover {
background: #0070f3;
color: white;
transform: scale(1.05);
}


/* product section */

.product-section .section-title {
font-weight: 800;
font-size: 2.5rem;
margin-bottom: 5px;
letter-spacing: 2px;
}

.product-section .section-subtitle {
color: #636363;
font-size: 1rem;
margin-bottom: 50px;
}

/* Card Styling */
.product-section .patch-card {
border: none;
background: none;
margin-bottom: 30px;
}

.product-section .image-container {
background-color: #f8f9fa;
/* Light grey background like the image */
border-radius: 20px;
padding: 0;
overflow: hidden;
aspect-ratio: 1 / 1;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-section .image-container img {
max-width: 100%;
height: auto;
object-fit: cover;
}

.product-section .image-container:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-section .patch-label {
margin-top: 15px;
font-weight: 700;
font-size: 0.85rem;
color: #495057;
text-transform: uppercase;
letter-spacing: 0.5px;
}

/* Gradient Button */
.product-section .view-all-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;
}
