/* =========================================================
   SAINT LUCIA SHIP REGISTRY
   HEADER - FINAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17324d;
}

a {
    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   BUILDING PHOTO
   ========================================================= */

.header-background {

    position: relative;

    width: 100%;

    min-height: 520px;

    background-image:
        url("/assets/images/headquarters-building.jpg");

    background-size: cover;

    background-position:
        center center;

    background-repeat: no-repeat;

    color: #ffffff;

}


/* =========================================================
   DARK OVERLAY
   ========================================================= */

.header-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 30, 51, 0.78),
            rgba(7, 39, 64, 0.60),
            rgba(7, 39, 64, 0.42)
        );

}


/* =========================================================
   HEADER CONTENT
   ========================================================= */

.header-inner {

    position: relative;

    z-index: 5;

    width: 90%;

    max-width: 1450px;

    margin: 0 auto;

}


/* =========================================================
   TOP CONTACT BAR
   ========================================================= */

.top-bar {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.top-contact {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 25px;

}


.top-contact a {

    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

    white-space: nowrap;

    transition: 0.2s ease;

}


.top-contact a:hover {

    color: #d9eaf5;

}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.top-social {

    display: flex;

    align-items: center;

    gap: 9px;

}


.top-social a {

    width: 29px;

    height: 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid
        rgba(255,255,255,0.55);

    border-radius: 50%;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    transition: 0.25s ease;

}


.top-social a:hover {

    background: #ffffff;

    color: #17324d;

}


/* =========================================================
   LINE
   ========================================================= */

.header-line {

    width: 100%;

    height: 1px;

    background:
        rgba(255,255,255,0.38);

}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {

    min-height: 105px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {

    display: block;

    flex-shrink: 0;

}


.site-logo img {

    display: block;

    width: auto;

    height: 72px;

    max-width: 270px;

    object-fit: contain;

}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 29px;

}


.main-nav > a {

    position: relative;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.2px;

    white-space: nowrap;

    transition: 0.2s ease;

}


.main-nav > a:not(.login-button)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -9px;

    width: 0;

    height: 2px;

    background: #ffffff;

    transition: width 0.25s ease;

}


.main-nav > a:not(.login-button):hover::after {

    width: 100%;

}


/* =========================================================
   LOGIN
   ========================================================= */

.main-nav .login-button {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 110px;

    padding: 15px 25px;

    background: #ffffff;

    color: #17324d;

    border-radius: 2px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.25s ease;

}


.main-nav .login-button:hover {

    background: #eaf1f6;

    transform: translateY(-1px);

}


/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.mobile-menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .main-nav {

        gap: 18px;

    }

    .main-nav > a {

        font-size: 12px;

    }

    .site-logo img {

        height: 62px;

        max-width: 230px;

    }

}


/* =========================================================
   MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 950px) {

    .header-background {

        min-height: 500px;

    }


    .top-bar {

        padding: 14px 0;

        align-items: flex-start;

    }


    .top-contact {

        gap: 7px 18px;

    }


    .top-contact a {

        font-size: 12px;

    }


    .top-social {

        display: none;

    }


    .main-header {

        min-height: 85px;

    }


    .site-logo img {

        height: 56px;

        max-width: 210px;

    }


    .mobile-menu-button {

        display: block;

    }


    .main-nav {

        display: none;

        position: absolute;

        top: 158px;

        right: 0;

        width: 280px;

        padding: 22px;

        background: #17324d;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        box-shadow:
            0 15px 35px rgba(0,0,0,0.30);

    }


    .main-nav.mobile-active {

        display: flex;

    }


    .main-nav > a {

        padding: 13px 5px;

        font-size: 14px;

        border-bottom:
            1px solid rgba(255,255,255,0.12);

    }


    .main-nav > a:not(.login-button)::after {

        display: none;

    }


    .main-nav .login-button {

        margin-top: 15px;

        width: 100%;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .header-background {

        min-height: 470px;

        background-position: center center;

    }


    .header-inner {

        width: 92%;

    }


    .top-bar {

        display: block;

        padding: 12px 0;

    }


    .top-contact {

        display: block;

    }


    .top-contact a {

        display: inline-block;

        margin-right: 12px;

        margin-bottom: 4px;

        font-size: 11px;

    }


    .main-header {

        min-height: 82px;

    }


    .site-logo img {

        height: 50px;

        max-width: 190px;

    }


    .main-nav {

        top: 150px;

        width: 100%;

    }

}


/* =========================================================
   VERY SMALL SCREEN
   ========================================================= */

