* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    margin: 11px 8px;
}

/* ---------- UTILITY BAR ---------- */
.utility-bar {
    background-color: #0d3569;
    display: flex;
    align-content: start;
    align-items: center;
    justify-content: end;
    height: 23px;
}

.utility-bar a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    display: inline-block;
    margin-right: 27px;
    color: #386aad;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 4px;
}

.utility-bar a:hover {
    color: #fff;
}

.utility-bar :last-child {
    margin-right: 100px;
}

/* ---------- NAVBAR ---------- */
.nav-bar {
    height: 54px;
    display: flex;
    justify-content: space-around;
}

.logo img {
    height: 52px;
}

.nav {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.nav a {
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    align-items: center;
    color: #8a8a8a;
    text-decoration: none;
    font-size: 16px;
    padding: 0 15px 0 15px;
    border-right: 1px solid rgb(200, 200, 200);
    height: 54px;
    text-align: center;
    padding-left: 16px;
}

.nav a:last-child {
    border: none;
}

.nav a:hover {
    background-color: #ccc;
    color: #fff;
}

header {
    border-bottom: 8px solid #0d3569;
}

/* ---------- PHASE 3: HERO ---------- */
.hero {
    background-image: url(images/hero.png);
    background-size: cover;
    aspect-ratio: 16/4;
    border-bottom: 2px solid #73c4ef;
    position: relative;
    /* anchor point for the squares */
    display: flex;
    /* fix: puts .left and .slider side by side */
    justify-content: space-between;
    align-items: flex-start;
}

/* decorative squares, top-right corner */
.hero-squares {
    position: absolute;
    top: 20px;
    right: 30px;
    display: grid;
    grid-template-columns: repeat(3, 22px);
    grid-auto-rows: 22px;
    gap: 4px;
}

.hero-squares span {
    display: block;
    width: 22px;
    height: 22px;
}

.hero-squares span:nth-child(1) {
    background: #1b4f8c;
    grid-column: 2;
}

.hero-squares span:nth-child(2) {
    background: #4a90d9;
    grid-column: 3;
}

.hero-squares span:nth-child(3) {
    background: #0d2f5e;
    grid-column: 1;
    grid-row: 2;
}

.hero-squares span:nth-child(4) {
    background: #a8d0f0;
    grid-column: 2;
    grid-row: 2;
}

.hero-squares span:nth-child(5) {
    background: #2d7ec5;
    grid-column: 3;
    grid-row: 2;
}

.twitter-id {
    font-size: 14px;
    color: #a5a5a5;
    margin-left: 70%;
    margin-top: 12%;
}

.twitter-id p {
    margin-bottom: 0;
}

.twitter-id a {
    color: #87a0f9;
    text-decoration: none;
}

.twitter-id a:hover {
    color: #6580d7;
}

.hero-content {
    padding-top: 4%;
    padding-left: 12%;
}

/* fix: scoped properly so it doesn't leak to every h3/p on the page */
.hero-content h2,
.hero-content h3,
.hero-content p {
    margin-bottom: 15px;
}

.hero-content h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .35);
    color: #fff;
}

.hero-content h3 {
    color: rgb(14, 50, 102);
    text-transform: uppercase;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: 0;
}

.hero-content p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
}

/* slider card */
.slider {
    width: 370px;
    position: relative;
    margin-top: 6%;
    margin-right: 6%;
}

.tabs {
    display: flex;
    gap: 2px;
    margin-left: 8px;
}

.tab {
    background: #f5f5f5;
    border: 1px solid #d3d3d3;
    border-bottom: none;
    padding: 4px 10px;
    font: 11px Arial;
    border-radius: 3px 3px 0 0;
}

.tab.active {
    background: white;
    position: relative;
    top: 1px;
}

.slider-box {
    background: white;
    border: 1px solid #d8d8d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 12px;
    height: 140px;
    position: relative;
}

.logo-card-xpozure,
.logo-card-shabester {
    width: 165px;
    height: 75px;
    outline: 1px solid #d0d2d1;
    box-shadow: 5px 4px 5px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow .15s ease;
}

.logo-card-xpozure {
    margin-right: 15px;
}

.logo-card-xpozure img,
.logo-card-shabester img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    /* preserves aspect ratio instead of squashing */
}

.logo-card-xpozure:hover,
.logo-card-shabester:hover {
    box-shadow: 7px 6px 7px rgba(0, 0, 0, 0.5);
}

.arrow {
    position: absolute;
    width: 22px;
    height: 22px;
    border: none;
    background: none;
    color: #2d7ec5;
    font-size: 18px;
    cursor: pointer;
}

.arrow.left {
    left: 6px;
    bottom: 8px;
}

.arrow.right {
    right: 6px;
    bottom: 8px;
}

/* END PHASE 3 */

