﻿@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;
}

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;
}


.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;
    }
}*/

.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-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);
    }

.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;
    }

.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;
}

#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;
}


.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 {
    background-color: #111111;
    padding: 150px 0;
}

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

.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-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;
    }

.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 {
    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;
    }


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

.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 78vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
}


@media (max-width: 991.98px) {

    .hero-container {
        height: auto;
        padding: 15vh 0 5vh;
    }

    .hero-section {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-content .form-control {
        width: 100% !important;
        margin: 0 auto;
    }


    .d-flex.align-items-center {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {

    .hero-container {
        padding-top: 20vh;
    }

    .navbar-collapse.show ~ .hero-container {
        padding-top: 25vh;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
}

.hero-section {
    position: relative;
    z-index: 1;
}


.hero-content {
    z-index: 2;
    position: relative;
}