@media (max-width: 400px) {

    .site-logo img {

        height: 45px;

        max-width: 175px;

    }

    .mobile-menu-button {

        font-size: 27px;

    }

}
/* =========================================================
   HOME / INDEX PAGE
   ========================================================= */


/* =========================================================
   COMMON
   ========================================================= */

.home-container {
    width: 90%;
    max-width: 1450px;
    margin: 0 auto;
}

.home-section {
    width: 100%;
    padding: 85px 0;
}


/* =========================================================
   HOME INTRO
   ========================================================= */

.home-intro {
    width: 100%;
    background: #ffffff;
    padding: 75px 0;
}

.home-intro .home-container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.home-intro-content {
    min-width: 0;
}

.home-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding-left: 13px;
    border-left: 3px solid #17324d;

    color: #52728e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.home-intro-content h1 {
    margin: 0 0 15px;

    color: #17324d;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.12;
}

.home-lead {
    margin: 0 0 20px;

    color: #52728e;
    font-size: 21px;
    font-weight: 600;
}

.home-intro-content > p:not(.home-lead) {
    max-width: 780px;
    margin: 0 0 28px;

    color: #617383;
    font-size: 16px;
    line-height: 1.9;
}


/* BUTTONS */

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 13px 25px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.home-button.primary {
    background: #17324d;
    color: #ffffff;
}

.home-button.primary:hover {
    background: #285572;
}

.home-button.secondary {
    border: 1px solid #17324d;
    background: #ffffff;
    color: #17324d;
}

.home-button.secondary:hover {
    background: #17324d;
    color: #ffffff;
}


/* AUTHORITY CARD */

.home-authority-card {
    min-width: 0;

    padding: 35px;

    background: #f3f7fa;

    border-top: 4px solid #17324d;
    border-left: 1px solid #dfe7ed;
    border-right: 1px solid #dfe7ed;
    border-bottom: 1px solid #dfe7ed;
}

.home-authority-card > span {
    display: block;
    margin-bottom: 17px;

    color: #52728e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.home-authority-card h2 {
    margin: 0 0 12px;

    color: #17324d;
    font-size: 24px;
    line-height: 1.3;
}

.home-authority-card p {
    margin: 0 0 15px;

    color: #637584;
    font-size: 14px;
    line-height: 1.8;
}

.authority-line {
    width: 100%;
    height: 1px;
    margin: 18px 0;

    background: #dce4e9;
}

.home-authority-card > a {
    color: #52728e;
    font-size: 14px;
    font-weight: 600;
}

.home-authority-card > a:hover {
    color: #17324d;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.home-heading {
    max-width: 780px;
    margin: 0 auto 45px;

    text-align: center;
}

.home-heading > span {
    display: block;
    margin-bottom: 12px;

    color: #52728e;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.home-heading h2 {
    margin: 0 0 14px;

    color: #17324d;

    font-size: 38px;
    line-height: 1.2;
}

.home-heading p {
    margin: 0;

    color: #687987;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   WELCOME
   ========================================================= */

.welcome-section {
    background: #f4f7fa;
}

.welcome-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.welcome-card {
    min-width: 0;

    padding: 32px 28px;

    background: #ffffff;

    border: 1px solid #e1e8ed;

    transition: 0.3s ease;
}

.welcome-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 32px rgba(23, 50, 77, 0.08);
}

.card-number {
    margin-bottom: 17px;

    color: #9aabb8;

    font-size: 13px;
    font-weight: 700;
}

.welcome-card h3 {
    margin: 0 0 12px;

    color: #17324d;

    font-size: 21px;
}

