:root {
    --primary-blue: #1a2838;
    --light-blue: #4a90c5;
    --dark-blue: #0f2940;
    --accent-blue: #0b76bc;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: #1D2B3A !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

a#navlogo img {
    max-width: 22% !important;
}

.navbar-brand {
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-brand img {
    max-width: 180px;
}

.nav-link {
    color: rgba(255, 255, 255) !important;
    margin: 0.6rem;
    transition: color 0.3s;
    font-weight: 600;
}

.navbar-toggler {
    border: none !important;
    color: #fff !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.nav-link:hover {
    color: white !important;
}

button.navbar-toggler.collapsed {
    color: #fff !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 4.3rem;
    font-weight: 700;
    animation: fadeInDown 1s;
    line-height: 5rem;
}

.hero-hr {
    width: 100px;
    border: 2px solid var(--accent-blue);
    margin: 20px auto;
    opacity: 1;
}

.hero p {
    font-size: 1.5rem;
    line-height: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s;
    max-width: 56rem;
}

/* About Section */
#about {
    padding: 6rem 0;
}

.about-section {
    background: #ffffff;
}

.about-title {
    text-align: left;
    font-size: 3rem !important;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 30px;
}

.about-content {
    max-width: 1180px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.about-content p {
    margin-bottom: 18px;
    font-size: 1.125rem;
}

.about-content strong {
    font-weight: 700;
}

.about-content em {
    font-style: italic;
    color: #444;
    display: block;
    margin: 10px 0;
}

/* Profile Quote Section */
.profile-quote-section {
    padding: 80px 0;
}

/* Full card */
.profile-card {
    position: relative;
    width: 100%;
    max-width: 366px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    height: 376px;
    margin: 0 auto;
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 91, 170, 0.95) 100%);
    color: white;
    text-align: left;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.profile-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.quote-box {
    background: #f9fbfd;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* QUOTE TEXT */
.quote-box p {
    font-size: 1.5rem;
    line-height: 1.625;
    color: #1f2937;
}

/* QUOTE ICONS */
.quote-icon {
    font-size: 40px;
    color: #0077c8;
    font-weight: bold;
}

/* Strategy Section */
#strategy_section {
    padding: 6rem 0;
}

.strategy-section {
    padding: 100px 0;
    background: #f8fafc;
}

#strategy_section .about-title {
    color: #006cbf;
    font-size: 2.25rem !important;
    font-weight: 700;
    line-height: 2.7rem;
}

.strategy-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #E1EDF4;
    border-radius: 50%;
    margin-right: 10px;
}

.strategy-icon object {
    width: 70%;
    height: auto;
}

.lead-text {
    max-width: 1076px;
    margin: 0 auto;
    color: #6d6d6d;
    font-size: 1.1rem;
    line-height: 1.7rem;
}

.strategy-card {
    background: #ffffff;
    padding: 45px 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.strategy-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.144);
}

.strategy-card:hover img {
    transform: scale(1.2);
    transition: all ease 0.1s;
    transition-duration: inherit;
}

.strategy-img {
    width: 70% !important;
    height: auto;
    margin-bottom: 25px;
}

.divider {
    width: 100%;
    height: 3px;
    background: #0072c6;
    margin-bottom: 20px;
}

.strategy-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: #035f9c;
    letter-spacing: .3px;
}

/* WHY HUBLOG */
.accordion-button {
    background-color: #0a72b8;
    color: #fff;
    font-size: 20px;
    padding: 20px;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:hover {
    background-color: #095A94;
    color: #fff;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button:not(.collapsed) {
    background-color: #0a72b8;
    color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
    border-radius: 10px 10px !important;
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border: 1px solid #ddd;
    border-radius: 10px 10px !important;
}

.accordion-body {
    background: #ffffff;
    padding: 25px;
    font-size: 16px;
    border-radius: 10px 10px !important;
}

/* Team Section */
#team {
    background-color: #2C5F8D;
    padding: 6rem 0;
    text-align: center;
}

.team-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.team_logo h3,
.team_logo p {
    color: white;
}

.team-card {
    /* width: 100%; */
    background: #DBEAFE;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.35s ease;
    cursor: pointer;
    border: none;
}

.team-card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.35);
}

.team-card:hover img {
    filter: brightness(0.95);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #000 !important;
}

.profile-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.profile-logos img {
    width: 90px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.card {
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 30px;
}

.custom-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff !important;
    box-shadow: 2px 5px 13px 3px #00000029;
    border-radius: 0px 0px 10px 10px
}

.profile-pic {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.nameplate {
    background-color: #DBEAFE;
    font-weight: bold;
    color: #333;
    padding: 1rem;
}

.nameplate h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.text-content {
    color: #333;
    font-size: 1.125rem;
    line-height: 1.75rem;
    line-height: 1.625;
}

.background-heading {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.custom-list {
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.custom-list li {
    margin-bottom: 0.5rem;
    position: relative;
    color: #333;
}

.custom-list li::before {
    content: "\2022";
    color: var(--accent-blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

div#team_section_details {
    gap: 15px !important;
    display: flex;
    flex-direction: column;
}

.strategy-img-box {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 650px;
}

.strategy-img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.strategy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(30, 90, 160, 1), rgba(30, 90, 160, 0));
    height: 84%;
}

.strategy-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.strategy-icon {
    width: 40px;
    height: auto;
    margin-bottom: 5px;
}

.strategy-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.strategy-content {
    background: white;
    border-radius: 0px 15px 15px 0px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.12);
}

.strategy-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #035f9c;
    margin-bottom: 20px;
}

