/* =========================================================
   SEA MARINE CONTACT PAGE
   NAVBAR CSS IS NOT INCLUDED HERE
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #07111f;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img,
video,
iframe,
svg {
    display: block;

    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    background-image:
        url("../Photo/Ship/chris-pagan-sfjS-FglvU4-unsplash.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================================
   OVERLAY
========================================================= */

.overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 14, 31, .88),
            rgba(6, 22, 42, .72),
            rgba(5, 19, 40, .55)
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    position: relative;

    z-index: 2;

    width: min(92%, 1400px);

    margin: 0 auto;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero .container {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);

    align-items: center;

    gap: clamp(35px, 5vw, 70px);

    padding-top: 130px;
    padding-bottom: 70px;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.left {
    min-width: 0;

    color: #ffffff;

    animation: leftFade 1.2s ease;
}


/* =========================================================
   TAGLINE
========================================================= */

.tagline {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

    color: #20b8ff;

    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 500;
}

.tagline span {
    width: 55px;
    height: 2px;

    flex-shrink: 0;

    background: #20b8ff;
}


/* =========================================================
   HEADING
========================================================= */

.left h1 {
    margin: 0 0 30px;

    font-size: clamp(48px, 5.5vw, 88px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    width: 100%;
    max-width: 800px;

    margin-bottom: 50px;

    color: #d8d8d8;

    font-size: clamp(16px, 1.35vw, 21px);

    line-height: 1.8;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    display: flex;

    gap: clamp(18px, 3vw, 35px);

    margin-bottom: 50px;
}

.feature {
    flex: 1;

    min-width: 0;

    transition: transform .35s ease;
}

.feature i {
    display: inline-block;

    margin-bottom: 18px;

    color: #18b5ff;

    font-size: 45px;

    filter:
        drop-shadow(
            0 0 8px rgba(24, 181, 255, .4)
        );

    transition:
        color .35s ease,
        transform .35s ease;
}

.feature h3 {
    margin-bottom: 10px;

    font-size: 23px;
}

.feature p {
    margin: 0;

    color: #d2d2d2;

    font-size: 15px;

    line-height: 1.8;
}

.feature:hover {
    transform: translateY(-8px);
}

.feature:hover i {
    color: #53d0ff;

    transform: scale(1.12);
}


/* =========================================================
   INFO CARD
========================================================= */

.info-card {
    position: relative;

    width: 100%;

    padding: 32px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;

    background: rgba(8, 25, 48, .55);

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .45);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.info-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .55),
        0 0 35px rgba(24, 181, 255, .20);
}

.info-card hr {
    height: 1px;

    margin: 28px 0;

    border: none;

    background: rgba(255, 255, 255, .12);
}


/* =========================================================
   INFO ITEM
========================================================= */

.item {
    display: flex;
    align-items: flex-start;

    gap: 25px;
}

.icon {
    width: 75px;
    min-width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(24, 181, 255, .35);
    border-radius: 50%;

    background: rgba(24, 181, 255, .12);
}

.icon i {
    color: #18b5ff;

    font-size: 30px;
}

.item h4 {
    margin: 0 0 8px;

    font-size: 24px;
}

.item p {
    margin: 0;

    color: #d8d8d8;

    font-size: 17px;

    line-height: 1.9;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.right {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    animation: rightFade 1.3s ease;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-box {
    position: relative;

    width: 100%;
    max-width: 500px;

    padding: 40px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px;

    background: rgba(8, 22, 45, .55);

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .45);

    animation: fadeUp 1s ease;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.contact-box:hover {
    transform: translateY(-8px);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, .55),
        0 0 35px rgba(24, 181, 255, .18);
}

.contact-box h2 {
    margin: 0 0 30px;

    text-align: center;

    color: #ffffff;

    font-size: 38px;
    font-weight: 700;
}


/* =========================================================
   FORM
========================================================= */

.contact-box form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.row {
    display: flex;

    width: 100%;

    gap: 18px;
}

.row > * {
    flex: 1;

    min-width: 0;
}

.contact-box input,
.contact-box textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, .15);

    outline: none;

    color: #ffffff;

    font-family: inherit;

    background: rgba(255, 255, 255, .08);

    transition:
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

.contact-box input {
    height: 56px;

    padding: 0 18px;

    border-radius: 12px;

    font-size: 15px;
}