.welcome-card p {
    margin: 0 0 20px;

    color: #687987;

    font-size: 14px;
    line-height: 1.8;
}

.welcome-card a {
    color: #52728e;

    font-size: 13px;
    font-weight: 700;
}

.welcome-card a:hover {
    color: #17324d;
}


/* =========================================================
   ABOUT
   ========================================================= */

.home-about {
    background: #ffffff;
}

.home-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(320px, 0.9fr);

    gap: 70px;

    align-items: center;
}

.home-about-content {
    min-width: 0;
}

.home-section-label {
    display: block;

    margin-bottom: 12px;

    color: #52728e;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.home-about-content h2 {
    margin: 0 0 20px;

    color: #17324d;

    font-size: 39px;
    line-height: 1.2;
}

.home-about-content p {
    margin: 0 0 17px;

    color: #617383;

    font-size: 15px;
    line-height: 1.9;
}

.dark-button {
    display: inline-flex;

    margin-top: 8px;

    padding: 13px 24px;

    background: #17324d;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.dark-button:hover {
    background: #285572;
}


/* ABOUT PANEL */

.home-about-panel {
    min-width: 0;

    padding: 10px 30px;

    background: #17324d;
}

.about-panel-item {
    padding: 25px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.14);
}

.about-panel-item:last-child {
    border-bottom: 0;
}

.about-panel-item strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 17px;
}

.about-panel-item span {
    color: #d3e0e8;

    font-size: 14px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
    background: #f4f7fa;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.service-card {
    min-width: 0;

    padding: 30px 25px;

    background: #ffffff;

    border: 1px solid #e1e8ed;

    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(23,50,77,0.08);
}

.service-number {
    margin-bottom: 17px;

    color: #9aabb8;

    font-size: 13px;
    font-weight: 700;
}

.service-card h3 {
    margin: 0 0 11px;

    color: #17324d;

    font-size: 19px;
    line-height: 1.3;
}

.service-card p {
    min-height: 75px;

    margin: 0 0 18px;

    color: #687987;

    font-size: 14px;
    line-height: 1.8;
}

.service-card a {
    color: #52728e;

    font-size: 13px;
    font-weight: 700;
}

.service-card a:hover {
    color: #17324d;
}


/* =========================================================
   INFORMATION STRIP
   ========================================================= */

.home-information {
    width: 100%;

    padding: 50px 0;

    background: #17324d;

    color: #ffffff;
}

.home-information .home-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.information-content {
    min-width: 0;
}

.information-content > span {
    display: block;

    margin-bottom: 8px;

    color: #b9cfdd;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.information-content h2 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 28px;
}

.information-content p {
    margin: 0;

    color: #d4e1e8;

    font-size: 14px;
}

.information-contact {
    display: flex;

    gap: 60px;
}

.information-contact > div {
    min-width: 180px;
}

.information-contact strong {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 13px;
}

.information-contact a {
    display: block;

    margin: 3px 0;

    color: #d4e1e8;

    font-size: 14px;
}

.information-contact a:hover {
    color: #ffffff;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-section {
    background: #ffffff;
}

.quick-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.quick-grid a {
    min-width: 0;

    padding: 23px 20px;

    background: #f4f7fa;

    border: 1px solid #e1e8ed;

    transition: 0.25s ease;
}

.quick-grid a:hover {
    background: #17324d;

    border-color: #17324d;

    transform: translateY(-3px);
}

.quick-grid strong {
    display: block;

    margin-bottom: 7px;

    color: #17324d;

    font-size: 15px;
}

.quick-grid span {
    color: #687987;

    font-size: 13px;
}