.strategy-content ul {
    padding-left: 20px;
}

.strategy-content ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.strategy-content ul li::marker {
    color: #0072c6;
    font-weight: bold;
}

.strategy-content p {
    margin-bottom: 25px;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #374151;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    padding: 6rem 0rem;
}

#footer-content {
    color: white;
}

#footer-content h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #fff !important;
}

#footer-content ul {
    list-style: none;
}

#footer-content ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

#footer-content ul li:hover {
    color: var(--light-blue);
    cursor: pointer;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-Up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .hero p {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        line-height: 1.7rem;
    }

    .about-title {
        font-size: 2.5rem !important;
    }

    .team-title {
        font-size: 2.5rem;
    }

    .strategy-title {
        font-size: 24px;
    }

    .quote-box p {
        font-size: 1.3rem;
    }

    .profile-card {
        height: 350px;
    }

    .profile-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 450px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    .about-title {
        font-size: 2rem !important;
    }

    .team-title {
        font-size: 2rem;
    }

    .strategy-title {
        font-size: 20px;
    }

    .quote-box {
        padding: 2rem;
        height: auto;
        margin-top: 30px;
    }

    .quote-box p {
        font-size: 1.2rem;
    }

    .profile-card {
        height: 320px;
    }

    .profile-info h3 {
        font-size: 1.3rem;
    }

    .strategy-card {
        padding: 30px 20px 20px;
    }

    .accordion-button {
        font-size: 18px;
        padding: 1.2rem;
    }

    .team-wrapper {
        gap: 20px;
    }

    .team-card {
        width: 200px;
    }

    .team-card img {
        height: 250px;
    }

    .navbar-brand img {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .nav-link {
        margin: 0rem !important;
        font-size: 14px;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: 900px;
    }

    #teamcardpadding {
        padding: 0 20px !important;
    }

    #myAccordioncontainer {
        padding: 0 !important;
    }

    #myAccordion {
        padding: 0 !important;
    }

    .hero h1 {
        font-size: 3.6rem;
        line-height: 2.5rem;
    }

    .hero-hr {
        margin-bottom: 4rem !important;
    }

    .hero p {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    #about {
        padding: 6rem 1rem;
    }
    #references {
        padding: 6rem 1rem;
    }

    .about-title {
        font-size: 3rem !important;
        text-align: center;
    }

    .team-title {
        font-size: 2rem;
    }

    .strategy-title {
        font-size: 18px;
    }

    .quote-box {
        padding: 2rem 2rem;
    }

    .quote-box p {
        font-size: 1.4rem;
    }

    #strategy_section {
        padding: 2rem 1rem;
    }

    #why_hubblog {
        padding: 2rem 1rem;
    }

    #why_hubblog object {
        width: 40px !important;
        height: auto;
    }

    #why_hubblog .about-title {
        font-size: 2.3rem !important;
        text-align: left;
        margin-bottom: 3rem;
    }

    #why_hubblog .about-content .d-flex {
        justify-content: left !important;
        margin-bottom: 2rem !important;
    }

    #accordion_section {
        margin: 0 !important;
        padding: 0 !important;
    }

    #why_hubblog .image-container {
        margin: 0 !important;
    }

    #why_hubblog p {
        margin-top: 20px;
    }

    .custom-shadow {
        padding: 0 !important;
    }

    .profile-card {
        height: 100%;
    }

    #strategy {
        opacity: 1 !important;
    }

    .profile-info {
        padding: 1.5rem;
    }

    .profile-info h3 {
        font-size: 1.8rem;
    }

    .profile-info p {
        font-size: 1.2rem;
    }

    .strategy-card {
        padding: 25px 15px 15px;
    }

    .accordion-button {
        font-size: 16px;
        padding: 1rem;
    }

    .team-wrapper {
        gap: 20px;
        padding: 0rem 1rem;
    }

    #team_top {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px;
    }

    .team_logo h3 {
        color: #fff;
        font-size: 2rem;
    }

    .team-card {
        width: 85%;
    }

    .team-card img {
        height: 379px;
    }

    .team-name {
        font-size: 16px;
        color: #000 !important;
    }

    .navbar-brand img {
        max-width: 120px;
    }

    a#navlogo img {
        max-width: 54% !important;
    }

    #footer-content {
        padding: 0 1rem;
    }

    .text-content,
    .about-content p {
        font-size: 1rem;
    }

    #teamcards {
        text-align: -webkit-center !important;
    }
}

@media (min-width: 768px) {
    .profile-logos img {
        width: 110px;
    }
}

@media (min-width: 1200px) {
    .profile-logos img {
        width: 84px;
    }
}