/* about-page-header */
.about-page-header {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: white !important;
    /* margin-bottom: 2rem; */
    position: relative;
    overflow: hidden;
}

.about-page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/slide-1.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.about-page-header .container {
    position: relative;
    z-index: 2;
}

.about-page-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-page-header .breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.about-page-header .breadcrumb a:hover {
    color: #e53935;
}

.about-page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--nunito-sans);
}

.about-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* CEO Vision Section */
.ceo-vision-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.ceo-img-side {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.ceo-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ceo-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(
        to top,
        rgba(4, 10, 47, 0.9) 0%,
        transparent 100%
    );
    color: #ffffff;
}

.ceo-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.ceo-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.ceo-text-side {
    padding: 60px 50px;
    position: relative;
}

.quote-icon-wrapper {
    margin-bottom: 30px;
}

.quote-icon-wrapper i {
    font-size: 4rem;
    color: #f0f0f0;
}

.vision-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.ceo-quote {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    color: #666;
    line-height: 1.8;
    border-left: 0px; /* Reference doesn't show a bar, just text */
}

.ceo-narrative {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.vision-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.vision-accent-line {
    width: 50px;
    height: 3px;
    background-color: #ff6b00; /* Orange color from reference */
}

.vision-footer-text {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .ceo-img-side {
        min-height: 400px;
    }
    .ceo-text-side {
        padding: 40px 30px;
    }
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #fcfbf8;
    position: relative;
    overflow: hidden;
}

.mv-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.mv-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mv-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(137, 2, 42, 0.1); /* Primary color with transparency */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.vision-card .mv-icon-wrapper {
    background: rgba(15, 147, 235, 0.1); /* Secondary color with transparency */
}

.mv-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.vision-card .mv-icon-wrapper i {
    color: var(--secondary-color);
}

.mv-card:hover .mv-icon-wrapper {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.vision-card:hover .mv-icon-wrapper {
    background: var(--secondary-color);
}

.mv-card:hover .mv-icon-wrapper i {
    color: #ffffff;
}

.mv-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.vision-card .mv-title {
    color: var(--secondary-color);
}

.mv-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.4s ease;
}

.vision-card .mv-title::after {
    background: var(--primary-color);
}

.mv-card:hover .mv-title::after {
    width: 60px;
}

.mv-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Service Listing Section */
.service-listing-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 15px; /* Added some padding for the "card in card" look from the reference */
}

.sl-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 15px; /* Rounded corners for the image itself */
    overflow: hidden;
    position: relative;
}

.sl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-listing-card:hover .sl-img {
    transform: scale(1.1);
}

.sl-content {
    padding: 25px 10px 10px;
    text-align: center;
}

.sl-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-listing-card:hover .sl-title {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .sl-img-wrapper {
        height: 200px;
    }
}

/* Product Listing Section */
.product-listing-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.pl-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pl-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(15, 147, 235, 0.3);
    z-index: 2;
}

.product-listing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.product-listing-card:hover .pl-img {
    transform: scale(1.15);
}

.pl-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pl-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.product-listing-card:hover .pl-title {
    color: var(--secondary-color);
}

.pl-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pl-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.pl-btn:hover {
    color: var(--secondary-color);
}

.pl-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .pl-img-wrapper {
        height: 200px;
    }
    .pl-content {
        padding: 20px;
    }
}

/* Gallery Section */
.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.gallery-img-wrapper {
    position: relative;
    height: 300px; /* Fixed height for masonry-like feel if needed, otherwise variable */
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(137, 2, 42, 0.9) 0%,
        rgba(15, 147, 235, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-img-wrapper {
        height: 250px;
    }
}

/* Contact Page */
#contact-section {
    background-color: whitesmoke;
}

.contact-form-card,
.contact-info-card {
    background-color: var(--white-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form-header h4 {
    font-family: var(--playfair-display);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2rem;
}

.custom-input {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-family: var(--nunito-sans);
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(6, 43, 137, 0.1);
}

.contact-info-title {
    font-family: var(--nunito-sans);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-info-desc {
    color: #6c757d;
    font-family: var(--nunito-sans);
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-icon-box {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f1f1;
}

.contact-icon-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-text h6 {
    font-family: var(--nunito-sans);
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p {
    color: #6c757d;
    font-family: var(--nunito-sans);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Branch Details Page */
.branch-hero-title {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.5px;
}

.branch-title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.branch-info-card {
    background-color: var(--white-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-form-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.cms-content-card {
    background-color: var(--white-color);
}

.cms-text {
    font-family: var(--nunito-sans);
    line-height: 1.8;
}

.cms-text h2,
.cms-text h3,
.cms-text h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.cms-text ul,
.cms-text ol {
    margin-bottom: 20px;
}

.cms-text li {
    margin-bottom: 8px;
}

.branch-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .branch-hero-title {
        font-size: 2.2rem;
    }
}

faq-section {
    background: var(--clr-off-white);
    position: relative;
    overflow: hidden;
}

.faq-section__subtitle {
    font-size: 1rem;
    color: var(--clr-text-mid);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.faq-item {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(216, 67, 21, 0.3);
}

.faq-header {
    margin-bottom: 0;
}

.faq-button {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.faq-button__text {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-text-dark);
}

.faq-button__icon {
    color: var(--clr-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-button__arrow {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    transition: transform 0.3s ease;
}

.faq-button:not(.collapsed) {
    background: rgba(216, 67, 21, 0.03);
}

.faq-button:not(.collapsed) .faq-button__arrow {
    transform: rotate(180deg);
    color: var(--clr-primary);
}

.faq-body {
    padding: 0 24px 24px 58px;
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    line-height: 1.7;
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
}

.custom-quote-content {
    background-color: #e9e8e8;
    border-radius: 12px;
    position: relative;
    padding: 30px 40px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.custom-quote-body {
    padding: 0;
}

.quote-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
}

.btn-close-custom {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-close-custom:hover {
    background-color: #333;
}

.btn-close-custom i {
    font-size: 1.25rem;
}

.quote-input,
.quote-textarea {
    border: 1px solid #999;
    color: #333;
    padding: 12px 15px;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.2s;
}

.quote-input:focus,
.quote-textarea:focus {
    border-color: #006dae;
    outline: none;
    box-shadow: none;
}

.quote-textarea {
    resize: vertical;
}

.quote-input::placeholder,
.quote-textarea::placeholder {
    color: #6c757d;
}

.btn-quote-send {
    background-color: #005689;
    color: #fff !important;
    border: none;
    padding: 12px;
    transition: background-color 0.2s;
}

.btn-quote-send:hover {
    background-color: #00426b;
}

@media (max-width: 767.98px) {
    .custom-quote-content {
        padding: 20px;
    }
    .quote-title {
        font-size: 1.5rem;
    }
}