/* ---------- PHASE 4: THREE SERVICES ---------- */
.services {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* all .service columns match the tallest one */
    gap: 40px;
    padding: 40px 60px;
}

.service {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
}

.service h4 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #1c4f8c;
    margin-bottom: 14px;
}

.service-body {
    font-family: "Open Sans", sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.service-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.service-body p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #7a7a7a;
}

.read-more {
    font-family: Arial, Helvetica, sans-serif;
    width: 70px;
    font-size: 12px;
    color: #fff;
    background-color: #4a90d9;
    border: 1px solid #3a7cc0;
    border-radius: 3px;
    padding: 4px 0px;
    cursor: pointer;
    align-self: flex-end;
    /* right-aligned like the screenshot */
    margin-top: auto;
    /* pinned to bottom regardless of text length above */
}

.read-more:hover {
    background-color: #3a7cc0;
}

#container {
    margin: 0px 170px 0px 170px;
}

/* ---------- PHASE 6: TWO-COLUMN LAYOUT ---------- */
.main-layout {
    display: flex;
    align-items: flex-start;
    /* right column shouldn't stretch to match left column's height */
    gap: 25px;
    margin-bottom: 20px;
}

.main-left {
    flex: 1;
    /* takes remaining space beside the fixed-width sidebar */
    min-width: 0;
    /* lets flex children shrink instead of overflowing the column */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-right {
    width: 340px;
    /* matches .why-choose-us width — this is a sidebar column, not content-sized */
    flex-shrink: 0;
    /* stops the sidebar getting squeezed if left content runs wide */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* spacing between sidebar boxes */
}

/* END PHASE 6 */

.welcome {
    display: flex;
    flex-direction: column;
}
.welcome p{
    color: rgb(120, 120, 120);
    font-size: 14px;
}

.welcome h2 {
    font-family: "Open Sans", sans-serif;
    margin-bottom: 42px;
    color: rgb(0, 63, 90);
    font-weight: 500;
}

.why-choose-us {
    margin-top: 30px;
    width: 340px;
    height: 155px;
    border: 1px solid rgb(196, 196, 196);
    border-radius: 15px;
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto 1fr 1fr 1fr;
    align-items: center;
    column-gap: 14px;
    overflow: hidden;
    background: linear-gradient(#fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, rgb(196, 196, 196));
}

.why-choose-us h3 {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 10px 14px;
    color: rgb(98, 98, 98);
    line-height: 19px;
    font-weight: 600;
    font-size: 19px;
    background-color: #f2f2f2;
    margin-bottom: 10px;
}

.why-choose-us img {
    grid-column: 1;
    grid-row: 2 / 5;
    justify-self: center;
    height: 76px;
    width: 70px;
}

.why-choose-us p {
    border-bottom: 1px solid rgb(192, 192, 194);
    grid-column: 2;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #4a4a4a;
}

.why-choose-us p:last-child {
    border-bottom: none;
}

.why-choose-us p i {
    color: #4caf50;
    font-size: 13px;
}

.feature-services {
    margin-top: 25px;
    width: 340px;
    height: 170px;
    border: 1px solid rgb(196, 196, 196);
    border-radius: 15px;
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto 1fr 1fr 1fr;
    align-items: center;
    column-gap: 14px;
    overflow: hidden;
    /* keeps h3's radius clean against the box corners */
    background: linear-gradient(#fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, rgb(196, 196, 196));
}

.feature-services h3 {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 10px 14px;
    color: rgb(98, 98, 98);
    line-height: 19px;
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 10px;
    background-color: #f2f2f2;
}

.feature-services img {
    grid-column: 1;
    grid-row: 2 / 5;
    justify-self: center;
    height: 76px;
    width: 70px;
}

.feature-services p {
    border-bottom: 1px solid rgb(192, 192, 194);
    grid-column: 2;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #4a4a4a;
}

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

.feature-services p i {
    color: #4caf50;
    font-size: 13px;
}

.feature-work {
    width: 100%;
    margin-top: 20px;
    border: 1px solid rgb(196, 196, 196);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    overflow: hidden;
    /* clips the header/grid to the parent's rounded corners */
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background-color: #f2f2f2;
    border-bottom: 1px solid rgb(196, 196, 196);
}

.feature-header h2 {
    font-size: 19px;
    font-weight: 600;
    line-height: 19px;
    color: rgb(98, 98, 98);
}

.bookmark-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d2d1;
    border-radius: 3px;
    background: #fff;
}

.bookmark-btn img {
    width: 16px;
    height: 16px;
}

.bookmark-btn:hover {
    box-shadow: 7px 6px 7px rgba(0, 0, 0, .5);
}

.feature-work-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.feature-work-images img {
    width: 100%;
    height: auto;
    border: 2px solid rgb(195, 197, 196);
    outline: 1px solid #d0d2d1;
    box-shadow: 5px 4px 5px rgba(0, 0, 0, .18);
    transition: box-shadow .15s ease;
    display: block;
}

.feature-work-images img:hover {
    box-shadow: 7px 6px 7px rgba(0, 0, 0, .5);
}

.feature-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 20px;
}

.view-all {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #fff;
    background-color: #4a90d9;
    border: 1px solid #3a7cc0;
    border-radius: 3px;
    padding: 8px 20px;
    cursor: pointer;
}

.view-all:hover {
    background-color: #3a7cc0;
}

/* ---------- PHASE 7: COMPANY NEWS ---------- */
.company-news {
    margin-top: 25px;
    background: linear-gradient(#fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, rgb(196, 196, 196));
    width: 340px;
    border: 1px solid rgb(196, 196, 196);
    border-radius: 15px;
    overflow: hidden;
    /* clips header background to the rounded corners */
}

.company-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background-color: #f2f2f2;
    border-bottom: 1px solid rgb(196, 196, 196);
}

.company-news-header h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 19px;
    color: rgb(98, 98, 98);
}

