body{
margin: 0%;
padding: 0%;
}

/* hero section */

.hero-section{
background:
linear-gradient(rgba(0, 0, 0, 0.365), rgba(0, 0, 0, 0.301)),
url('https://customembroideredpatch.uk/assets/custom-patch-hero.png');
background-size: cover;
background-position: center;
height: 80vh;
width: 100%;
}

.hero-section .row .col-12{
display: flex !important;
flex-direction: column;
justify-content: center !important;
height: 100% !important;
}
.hero-section .hero-title{
font-size: 2.5rem;
font-weight: 800;
background: linear-gradient(90deg, #e48d1b, #D67F0B);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.hero-section .hero-subtitle{
    font-weight: 800;
    color: white;
}

.hero-section .hero-p{
    width: 60% !important;
    color: white !important;
}

@media (max-width:768px){
.hero-section{
background:
linear-gradient(rgba(0, 0, 0, 0.365), rgba(0, 0, 0, 0.301)),
url('https://customembroideredpatch.uk/assets/custom-patch-hero.png');
background-size: cover;
background-position: center;
height: auto;
width: 100%;
padding: 25px 0px;
}
.hero-section .hero-title{
font-size: 1.8rem;
font-weight: 800;
background: linear-gradient(90deg, #e48d1b, #D67F0B);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-section .hero-p{
    width: 100% !important;
    color: white !important;
}
}

.hero-section ul li{
color: white;
font-weight: 700;
}

.hero-section .rating-outer{
background-color: rgba(0, 0, 0, 0.621);
width:100%;
min-height: 33px; /* fixed height remove */
display: flex;
align-items: center;
justify-content: flex-start;
border-radius: 5px;
margin-top: 20px;
color: white;
gap: 5px;
padding: 5px 10px;
flex-wrap: wrap;
}

.hero-section .rating-outer span{
font-size: 14px;
}

.hero-section .stars {
color: #ffcc00;
letter-spacing: 2px;
font-size: 1.2rem;
}

.hero-section .rating-outer img{
max-width: 180px;
height: auto;
}

.hero-section .design-btn{
display: inline-block;
padding: 7px 10px;
background: linear-gradient(120deg, #F9BC15, #33A852, #547DBF, #EA4435);
color: white;
text-decoration: none;
font-weight: bold;
font-size: 14px;
cursor: pointer;
user-select: none;
border: none;
}

@media (max-width: 576px){
.hero-section .rating-outer{
justify-content: left;
text-align: left;
padding: 8px;
gap: 5px;
width: 100%;
}

.hero-section .rating-outer span{
font-size: 12px;
}

.hero-section .stars{
font-size: 1rem;
letter-spacing: 1px;
}

.hero-section .rating-outer img{
max-width: 100px;
}
}


/* branch section */

.brand-section .design-btn{
display: inline-block;
padding: 10px 28px;
background: linear-gradient(120deg, #F9BC15, #33A852, #547DBF, #EA4435);
color: white;
text-decoration: none;
font-weight: bold;
font-size: 14px;
cursor: pointer;
user-select: none;
border: none;
}
.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;
}

/* custom-patch-section */
.custom-patch-section .border-top-bold {
position: relative;
}

.custom-patch-section .border-top-bold::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: #000;
}

.custom-patch-section .border-top-bold::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 20%;
height: 4px;
background: #000;
}

.custom-patch-section .head{
font-size: 1.8rem !important;
font-weight: 800 !important;
letter-spacing: 2px !important;
text-transform: uppercase !important;
text-align: left !important;
}

.custom-patch-section .sub-head{
color: #636363 !important;
}

.custom-patch-section .patch-card {
background-color: #0068E5;
border-radius: 12px;
padding: 20px;
display: flex;
align-items: start;
color: white;
height: 100%;
transition: transform 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-patch-section .icon-circle {
background-color: rgba(255, 255, 255, 0.2);
width: 70px;
height: 70px;
min-width: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
overflow: hidden;
position: relative;
}


.custom-patch-section .icon-circle img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

.custom-patch-section .text-content h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 4px;
}

.custom-patch-section .text-content p {
font-size: 0.8rem;
line-height: 1.3;
margin-bottom: 0;
opacity: 0.9;
}


/* our patch section */

.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;
}

.our-patch-section .head{
font-size: 1.8rem !important;
font-weight: 800 !important;
letter-spacing: 2px !important;
text-transform: uppercase !important;
}

.our-patch-section .sub-head{
color: #636363 !important;
}

.our-patch-section .card{
padding: 20px !important;
}

.our-patch-section .card img{
border-radius: 10%;
width: 60px;
height: 60px;
object-fit: cover;
margin-bottom: 10px !important;
}

.our-patch-section .card h5{
font-size: 1.2rem;
color: white;
margin-bottom: 10px !important;
font-weight: 400 !important;
}

.our-patch-section .card p{
font-size: 14px;
color: #AFAFAF;
font-weight: 400 !important;
}

/* FAQ Section */
.faqs-section .container {
width: 80% !important;
display: flex;
justify-content: center;
}

.faqs-section .badge {
background-color: #63636380 !important;
border-radius: 45px;
}

.faqs-section h2 {
font-size: 2rem;
font-weight: 800 !important;
}

