* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0025aa;
    --dark-blue: #003d7a;
    --light-blue: #e6f3ff;
    --accent-teal: #54C2D3;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-light: #e9ecef;
    --accent-gold: #ffcc00;
    --accent-orange: #ffbb33;
}

body {
    background-color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 37, 90, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 4rem;
    margin: 1rem 0 1rem 0;
    padding-top: 1rem;
}

h2 {
    color: var(--text-dark);
    font-size: 3rem;
    font-weight: 700;
    line-height: 3.3rem;
    margin: 1rem 0 2rem 0;
    text-align: center
}

h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 600;
    margin: 1.5rem 0 2rem 0
}

p {
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: left
}

section {
    align-items: center;
    margin: 0;
    padding: 1rem
}

.mt-1 {
    margin-top: 1rem
}

.ta-center {
    text-align: center
}

.logo {
    background-image: url(../img/hce-logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    height: 50px;
    min-height: 50px;
    width: 300px
}

.nav-container {
    align-items: center;
    display: flex;
    height: 65px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu-toggle {
    display: none;
    background: none;
    background-color: var(--text-dark);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    background: var(--accent-gold);
    width: 102%
}

/* Hero Section */
.hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    margin-top: 65px;
    min-height: 100vh;
    overflow: hidden;
    position: relative
}

.hero-container {
    max-width: 1200px;
    padding: 0 0 0 3rem;
    min-height: 90vh;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--accent-gold);
    margin: 0 0 2rem 0
}

.hero-content .highlight {
    color: var(--white);
}

.hero-content p {
    color: var(--white);
    width: 50%
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bg-white {
    background-color: #f5f5f5;
}

.btn-primary {
    align-items: center;
    background: var(--accent-teal);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    color: white;
    display: inline-flex;
    font-weight: 600;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.ml1 {
    margin-left: 1rem
}

.ml2 {
    margin-left: 2rem
}

.mr1 {
    margin-right: 1rem
}

.mr2 {
    margin-right: 2rem
}

.text-small {
    font-size: .9rem;
    line-height: 1.1rem
}

.text-justify {
    text-align: justify
}

.text-white {
    color: #fff;
}

.text-left {
    text-align:left
}

.features {
    padding: 4rem 0;
    background: var(--white);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin: 3rem
}

.feature-card {
    background: var(--accent-gold);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

/*
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--border-light);
    background: white;
}
*/
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
    background: var(--white);
    opacity: 0.9;
    padding: 1rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card li {
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin: 0 0 .5rem .5rem;
    text-align: left
}

.stats {
    align-items: center;
    background: linear-gradient(180deg, #ffcc00 0, #ffffff 100%)
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin: 3rem;
}

.stat {
    background-color: #fff;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.2rem;
}

.stat-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.stat-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    display: block;
    line-height: 1.6;
}

.stat-text {
    color: var(--text-medium);
    font-weight: 500
}

.stat-footnote {
    color: var(--text-small);
    margin-top: 1rem;
    font-weight: 400;
}

.contact {
    background-color: var(--accent-gold);
    padding: 2rem 0 2rem 0
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    width: 100%
}

.contact h3 {
    border-bottom: solid 1px #3a3a3a;
    font-weight: 300;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5rem;
    margin-bottom: 2rem;
    padding: .5rem;
    text-align: center;
    width: 100%;
}

.contact-form {
    background-color: #fff;
    margin: 1rem 20% 0 20%;
    padding: 1rem 5% 0 5%;
    width: 60%;
}

.contact-form form fieldset {
    border-style: none
}

.contact-form .row {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 7px;
    margin-bottom: 15px
}

.contact-form label {
    font-weight: 400;
    margin: 8px 0 0 0;
    width: 20%;
    text-align: left
}

.contact-form input {
    border: none;
    border-bottom-style: solid;
    border-bottom-color: #8e8e8e;
    margin: 8px 0 0 0;
    height: 30px;
    font-size: .9rem;
    line-height: 1.1rem;
    width: 80%
}

.contact-form input::placeholder {
    font-weight: 300;
    opacity: 0.8;
    color: #5d5d5d;
}

.contact-form input:focus {
    border-bottom-color: var(--primary-blue);
    outline: none
}

.contact-form #firstname {
    width: 35%;
    margin-right: 5%
}

.contact-form #lastname {
    width: 40%
}

.contact-form textarea {
    font-size: .9rem;
    line-height: 1.1rem;
    width: 80%
}

.contact-form textarea::placeholder {
    font-weight: 300;
    opacity: 0.8;
    color: #5d5d5d;
}

.contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    padding: .5rem
}

.description {
    margin-left: 20%;
    width: 60%
}

/* Footer */
.footer {
    align-items:center;
    background: var(--text-dark);
    color: white;
    padding: 1rem 0 1rem 0;
}

.footer-container {
    margin: 0;
    padding: 0 2rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem
}

.footer-brand h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 .5rem 0;
}

.footer-brand p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.2rem;
    padding-right: 4rem
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    font-size: .9rem;
    line-height: 1.1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 1rem;
 }

.footer-bottom p {
    color: #ccc;
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.1rem;
    margin: 0;
    text-align: center;
}

#footer-mobile {
    display:none
}

/* Responsive Design */
@media (max-width: 768px) {

    h2 {
        font-size: 2.4rem;
        line-height: 2.7rem;
        margin: 0 0 1.1rem 0
    }

    p {
        font-size: 1.1rem;
        line-height: 1.4rem;
        margin-bottom: 1.4rem
    }

    .nav-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu {
        gap: .5rem
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact {
        padding: 0
    }

    .contact h2 {
        font-size: 2rem;
        line-height: 2.3rem;
        margin-top: 1.5rem
    }

    .contact h3 {
        font-size: 1rem;
        line-height: 1.4rem;
        margin-bottom: 1.5rem;
        padding: 0
    }

    .contact-form {
        margin: 0;
        padding: 1rem;
        width: 100%
    }

    .contact-form label {
        font-size: .8rem;
        line-height: 1rem;
        margin: 10px 0;
        width: 25%
    }

    .contact-form input {
        width: 75%
    }

    .contact-form #firstname {
        width: 30%
    }

    .description {
        margin-left: 15%;
        width: 70%
    }

    .features-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        margin: 1rem
    }

    .feature-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1rem
    }

    #footer-col-1 {
        display: none
    }

    #footer-col-2 {
        display: none
    }

    #footer-mobile {
        display: block
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand p {
        padding-right: .5rem;
        text-align: center
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-container,
    .stats-container,
    .footer-container {
        padding: 0 1rem;
    }

    .features-container {
        padding: 0
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 3.4rem
    }

    .hero-content p {
        color: var(--white);
        width: 90%
    }

    .description {
        margin-left: 5%;
        width: 90%
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements coming into view */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hide {
    display: none;
}

.show {
    display: block;
}

.alert {
    color: #d00800;
}