.news-icon {
    width: 34px;
    height: 24px;
    display: block;
}

.news-list {
    padding: 14px 16px;
}

.news-item {
    display: block;
    text-decoration: none;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgb(192, 192, 194);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 6px;
}

.news-item p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #2f5fa3;
    /* estimated from screenshot — verify against the actual pixel value */
}

.news-item:hover p {
    text-decoration: underline;
}

.anchorsofimages {
    max-width: 602px;
    min-width: 600px;
    justify-content: space-between;
    background: white;
    display: flex;
    align-items: center;
    padding: 20px 12px;
    height: 140px;
    position: relative;
    margin-left: 345px;
}

.anchorsofimages a img {
    width: 165px;
    height: 75px;
    outline: 1px solid #d0d2d1;
    box-shadow: 5px 4px 5px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow .15s ease;
}
.imageinanchor img:hover {
    box-shadow: 7px 6px 7px rgba(0, 0, 0, .5);
}

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

.footer {
    height: 271px;
    background: url(images/footer.png) center/cover no-repeat;
}

.footer-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 26px;
}

/* LEFT */

.footer-left {
    width: 360px;
    text-align: center;
}

.footer-logo {
    width: 170px;
    display: block;
    margin: 12px auto 18px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 280px;
    margin: 0 auto;
}

.footer-nav a,
.footer-nav span {
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 35px;
    color: #5b8ec2;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #d4e5f8;
    text-decoration: none;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 6px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* RIGHT */

.footer-right {
    width: 542px;
}

.footer-right h2 {
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* BOX */

.quote-box {

    width: 542px;
    height: 178px;

    background: #0d4d88;

    border: 1px solid rgba(255, 255, 255, .08);

    display: flex;

    padding: 14px 18px;

    gap: 12px;
}

/* SERVICES */

.quote-services {

    width: 150px;

}

.quote-services h3 {

    color: #fff;

    font-size: 16px;

    font-family: Arial;

    margin-bottom: 10px;

}

.quote-services label {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: #8ec2ef;

    font-size: 13px;

    font-family: Arial;

}

.quote-services input {

    width: 12px;

    height: 12px;

}

/* INPUTS */

.quote-fields {

    width: 166px;

}

.quote-fields input {

    width: 166px;

    height: 22px;

    margin-bottom: 6px;

    padding: 0 8px;

    border: 1px solid #2e7cc0;

    background: #16609f;

    color: #fff;

    font-size: 12px;

    outline: none;

}

.quote-fields input::placeholder {

    color: #8fc0e8;

}

/* MESSAGE */

.quote-message {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}

.quote-message textarea {

    width: 210px;

    height: 155px;

    resize: none;

    padding: 8px;

    border: 1px solid #2e7cc0;

    background: #16609f;

    color: #fff;

    font-size: 12px;

    outline: none;

    font-family: Arial;

}

.quote-message textarea::placeholder {

    color: #8fc0e8;

}

.quote-message button {

    width: 90px;

    height: 22px;

    margin-top: 8px;

    background: #ececec;

    border: none;

    color: #0b5f9c;

    font-family: Arial;

    font-size: 13px;

    font-weight: bold;

    font-style: italic;

    cursor: pointer;

}

.quote-message button:hover {

    background: white;

}


@media screen and (min-width: 1800px) and (min-height: 900px) {

    #container{
        max-width:1400px;
        margin:auto;
    }

    .hero{
        min-height:430px;
    }

    .hero-content{
        padding-top:70px;
    }

    .hero-content h2{
        font-size:38px;
    }

    .hero-content h3{
        font-size:28px;
    }

    .hero-content p{
        font-size:18px;
    }

    .services{
        padding:50px 80px;
        gap:45px;
    }

    .feature-work-images{
        gap:25px;
    }

    .footer-content{
        max-width:1400px;
        margin:auto;
    }

    .anchorsofimages{
        margin-left: 620px;
    }

}