/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #123f59;

    background: #ffffff;

    line-height: 1.5;
}

a {
    transition: 0.2s ease;
}

.section {
    padding: 110px 30px;
}

.small-title {
    margin: 0 0 12px;

    color: #4d7185;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;
}



/* =====================================================
   NAVIGATION
===================================================== */

.site-header {
    height: 82px;

    background: #ffffff;

    border-bottom: 3px solid #1da8e8;

    position: sticky;

    top: 0;

    z-index: 1000;
}

.navbar {
    width: 90%;

    max-width: 1200px;

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}



.brand {
    display: flex;

    align-items: center;

    gap: 13px;

    color: #123f59;

    text-decoration: none;

    font-size: 22px;

    font-weight: 700;
}



.brand-logo {
    width: 48px;

    height: 48px;

    border: 2px solid #123f59;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;
}



.nav-links {
    display: flex;

    align-items: center;

    gap: 36px;
}



.nav-links a {
    color: #123f59;

    text-decoration: none;

    font-size: 14px;
}



.nav-links a:hover {
    color: #168ac1;
}



.nav-links .active {
    font-weight: 700;

    text-decoration: underline;
}



.nav-links .admin-login {
    padding: 9px 15px;

    color: #ffffff;

    background: #075174;

    border-radius: 5px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}



.nav-links .admin-login:hover {
    color: white;

    background: #063e59;

    text-decoration: none;
}



/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 650px;

    padding: 80px 30px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            120deg,
            #f8fafc 0%,
            #edf3f7 50%,
            #f7f9fb 100%
        );
}



.hero-content {
    width: 90%;

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;
}



.hero-text {
    width: 48%;
}



.hero-text h1 {
    margin: 0 0 20px;

    max-width: 520px;

    color: #123f59;

    font-size: 52px;

    line-height: 1.08;

    letter-spacing: -1px;
}



.hero-description {
    max-width: 480px;

    margin: 0 0 30px;

    color: #355d72;

    font-size: 16px;

    line-height: 1.6;
}



.hero-buttons {
    display: flex;

    gap: 15px;
}



.primary-button,
.secondary-button,
.cta-button {
    display: inline-block;

    padding: 12px 20px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}



.primary-button {
    color: #ffffff;

    background: #075174;

    border: 1px solid #075174;
}



.primary-button:hover {
    color: #ffffff;

    background: #063e59;
}



.secondary-button {
    color: #123f59;

    background: #ffffff;

    border: 1px solid #9babb5;
}



.secondary-button:hover {
    background: #f1f5f7;
}



.hero-image {
    width: 52%;
}


.hero-real-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(30, 70, 95, 0.12);
}



.hero-placeholder {
    width: 100%;

    height: 400px;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: #6c8797;

    background:
        linear-gradient(
            135deg,
            #d7e2e9,
            #edf3f7
        );

    box-shadow: 0 8px 25px rgba(30, 70, 95, 0.12);
}



.placeholder-icon {
    font-size: 70px;
}



/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}



.section-heading h2 {
    margin: 0 0 15px;

    color: #123f59;

    font-size: 36px;

    line-height: 1.2;
}



.section-description {
    margin: 0;

    color: #6c8797;

    font-size: 15px;

    line-height: 1.6;
}



/* =====================================================
   SERVICES
===================================================== */

.services {
    max-width: 1200px;

    margin: auto;
}



.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}



.service-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 10px;

    box-shadow: 0 5px 18px rgba(25, 60, 80, 0.1);

    transition: 0.25s ease;
}



.service-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 10px 30px rgba(25, 60, 80, 0.15);
}



.service-image {
    height: 220px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background:
        linear-gradient(
            135deg,
            #a8bac5,
            #536f80
        );

    color: #ffffff;
}



.service-placeholder {
    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 55px;
}



.service-image h3 {
    margin: 0;

    color: white;

    font-size: 20px;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}


/* Real images used in service cards */
.service-image {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.service-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-image h3 {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
}

/* Keep the title readable over bright photos */
.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
    pointer-events: none;
}

.service-image h3 {
    position: absolute;
    z-index: 3;
}



.service-content {
    min-height: 120px;

    padding: 20px;
}



.service-content p {
    margin: 0;

    color: #577486;

    font-size: 14px;

    line-height: 1.6;
}



/* =====================================================
   WHY US
===================================================== */

.why-section {
    padding: 110px 30px;

    background: #f6f9fb;
}



.why-container {
    max-width: 1100px;

    margin: auto;
}



.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
}



.feature {
    padding: 15px 45px;

    text-align: center;

    border-right: 1px solid #c9d1d6;
}



.feature:last-child {
    border-right: none;
}



.feature-icon {
    height: 85px;

    color: #aebbc3;

    font-size: 65px;

    line-height: 1;
}



.feature h3 {
    margin: 15px 0 10px;

    color: #123f59;

    font-size: 17px;
}



.feature p {
    margin: 0;

    color: #627d8c;

    font-size: 14px;

    line-height: 1.6;
}



/* =====================================================
   ABOUT
===================================================== */

.about-section {
    min-height: 650px;

    display: flex;

    align-items: center;
}



