/* RESET & BASE TYPOGRAPHY */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
body {
    background: #F6F3F0;
    color: #234253;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    min-height: 100vh;
    letter-spacing: .01em;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #234253;
    font-weight: 700;
    letter-spacing: 0;
}
h1 { font-size: 2.7rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.3rem; margin-bottom: 16px; line-height: 1.2; }
p, ul, ol { margin-bottom: 16px; }
strong { font-weight: 600; }

/* LINKS */
a {
    color: #234253;
    text-decoration: none;
    transition: color .2s;
}
a:hover, a:focus {
    color: #68B4A7;
    text-decoration: underline;
    outline: none;
}

/* CONTAINERS & FLEX LAYOUTS */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.text-section { max-width: 820px; }

/* SECTIONS & SPACING */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 12px 0 rgba(35,66,83,.07);
    padding: 28px 26px 22px 26px;
    position: relative;
    transition: box-shadow .25s, transform .2s;
}
.card:hover, .card:focus {
    box-shadow: 0 2px 20px 0 rgba(104,180,167,.13);
    transform: translateY(-5px);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1.5px 7px 0 rgba(35,66,83,.1);
    margin-bottom: 20px;
    transition: box-shadow .2s;
    min-width: 220px;
    max-width: 650px;
}
.testimonial-card:hover {
    box-shadow: 0 4px 14px 0 rgba(104,180,167,.14);
}
.testimonial-card blockquote {
    color: #234253;
    font-size: 1.18rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0;
}
.testimonial-info {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #234253;
    font-size: 1rem;
    line-height: 1.3;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* BUTTONS */
.btn, .btn-primary {
    display: inline-block;
    padding: 12px 34px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: #68B4A7;
    color: #fff;
    border: none;
    box-shadow: 0 1px 5px 0 rgba(35,66,83,.08);
    cursor: pointer;
    transition: background .20s, box-shadow .2s, color .18s, transform .14s;
    margin-top: 8px;
    margin-bottom: 8px;
    letter-spacing: .01em;
}
.btn:hover, .btn:focus, .btn-primary:hover, .btn-primary:focus {
    background: #234253;
    color: #fff;
    box-shadow: 0 2px 10px 0 rgba(104,180,167,.14);
    transform: translateY(-2px);
    outline: none;
}
.btn-primary {
    background: #234253;
    color: #fff;
    border: none;
    margin-left: 24px;
}
.btn-primary:hover, .btn-primary:focus {
    background: #68B4A7;
    color: #fff;
}

/* HEADER/NAVBAR */
header {
    background: #fff;
    box-shadow: 0 3px 13px 0 rgba(104,180,167,0.04);
    padding: 0;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    min-height: 54px;
}
.logo img { height: 48px; transition: filter .18s; }
.logo:hover img, .logo:focus img { filter: brightness(0.95) contrast(1.11); }
.main-nav {
    display: flex;
    align-items: center;
    gap: 31px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #234253;
    padding: 7px 4px 7px 4px;
    border-radius: 5px;
    transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a:focus {
    color: #68B4A7;
    background: #E0ECE8;
    outline: none;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #234253;
    cursor: pointer;
    margin-left: 16px;
    transition: color .18s;
    z-index: 150;
}
.mobile-menu-toggle:focus { color: #68B4A7; outline: none; }

/* MOBILE MENU OVERLAY */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(35,66,83,.98);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(-100%);
    transition: transform .33s cubic-bezier(.55,.09,.68,.53);
    opacity: 1;
    visibility: hidden;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform .33s cubic-bezier(.55,.09,.68,1.14);
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2.3rem;
    color: #fff;
    padding: 16px 22px 6px 12px;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 7px;
    margin-bottom: 30px;
    transition: color .18s;
}
.mobile-menu-close:focus { color: #68B4A7; outline: none; }
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-left: 30px;
    width: 100vw;
}
.mobile-nav a {
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 7px 1px;
    transition: color .18s, background .18s;
    border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #68B4A7; background: #344e5d; outline: none; }

/* HERO, FEATURES, SERVICES, PROCESS */
.hero {
    background: linear-gradient(90deg,#fff 60%,#E0ECE8 100%);
    padding: 60px 0 60px 0;
    margin-bottom: 48px;
    border-bottom: 1.5px solid #E5EBF2;
}
.hero .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 8px 0;
}

.feature-grid, .service-grid, .process-steps, .team-bios, .project-highlights, .featured-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}
.feature, .service, .team-bios>div, .project-highlights>div, .featured-posts>article {
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 1.5px 6px 0 rgba(35,66,83,.09);
    padding: 28px 22px 18px 20px;
    flex: 1 1 245px;
    max-width: 300px;
    min-width: 210px;
    transition: box-shadow .22s, transform .17s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
.feature img, .service img, .project-highlights img, .process-steps img { height: 46px; margin-bottom: 13px; }
.feature h3, .service h3, .project-highlights h3, .process-steps h3 { margin-bottom: 11px; }
.feature:hover, .service:hover, .team-bios>div:hover, .project-highlights>div:hover, .featured-posts>article:hover {
    box-shadow: 0 4px 17px 0 rgba(104,180,167,.16);
    transform: translateY(-4px);
}
.process-steps>div, .steps-list>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    margin-bottom: 27px;
}
.process-steps>div span, .steps-list>div h3 { font-size: 1.13rem; margin-top: 12px; color: #234253; font-family: 'Montserrat', Arial, sans-serif; }

/* BLOG LISTS,CATEGORIES */
.recent-posts, .category-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.recent-posts li, .category-list li {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 1.5px 5px 0 rgba(35,66,83,0.075);
    padding: 20px 18px 12px 18px;
    min-width: 210px;
    flex: 1 1 210px;
    margin-bottom: 20px;
}
.featured-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.featured-posts article {
    min-width: 250px;
    max-width: 355px;
}

/* UL, OL General Styling */
ul, ol {
    padding-left: 21px;
    margin-bottom: 16px;
    color: #234253;
}
ul li, ol li {
    margin-bottom: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* ADDRESS & CONTACT */
.contact-details div, .footer-contact div {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
address { font-style: normal; }

/* FOOTER */
footer {
    background: #234253;
    color: #fff;
    padding: 44px 0 26px 0;
    margin-top: 50px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    box-shadow: 0 2px 16px 0 rgba(35,66,83,0.05) inset;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 13px;
}
.footer-nav a {
    color: #fff;
    font-weight: 500;
    opacity: .92;
    font-size: 1rem;
    transition: color .18s, opacity .15s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #68B4A7; opacity: 1; }
.footer-contact { text-align: center; }
footer p {
    margin-top: 22px;
    font-size: .98rem;
    color: #b9c8d6;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 3000;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(35,66,83,0.13);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 3px solid #68B4A7;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    animation: slideUpCookie .5s cubic-bezier(0.47,0,0.745,0.715);
}
@keyframes slideUpCookie {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
    color: #234253;
    margin: 0 12px 0 0;
    flex: 1 1 240px;
}
.cookie-banner .btn, .cookie-banner .btn-primary {
    margin: 0 10px 0 0;
    min-width: 115px;
    font-size: .99rem;
    padding: 9px 23px;
}
.cookie-banner .btn-settings {
    background: #68B4A7;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 7px;
    margin-top: 0;
    transition: background .19s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
    background: #234253;
    color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(35,66,83,.61);
    z-index: 4010;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInModal .34s cubic-bezier(.62,.1,.99,1.13);
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 7px 38px 0 rgba(35,66,83,.25);
    max-width: 420px;
    min-width: 275px;
    padding: 35px 32px 27px 32px;
    display: flex;
    flex-direction: column;
    gap: 19px;
    font-family: 'Montserrat', Arial, sans-serif;
    animation: fadeInModal .3s cubic-bezier(.62,.1,.99,1.13);
}
.cookie-modal h3 {
    color: #234253;
    margin-bottom: 13px;
    font-size: 1.2rem;
    font-weight: 600;
}
.cookie-category {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
    font-size: 1rem;
}
.cookie-category label {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #234253;
    font-weight: 500;
}
.cookie-category input[type="checkbox"] {
    width: 21px;
    height: 21px;
    accent-color: #68B4A7;
}
.cookie-modal .btn, .cookie-modal .btn-primary {
    width: 100%;
    margin-top: 12px;
}
.cookie-modal .close-cookie-modal {
    background: none;
    border: none;
    color: #68B4A7;
    font-size: 1.5rem;
    position: absolute;
    top: 19px;
    right: 21px;
    cursor: pointer;
    transition: color .19s;
    z-index: 4020;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus { color: #234253; }

/* OVERRIDES for MINIMUM GAPS/MARGINS/MOBILE-RESPONSIVE FLEX LAYOUTS */
section, .section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid, .service-grid, .team-bios, .project-highlights, .featured-posts {
    gap: 24px;
}
.card, .featured-posts article, .feature, .service, .team-bios>div, .project-highlights>div {
    margin-bottom: 20px;
}
.text-image-section, .content-grid, .feature-grid, .service-grid {
    gap: 30px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1280px) {
    .container { max-width: 98vw; }
    .main-nav { gap: 24px; }
}
@media (max-width: 992px) {
    .container { max-width: 96vw; }
    .main-nav { gap: 15px; }
    .footer-nav { gap: 14px; }
    .content-wrapper.text-section { max-width: 94vw; }
}
@media (max-width: 900px) {
    .content-grid, .feature-grid, .service-grid, .team-bios, .project-highlights, .featured-posts, .recent-posts {
        flex-direction: column;
        gap: 20px;
    }
    .card, .feature, .service, .team-bios>div, .project-highlights>div, .featured-posts article {
        min-width: 185px;
        max-width: 99vw;
    }
}
@media (max-width: 768px) {
    header .container { flex-direction: row; gap: 0; min-height: 52px; height: 54px; }
    .main-nav, .btn.btn-primary { display: none !important; }
    .mobile-menu-toggle {
        display: block;
        margin-left: 0;
        margin-right: -8px;
    }
    .hero { padding: 38px 0 38px 0; }
    .section { padding: 20px 7px; }
    .card, .feature, .service, .team-bios>div, .project-highlights>div, .featured-posts article {
        padding: 19px 12px 14px 12px;
    }
    .content-wrapper.text-section { padding: 0 2px; }
    .footer-contact { font-size: .95rem; }
    .footer-nav { flex-direction: column; gap: 5px; text-align: center; }
    section, .section { margin-bottom: 38px; padding: 26px 7px; }
    .testimonial-card { flex-direction: column; align-items: flex-start; max-width: 99vw; }
    .card-container, .content-grid, .feature-grid, .service-grid, .team-bios, .project-highlights, .featured-posts {
        flex-direction: column;
        gap: 14px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }
    .recent-posts, .category-list { flex-direction: column; gap: 13px; }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        font-size: .95rem;
    }
}
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.15rem; }
    .hero { padding: 22px 0 17px 0; }
    section, .section { margin-bottom: 22px; padding: 12px 1px; }
    .container { padding: 0 4px; }
    .feature img, .service img, .project-highlights img, .process-steps img { height: 34px; margin-bottom: 9px; }
}

/* ACCESSIBILITY */
a, button, .btn, .btn-primary { outline-color: #68B4A7; outline-width: 2px; outline-offset: 2px; }

/* MISC */
::-webkit-input-placeholder { color: #c3cdd2; opacity: 1; }
::-moz-placeholder { color: #c3cdd2; opacity: 1; }
:-ms-input-placeholder { color: #c3cdd2; opacity: 1; }
::placeholder { color: #c3cdd2; opacity: 1; }

/* MODAL BACKDROP ANIMATION (for cookie modal) */
@media (max-width: 400px) {
  .cookie-modal { min-width: 90vw; padding: 20px 8vw; }
}

/* Ensure no elements overlap by guaranteeing 
   margins between all major cards/blocks on all breakpoints */
.card, .feature, .service, .team-bios>div, .project-highlights>div, .featured-posts article, .testimonial-card,
.recent-posts li, .category-list li {
  margin-bottom: 20px;
}

/* VISUAL HIERARCHY: Headings spacing */
h1, h2, h3 {
  margin-top: 0;
}

/* FORMAL TONE UTILITIES */
blockquote {
    font-family: 'Playfair Display', serif;
    quotes: "\201C" "\201D" "\2018" "\2019";
    color: #234253;
    background: none;
    padding: 0;
}

/* END OF STYLE.CSS */