.contact-box textarea {
    min-height: 120px;
    height: 160px;

    max-height: 300px;

    padding: 17px 18px;

    resize: vertical;

    border-radius: 12px;

    font-size: 15px;
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
    color: #d0d0d0;
}

.contact-box input:hover,
.contact-box textarea:hover,
.contact-box input:focus,
.contact-box textarea:focus {
    border-color: #18b5ff;
}

.contact-box input:focus,
.contact-box textarea:focus {
    background: rgba(24, 181, 255, .10);

    box-shadow:
        0 0 18px rgba(24, 181, 255, .25);
}


/* =========================================================
   BUTTON
========================================================= */

.contact-box button {
    width: 100%;
    min-height: 58px;

    border: none;
    border-radius: 50px;

    cursor: pointer;

    color: #ffffff;

    font-family: inherit;
    font-size: 17px;
    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #00A8FF,
            #0078D7
        );

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.contact-box button i {
    margin-right: 10px;
}

.contact-box button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(0, 170, 255, .45);
}


/* =========================================================
   SHINE EFFECT
========================================================= */

.contact-box::before,
.info-card::before {
    content: "";

    position: absolute;

    top: -120%;
    left: -40%;

    width: 70px;
    height: 320%;

    background: rgba(255, 255, 255, .18);

    transform: rotate(25deg);

    transition: left 1s ease;

    pointer-events: none;
}

.contact-box:hover::before,
.info-card:hover::before {
    left: 140%;
}


/* =========================================================
   MAP
========================================================= */

.map-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.map-container iframe {
    display: block;

    width: 100%;
    max-width: 600px;
    height: 450px;

    margin: 0 auto;

    border: 0;
    border-radius: 18px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes leftFade {

    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes rightFade {

    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   TABLET AND BELOW
========================================================= */

@media screen and (max-width: 1024px) {

    .hero {
        min-height: auto;
    }

    .hero .container {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 140px;
        padding-bottom: 70px;
    }

    .left {
        text-align: center;
    }

    .tagline {
        justify-content: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .features {
        max-width: 850px;

        margin-left: auto;
        margin-right: auto;
    }

    .feature {
        text-align: center;
    }

    .right {
        justify-content: center;
    }

    .contact-box {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .container {
        width: min(92%, 650px);
    }

    .hero .container {
        gap: 40px;

        padding-top: 125px;
        padding-bottom: 50px;
    }

    .left h1 {
        font-size: clamp(38px, 10vw, 55px);

        letter-spacing: -1px;
    }

    .description {
        font-size: 15px;
    }

    .features {
        gap: 18px;
    }

    .feature i {
        font-size: 34px;
    }

    .feature h3 {
        font-size: 17px;
    }

    .feature p {
        font-size: 13px;
    }

    .info-card {
        padding: 24px;

        border-radius: 22px;
    }

    .icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
    }

    .contact-box {
        padding: 28px;

        border-radius: 24px;
    }

    .contact-box h2 {
        font-size: 29px;
    }

    .map-container iframe {
        max-width: 100%;
        height: 400px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero .container {
        gap: 35px;

        padding-top: 110px;
        padding-bottom: 35px;
    }

    .tagline {
        justify-content: center;

        gap: 8px;

        font-size: 14px;
    }

    .tagline span {
        width: 27px;
    }

    .left h1 {
        font-size: clamp(32px, 10vw, 42px);

        line-height: 1.15;
    }

    .description {
        font-size: 14px;

        line-height: 1.7;
    }

    .features {
        flex-direction: column;

        gap: 25px;
    }

    .feature {
        text-align: center;
    }

    .info-card {
        padding: 20px;

        border-radius: 20px;
    }

    .item {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .icon {
        width: 58px;
        min-width: 58px;
        height: 58px;
    }

    .item h4 {
        font-size: 18px;
    }

    .item p {
        font-size: 13px;
    }

    .contact-box {
        max-width: 100%;

        padding: 21px;

        border-radius: 20px;
    }

    .contact-box h2 {
        font-size: 25px;
    }

    .row {
        flex-direction: column;

        gap: 14px;
    }

    .contact-box input {
        height: 50px;

        padding: 0 15px;
    }

    .contact-box textarea {
        height: 125px;

        min-height: 110px;

        padding: 14px 15px;
    }

    .contact-box button {
        min-height: 52px;
    }

    .map-container iframe {
        height: 280px;

        border-radius: 14px;
    }

}