.about-container {
    width: 90%;

    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 90px;
}



.about-image {
    width: 50%;
}

.about-real-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}



.about-placeholder {
    height: 420px;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: #718a99;

    background:
        linear-gradient(
            135deg,
            #d8e2e8,
            #edf2f5
        );
}



.about-placeholder-icon {
    font-size: 70px;
}



.about-content {
    width: 50%;
}



.about-content h2 {
    margin: 0 0 25px;

    color: #123f59;

    font-size: 39px;
}



.about-content p:not(.small-title) {
    margin: 0 0 20px;

    color: #526f80;

    font-size: 15px;

    line-height: 1.7;
}



.about-content .primary-button {
    margin-top: 10px;
}



/* =====================================================
   PROCESS
===================================================== */

.process-section {
    padding: 110px 30px;

    background: #f6f9fb;
}



.process-grid {
    max-width: 1050px;

    margin: auto;

    display: flex;

    align-items: flex-start;

    justify-content: center;
}



.process-item {
    width: 280px;

    text-align: center;
}



.process-number {
    width: 65px;

    height: 65px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background: #075174;

    font-size: 18px;

    font-weight: 700;
}



.process-item h3 {
    margin: 0 0 12px;

    color: #123f59;

    font-size: 17px;
}



.process-item p {
    margin: 0;

    color: #627d8c;

    font-size: 14px;

    line-height: 1.6;
}



.process-arrow {
    padding: 25px 35px 0;

    color: #9aadb8;

    font-size: 30px;
}



/* =====================================================
   CTA
===================================================== */

.cta-wrapper {
    padding: 100px 30px;
}



.cta {
    max-width: 1000px;

    margin: auto;

    padding: 35px 45px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 25px;

    background:
        linear-gradient(
            120deg,
            #f2f6f9,
            #e8f0f5
        );
}



.cta-icon {
    width: 70px;

    height: 70px;

    flex-shrink: 0;

    border: 1px solid #d0dce3;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #8fa4b0;

    background: white;

    font-size: 30px;
}



.cta-content {
    flex: 1;
}



.cta-content h2 {
    margin: 0 0 5px;

    color: #123f59;

    font-size: 27px;
}



.cta-content p {
    margin: 0;

    color: #8199a7;

    font-size: 14px;
}



.cta-button {
    color: #ffffff;

    background: #075174;

    font-size: 14px;
}



.cta-button:hover {
    color: #ffffff;

    background: #063e59;
}



/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 60px 30px 25px;

    color: #dce7ed;

    background: #103b53;
}



.footer-container {
    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}



.footer-brand {
    display: flex;

    align-items: center;

    gap: 15px;
}



.footer-logo {
    color: #ffffff;

    border-color: #ffffff;
}



.footer-brand h3 {
    margin: 0 0 4px;

    color: #ffffff;

    font-size: 18px;
}



.footer-brand p {
    margin: 0;

    color: #a9beca;

    font-size: 13px;
}



.footer-links {
    display: flex;

    gap: 30px;
}



.footer-links a {
    color: #dce7ed;

    text-decoration: none;

    font-size: 13px;
}



.footer-links a:hover {
    color: #ffffff;

    text-decoration: underline;
}



.footer-bottom {
    max-width: 1100px;

    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid #31576b;

    text-align: center;
}



.footer-bottom p {
    margin: 0;

    color: #8fa8b6;

    font-size: 12px;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .navbar {
        width: 94%;
    }

    .nav-links {
        gap: 18px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .site-header {
        height: 70px;
    }


    .brand {
        font-size: 17px;
    }


    .brand-logo {
        width: 40px;

        height: 40px;
    }


    .nav-links a:not(.admin-login) {
        display: none;
    }


    .hero {
        padding: 70px 20px;

        min-height: auto;
    }


    .hero-content {
        width: 100%;

        flex-direction: column;

        gap: 50px;
    }


    .hero-text,
    .hero-image {
        width: 100%;
    }


    .hero-text h1 {
        font-size: 40px;
    }


    .hero-placeholder {
        height: 300px;
    }


    .section {
        padding: 80px 20px;
    }


    .section-heading h2 {
        font-size: 30px;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .feature {
        padding: 35px 20px;

        border-right: none;

        border-bottom: 1px solid #c9d1d6;
    }


    .feature:last-child {
        border-bottom: none;
    }


    .about-container {
        width: 100%;

        flex-direction: column;

        gap: 50px;
    }


    .about-image,
    .about-content {
        width: 100%;
    }


    .about-placeholder {
        height: 320px;
    }

    .about-real-image {
        height: 320px;
    }


    .process-grid {
        flex-direction: column;

        align-items: center;

        gap: 30px;
    }


    .process-arrow {
        padding: 0;

        transform: rotate(90deg);
    }


    .cta {
        flex-direction: column;

        text-align: center;
    }


    .footer-container {
        flex-direction: column;

        gap: 35px;

        text-align: center;
    }


    .footer-links {
        flex-wrap: wrap;

        justify-content: center;
    }
    
    .hero-real-image {
        height: 300px;
    }


}