.accordion-button {
background-color: #1B1B1B !important;
color: #fff !important;
box-shadow: none !important;
border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
background-color: #0068E5 !important;
color: #fff !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}

.accordion-item .accordion-body {
background-color: #0068E5 !important;
color: #fff !important;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
border-bottom-left-radius: 12px !important;
border-bottom-right-radius: 12px !important;
margin-top: -1px;
}

.accordion-button::after {
filter: invert(1);
}

@media (max-width: 768px) {
.faqs-section h2 {
font-size: 1.8rem;
}
}

.left-content{
display: flex;
flex-direction: column;
justify-content: center;
position: sticky;
top: 0%;
}

@media(max-width: 991px) {
.left-content{
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
top: 0%;
}
}


/* 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;
}


/* ===============================
TABS
================================*/
.patch-main-tabs{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:12px;
max-width:1100px;
margin:0 auto 60px;
}

.patch-tab{
padding:10px 18px;
border-radius:50px;
border:1px solid #dcdcdc;
background:#f5f5f5;
color:#555;
font-size:14px;
cursor:pointer;
transition:.3s;
white-space:nowrap;
}

.patch-tab:hover{
background:#e9f2ff;
}

.patch-tab.active{
background:#0068E5;
color:#fff;
border-color:#0068E5;
}

/* ===============================
TIMELINE WRAPPER
================================*/
.timeline-container{
position:relative;
max-width:1100px;
margin:auto;
}

.timeline{
display:none;
position:relative;
}

.timeline.active{
display:block;
}

/* ===============================
CENTER DASHED LINE
================================*/
.timeline-line{
position:absolute;
left:50%;
transform:translateX(-50%);
width:4px;
height:100%;
z-index:1;
background:repeating-linear-gradient(
to bottom,
#dcdcdc 0px,
#dcdcdc 8px,
transparent 8px,
transparent 18px
);
}

.timeline-progress{
position:absolute;
width:100%;
height:0%;
background:repeating-linear-gradient(
to bottom,
#0068E5 0px,
#0068E5 8px,
transparent 8px,
transparent 18px
);
}

/* ===============================
TIMELINE ITEMS (The Fix)
================================*/
.timeline-item {
display: grid;
grid-template-columns: 1fr 80px 1fr; /* Left | Middle | Right */
align-items: center;
margin: 100px 0; /* Reduced margin for better flow */
position: relative;
}

/* Force everything into the same row so they don't stack */
.timeline-content, .timeline-dot, .timeline-image {
grid-row: 1;
}

/* DOT CENTER - Stays in column 2 */
.timeline-dot {
grid-column: 2;
justify-self: center;
width: 42px;
height: 42px;
border-radius: 50%;
background: #e5e5e5;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
z-index: 5;
transition: .3s;
}

.timeline-dot.active {
background: #0068E5;
color: #fff;
transform: scale(1.15);
}

/* CONTENT & IMAGE BOXES */
.timeline-content,
.timeline-image {
width: 100%;
box-sizing: border-box;
}

.timeline-image img {
width: 100%;
max-width: 400px; /* Prevents images from getting too huge */
display: block;
border-radius: 15px;
margin: 0 auto;
}

/* --- ODD ITEMS (Content Left, Image Right) --- */
/* Odd items: content left, image right (default) */
.timeline-item:nth-child(odd) .timeline-content {
grid-column: 3;
text-align: left; /* text flows toward center */
padding-left: 20px;
}

.timeline-item:nth-child(odd) .timeline-image {
grid-column: 1;
text-align: left;
padding-right: 20px;
}

/* Even items: image left, content right (swapped) */
.timeline-item:nth-child(even) .timeline-content {
grid-column: 1;
text-align: left; /* text flows toward center */
padding-right: 20px;
}

.timeline-item:nth-child(even) .timeline-image {
grid-column: 3;
text-align: left;
padding-left: 20px;
}

/* Mobile override: stack everything */
@media (max-width: 768px) {

/* Move vertical line to align with dots */
.timeline-line {
left: 20px; /* aligns with center of 40px dot column */
transform: none;
width: 3px;
}

.timeline-progress {
left: 0;
}

.timeline-item {
display: grid;
grid-template-columns: 40px 1fr;
gap: 15px;
margin: 40px 0;
align-items: start;
}

.timeline-dot {
grid-column: 1;
grid-row: 1;
width: 32px;
height: 32px;
z-index: 5;
}

.timeline-content {
grid-column: 2;
grid-row: 1;
text-align: left;
padding: 0;
}

.timeline-image {
grid-column: 2;
grid-row: 2;
padding: 0;
}

/* Kill ALL desktop odd/even positioning */
.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(odd) .timeline-image,
.timeline-item:nth-child(even) .timeline-content,
.timeline-item:nth-child(even) .timeline-image {
grid-column: 2 !important;
text-align: left !important;
padding: 0 !important;
}
}

.timeline-image img{
width:100%;
display:block;
border-radius:10px;
}

/* ===============================
HEADINGS
================================*/
.service-tabs h1{
text-align:center;
margin-bottom:40px;
color:#333;
font-size:40px;
font-weight: 800;
letter-spacing: 0px;
}

.service-tabs-p{
text-align: center !important;
color:#333;
max-width: 700px;
}

@media (max-width :768px){
.service-tabs h1{
text-align:center;
margin-bottom:40px;
color:#333;
font-size:30px;
font-weight: 800;
letter-spacing: 0px;
}
}
