﻿@import url("../../fonts/red-hat-font/redHat.css");

:root {
    --primary-red: #FF0000;
    --dark-red: #8b0000;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Global font family - Red Hat Display */
* {
    font-family: var(--font-family) !important;
}

body {
    font-family: var(--font-family) !important;
}

/* Override Bootstrap font families */
h1, h2, h3, h4, h5, h6, p,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.lead,
.navbar-brand,
.nav-link,
.btn,
.form-control,
.card-title,
.card-text,
.fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6 {
    font-family: var(--font-family) !important;
}

.container {
    max-width: calc(100% - 480px);
}

/* Responsive margins for different screen sizes */
@media (min-width: 1650px) {
    .container {
        margin-left: 240px;
        margin-right: 240px;
    }
}

@media (min-width: 1400px) and (max-width: 1649px) {
    .container {
        margin-left: 180px;
        margin-right: 180px;
        max-width: calc(100% - 360px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        margin-left: 120px;
        margin-right: 120px;
        max-width: calc(100% - 240px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        margin-left: 60px;
        margin-right: 60px;
        max-width: calc(100% - 120px);
    }
}

@media (max-width: 767px) {
    .container {
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 40px);
    }
}

.services-section {
    background-color: #DADADA;
    border-radius: 20px;
}

.light-gray-bg {
    background-color: #F1F1F1;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .services-section {
        margin-left: 120px;
        margin-right: 120px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .services-section {
        margin-left: 60px;
        margin-right: 60px;
    }
}

@media (max-width: 767px) {
    .services-section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.reminders-section {
    background-color: #ffffff;
    padding: 3rem 0;
}

.reminder-section-title {
    color: #232222;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    margin-bottom: 1.5rem;
}

.reminder-card {
    background-color: #F2F2F2;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

    .reminder-card:hover {
        transform: translateY(-5px);
    }

.reminder-title {
    color: #232222;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    margin-bottom: 4px;
}

.reminder-date {
    color: #232222;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.40px;
    word-wrap: break-word;
}

.reminder-icon {
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.icon-payment {
    width: 50px;
}

.icon-loading {
    width: 37px;
}

.reminder-arrow {
    width: 12px;
    height: auto;
}

.waiting-services-card,
.received-services-card {
    border-radius: 16px;
    border: none;
    background-color: #F9F9F9;
}

    .waiting-services-card .card-header,
    .received-services-card .card-header {
        background-color: #DEDEDE !important;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        padding: 20px 25px;
        border-bottom: none;
    }

.card-title {
    width: 100%;
    color: #1D1D1D;
    font-size: 16px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 800; 
    line-height: 16px;
    letter-spacing: 0.40px;
    word-wrap: break-word;
}

.waiting-list .list-group-item,
.received-list .list-group-item {
    background-color: #F9F9F9;
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 25px;
    border-left: none;
    border-right: none;
    border-top: none;
}

    .waiting-list .list-group-item:last-child,
    .received-list .list-group-item:last-child {
        border-bottom: none;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

.card-header-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

    .card-header-link:hover {
        color: inherit;
        text-decoration: none;
    }

.service-status-icon {
    width: 37px;
    height: 42px;
    display: block; 
}

.service-name {
    width: 100%;
    color: #232222;
    font-size: 15px;
    font-family: 'Red Hat Display', sans-serif; 
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    margin-bottom: 8px;
}

.service-link {
    color: inherit;
    text-decoration: none; 
    cursor: pointer;
}

    .service-link:hover {
        color: inherit; 
    }

.service-date {
    width: 100%;
    color: #232222;
    font-size: 14px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    margin: 0;
}

.progress-percentage {
    width: 100%; 
    color: #232222;
    font-size: 14px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    text-align: right;
}

.loading-indicator {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-indicator img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.complaint-btn {
    background-color: #1D1D1D;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    word-wrap: break-word;
    border: 1px solid #1D1D1D;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

    .complaint-btn:hover {
        opacity: 0.9;
    }

.complaint-btn-disabled {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    border-radius: 6px;
    white-space: nowrap;
    color: #ff0000;
    border: 1px solid #9CA3AF;
    cursor: not-allowed;
    opacity: 0.9;
}

.waiting-list .list-group-item,
.received-list .list-group-item {
    background-color: #F9F9F9;
    padding: 20px 25px;
    border: none; 
    position: relative; 
}

    .waiting-list .list-group-item::after,
    .received-list .list-group-item::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 25px;
        right: 25px;
        height: 1px;
        background-color: #E0E0E0;
    }

    .waiting-list .list-group-item:last-child::after,
    .received-list .list-group-item:last-child::after {
        display: none;
    }

    .waiting-list .list-group-item:last-child,
    .received-list .list-group-item:last-child {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

@media (max-width: 576px) {

    .complaint-btn {
        padding: 4px 8px;
        font-size: 12px;
        line-height: 12px;
    }

    .complaint-btn-disabled {
        padding: 2px 4px;
        font-size: 12px;
        line-height: 12px;
    }

    .waiting-services-card .card-header,
    .received-services-card .card-header,
    .list-group-item {
        padding: 15px;
    }
}

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-red);
}

/* Custom service button */
.custom-service-btn {
    border-radius: 12px;
    background-color: white;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 0.875rem;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
}

    .custom-service-btn:hover {
        background-color: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
    }

/* Custom learn more cards */
.learn-more-card {
    background-color: #F0F0F0;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    padding: 5px;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

    .card-title:not(.full-width) {
        max-width: 200px;
    }

.learn-more-btn {
    background-color: var(--primary-red);
    border: none;
    border-radius: 16px;
    color: white;
    padding: 8px 20px;
    align-self: flex-end;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

    .learn-more-btn:hover {
        background-color: var(--dark-red);
        color: white;
    }

/* Custom carousel controls */
.carousel-controls {
    position: relative;
    justify-content: flex-end;
    height: 50px;
    align-items: center;
}

.custom-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

    .custom-carousel-btn:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }

.carousel-arrow {
    height: 50px;
}

/* Override Bootstrap carousel controls positioning */
#learnMoreCarousel .carousel-control-prev,
#learnMoreCarousel .carousel-control-next {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    opacity: 1;
}

.section-bg-dark {
    background-color: var(--dark-gray);
    color: white;
}


/* Stats section styling */
.stat-item {
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    position: relative;
    border-right: 2px solid #DADADA;
    gap: 5px;
}

    .stat-item:last-child {
        border-right: none;
    }



.stat-number {
    font-size: 45px;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    text-align: left;
}

/* Events section styling */
.events-section {
    background-color: #111111;
    padding: 150px 0;
}

    .events-section h3 {
        text-align: left !important;
        font-weight: 700;
        font-size: 2rem;
        margin-bottom: 5rem;
    }

/* Custom event cards */
.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
}

    .event-card:hover {
        transform: translateY(-3px);
    }

    .event-card .card-img-container {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .event-card .card-img-top {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .event-card .event-icon {
        position: absolute;
        top: -5px;
        left: 15px;
        width: 40px;
        height: 40px;
        z-index: 2;
    }

    .event-card .card-body {
        padding: 30px;
    }

    .event-card .card-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
    }

    .event-card .card-text {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
    }

/* News section styling */
.news-separator {
    height: 2px;
    background-color: var(--primary-red);
    width: 100%;
}

.news-nav-arrow {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .news-nav-arrow:hover {
        opacity: 0.7;
    }

/* Custom news cards */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    height: 300px;
}

    .news-card:hover {
        transform: translateY(-3px);
    }

    .news-card .card-img-top {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .news-card .news-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        top: 0;
        width: 50%;
        background: rgba(43, 43, 43, 0.7);
        padding: 20px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.news-tag {
    background-color: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
    margin-bottom: 15px;
}

.news-card .news-link {
    color: white;
    text-decoration: underline;
    font-size: 0.85rem;
    transition: opacity 0.3s;
    margin-bottom: 10px;
}

    .news-card .news-link:hover {
        opacity: 0.8;
    }

.news-card .news-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-card .news-date {
    color: white;
    font-size: 0.85rem;
    margin-top: auto;
}

/* Newsletter section */
.newsletter-section {
    background-color: #F2F2F2;
    padding: 60px 0;
}

.newsletter-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-btn {
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    transition: background-color 0.3s;
}

    .newsletter-btn:hover {
        background-color: #555;
        color: white;
    }

.newsletter-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

    .social-icon:hover {
        opacity: 0.7;
    }

/* Custom CTA banner */
.cta-banner {
    background: url('/assetsFrontend/adv-cover.png');
    /*background-size: cover;*/
    color: white;
    height: 100vh;
    background-repeat: no-repeat;
}



.container {
    max-width: calc(100% - 480px);
}

/* Responsive margins for different screen sizes */
@media (min-width: 1650px) {
    .container {
        margin-left: 240px;
        margin-right: 240px;
    }
}

@media (min-width: 1400px) and (max-width: 1649px) {
    .container {
        margin-left: 180px;
        margin-right: 180px;
        max-width: calc(100% - 360px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        margin-left: 120px;
        margin-right: 120px;
        max-width: calc(100% - 240px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        margin-left: 60px;
        margin-right: 60px;
        max-width: calc(100% - 120px);
    }
}

@media (max-width: 767px) {
    .container {
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 40px);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background-image: url('/assetsFrontend/hero-animation-bg.gif');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 2;
}

.hero-container {
    height: 78vh;
    padding: 11vh 0;
}

.search-bar {
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: none;
    width: 780px;
    height: 64px;
    padding-left: 50px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(5, 61, 79, 0.3);
    z-index: 3;
    width: 24px;
    height: 24px;
}

.services-section {
    background-color: #DADADA;
    border-radius: 20px;
}

.light-gray-bg {
    background-color: #F1F1F1;
}



.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 10vh;
}

.search-wrapper {
    max-width: 600px;
    position: relative;
}

    .search-wrapper .form-control {
        padding-left: 3rem;
        font-size: 1.1rem;
        height: 64px;
        border: none;
    }


/* Responsive Design */
@media (max-width: 768px) {
    .search-wrapper {
        width: 85%;
    }

    .hero-section {
        padding-bottom: 5vh;
    }



        .hero-section .container.position-relative {
            margin-bottom: 10vh;
        }


    .hero-content-wrapper {
        padding-top: 8vh !important;
    }
}

@media (max-width: 576px) {
    .search-wrapper {
        width: 95%;
    }

        .search-wrapper .form-control {
            height: 56px;
            padding-left: 2.5rem;
            font-size: 1rem;
        }

    h1.display-4 {
        font-size: 2.5rem;
    }

    .hero-section .container.position-relative {
        margin-bottom: 10vh;
    }

    .hero-content-wrapper {
        padding-top: 10vh !important;
    }
}
