.about-header {
    background-color: white;
    border-radius: 28px;
    margin: 31px auto 20px auto;
    padding: 60px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-family: var(--font_type);

}

.about-header h1 {
    font-size: var(--title-font-size);
    font-weight: var(--title-font-weight);
}

.about-header p {
    font-size: 20px;
    font-weight: 400;
    color: #3B3B3B;
}

.inquiry {
    background-color: #FFFFFF;
    padding: 63px 78px;
    border-radius: 28px;
    margin-bottom: 50px;
}

.inquiry-title {
    width: 100%;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 69px;
}

.inquiry-title span {
    font-weight: 900;
}

.inquiry-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.contact-form form {
    display: flex;
    flex-wrap: wrap;
    column-gap: 42px;
    row-gap: 27px;
}

.form.half {
    width: calc(50% - 21px);
}

.form.full {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 20px;
    line-height: 20px;
    color: #3B3B3B;
    margin-bottom: 14px;
}

.form-group label span.required {
    font-size: 20px;
    line-height: 20px;
    color: #FF0000;
}

.form-group input,
.form-group textarea {
    height: 49px;
    border-radius: 7px;
    background-color: #F8F8F8;
    border: none;
    padding: 8px 15px;
    font-size: 18px;
}

.form-group textarea {
    height: 180px;
}

.form-group input:focus,
.form-group textarea:focus {
    border: none;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    border: none;
    outline: none;
}

.submit-btn {
    height: 38px;
    width: 131px;
    margin: auto;
}

.Branches {
    background-color: #FFFFFF;
    padding: 60px 40px;
    border-radius: 28px;
    margin-bottom: 46px;
    position: relative;
    overflow: hidden;
}



.Branches > * {
    position: relative;
    z-index: 6;
}

.Branches-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 55px;
    color: #3B3B3B;
}

.Branches-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.Branches-address {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.Branches-address::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 169, 1, 0.1), transparent);
    transition: left 0.8s ease;
}

.Branches-address:hover::before {
    left: 100%;
}

.Branches-address:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.Branches-address-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.Branches-address-pin {
    background: linear-gradient(135deg, #E6A901, #fef006);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(230, 169, 1, 0.3);
    transition: all 0.3s ease;
}

.Branches-address-pin:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(230, 169, 1, 0.5);
}

.Branches-address-pin img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.Branches-address-detail {
    font-size: 18px;
    line-height: 28px;
    color: #2c3e50;
    font-weight: 500;
}

.Branches-address-detail a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.Branches-address-detail a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.Branches-address-detail a:hover::after {
    width: 100%;
}

.Branches-address-detail a:hover {
    color: #764ba2;
    transform: translateY(-1px);
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.map-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #E6A901, #fef006);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-container:hover::before {
    opacity: 1;
}

.map-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    filter: saturate(1.1) contrast(1.05);
}

.map-container:hover .map-frame {
    filter: saturate(1.2) contrast(1.1) brightness(1.05);
}

/* Floating Info Card */
.map-container::after {
    content: 'The Tyre Station';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.Representatives {
    background-color: #FFFFFF;
    padding: 48px 78px;
    border-radius: 28px;
    margin-bottom: 46px;
}

.Representatives-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: #3B3B3B;
}

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

.Representatives-item {
    background: #f9f9f9;
    padding: 20px 25px;
    border-radius: 18px;
    font-size: 18px;
    line-height: 26px;
    min-width: 230px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.Representatives-item a {
    color: #1363C6;
    font-weight: bold;
    text-decoration: none;
}

.Representatives-item a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
 .Branches {
        padding: 40px 25px;
        margin-bottom: 40px;
    }

    .Branches-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .Branches-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .map-container {
        height: 400px;
    }

    .Branches-address {
        max-width: 100%;
    }

    .Branches-address-inner {
        max-width: 100%;
        justify-content: center;
        text-align: left;
    }

    .inquiry {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .inquiry-title {
        margin-bottom: 33px;
    }

    .form-group input,
    .form-group textarea {
        height: 44px;
        font-size: 16px;
    }

    .form-group textarea {
        height: 125px;
    }

    .form-group label {
        font-size: 18px;
    }
}

@media (max-width: 767.98px)  {
   .Branches {
        padding: 30px 20px;
    }

    .Branches-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .Branches-address {
        padding: 30px 20px;
    }

    .Branches-address-detail {
        font-size: 16px;
        line-height: 24px;
    }

    .map-container {
        height: 350px;
    }

    .map-container::after {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .contact-form form {
        column-gap: 15px;
        row-gap: 15px;
    }

    .form-group label {
        margin-bottom: 10px;
    }

    .form.half {
        width: calc(50% - 8px);
    }

    .Representatives {
        padding: 25px 20px;
        margin-bottom: 35px;
    }

    .Representatives-item {
        min-width: 100%;
    }

   
}

@media (max-width: 575.98px) {
    .form.half {
        width: 100%;
    }

    .Branches-content {
        gap: 25px;
    }

    .map-container {
        height: 300px;
        border-radius: 20px;
    }

    .Branches-address {
        border-radius: 20px;
    }
}