.quick-grid a:hover strong,
.quick-grid a:hover span {
    color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .home-intro .home-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-authority-card {
        max-width: 650px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .quick-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-information .home-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .information-contact {
        width: 100%;
        flex-wrap: wrap;
        gap: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .home-container {
        width: 90%;
    }

    .home-section {
        padding: 65px 0;
    }

    .home-intro {
        padding: 60px 0;
    }

    .home-intro-content h1 {
        font-size: 38px;
    }

    .home-lead {
        font-size: 18px;
    }

    .home-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
    }

    .home-button {
        width: 100%;
    }

    .home-authority-card {
        padding: 27px;
    }

    .home-heading {
        margin-bottom: 35px;
    }

    .home-heading h2 {
        font-size: 30px;
    }

    .welcome-grid,
    .services-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .home-about-content h2 {
        font-size: 31px;
    }

    .service-card p {
        min-height: auto;
    }

    .information-contact {
        flex-direction: column;
        gap: 22px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .home-intro-content h1 {
        font-size: 34px;
    }

    .home-about-content h2 {
        font-size: 28px;
    }

}
/* =========================================================
   FOOTER - FINAL
   ========================================================= */

.site-footer {

    width: 100%;

    margin: 0;

    padding: 60px 0 0;

    background: #414141;

    color: #ffffff;

}


/* =========================================================
   FOOTER CONTAINER
   ========================================================= */

.footer-container {

    width: 90%;

    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1.35fr
        1fr;

    gap: 55px;

    padding-bottom: 45px;

}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-column {

    min-width: 0;

}


.footer-column h3 {

    margin: 0 0 22px;

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;

}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-logo {

    display: block;

    width: auto;

    height: 65px;

    max-width: 250px;

    object-fit: contain;

    margin-bottom: 22px;

}


.footer-description {

    margin: 0 0 12px;

    color: #e0e0e0;

    font-size: 14px;

    line-height: 1.8;

}


.footer-address {

    margin: 0;

    color: #c8c8c8;

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.footer-links {

    list-style: none;

    margin: 0;

    padding: 0;

}


.footer-links li {

    margin: 0;

    padding: 0;

}


.footer-links a {

    display: inline-block;

    padding: 5px 0;

    color: #d5d5d5;

    font-size: 14px;

    transition: 0.2s ease;

}


.footer-links a::before {

    content: "›";

    display: inline-block;

    margin-right: 8px;

    color: #9fb4c2;

}


.footer-links a:hover {

    color: #ffffff;

    transform: translateX(3px);

}


/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact-item {

    margin-bottom: 22px;

}


.footer-contact-title {

    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

}


.footer-contact-item a {

    display: block;

    margin: 3px 0;

    color: #d5d5d5;

    font-size: 14px;

    line-height: 1.6;

}


.footer-contact-item a:hover {

    color: #ffffff;

}


/* =========================================================
   SOCIAL
   ========================================================= */

.footer-social-text {

    max-width: 240px;

    margin: 0 0 20px;

    color: #c8c8c8;

    font-size: 14px;

    line-height: 1.7;

}


.footer-social-icons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.footer-social-icons a {

    width: 39px;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0;

    border: 1px solid
        rgba(255,255,255,0.35);

    border-radius: 50%;

    background: transparent;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;

}


.footer-social-icons a:hover {

    background: #ffffff;

    color: #414141;

    border-color: #ffffff;

    transform: translateY(-2px);

}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {

    width: 90%;

    max-width: 1450px;

    min-height: 65px;

    margin: 0 auto;

    padding: 18px 0;

    border-top:
        1px solid rgba(255,255,255,0.18);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    color: #bfbfbf;

    font-size: 12px;

}


.footer-bottom div {

    color: #bfbfbf;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .footer-container {

        grid-template-columns:
            1.5fr
            1fr
            1.3fr;

        gap: 40px;

    }

    .footer-column:last-child {

        grid-column: 1 / -1;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .site-footer {

        padding-top: 45px;

    }


    .footer-container {

        width: 90%;

        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 35px;

    }


    .footer-column:last-child {

        grid-column: auto;

    }


    .footer-logo {

        height: 58px;

    }


    .footer-bottom {

        width: 90%;

        padding: 18px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;

        line-height: 1.6;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .footer-container {

        width: 92%;

    }

    .footer-bottom {

        width: 92%;

    }

    .footer-logo {

        height: 52px;

        max-width: 210px;

    }

}