/* -------------------------
   CSS RESET & BASE STYLES
--------------------------*/
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 {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    min-height: 100vh;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #1A2537;
    background: #F8F6F2;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #B38B47;
    text-decoration: none;
    transition: color .2s;
}
a:hover, a:focus {
    color: #F85C1A;
    outline: none;
}
ul, ol {
    margin-left: 20px;
    margin-bottom: 16px;
}
p, ul, ol, li {
    font-size: 1rem;
    line-height: 1.7;
}

/* --------------
   BRAND COLORS
--------------- */
:root {
    --color-primary: #1A2537;
    --color-secondary: #B38B47;
    --color-accent: #F8F6F2;
    --color-electric-blue: #22C7FA;
    --color-electric-pink: #FA217A;
    --color-vibrant-orange: #F85C1A;
    --color-bg-dark: #151c26;
    --color-bg-light: #ffffff;
    --color-grey: #EDF0F3;
    --radius-card: 18px;
    --shadow-card: 0 8px 32px rgba(34,199,250,0.08), 0 1.5px 7px rgba(36,24,85,0.10);
}

/* ----------------------
   TYPOGRAPHY & HEADINGS
-----------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(250, 33, 122,0.09);
}
h1 {
    font-size: 2.6rem;
    margin-bottom: 22px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--color-electric-pink);
}
h3 {
    font-size: 1.35rem;
    color: var(--color-electric-blue);
}
h4 {
    font-size: 1.10rem;
}
small {
    color: #666;
    font-size: 0.9rem;
}

/* ------
 CONTAINERS
--------- */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* --------------
    HEADER
--------------- */
header {
    background: var(--color-bg-light);
    border-bottom: 3px solid var(--color-vibrant-orange);
    box-shadow: 0 4px 16px 0 rgba(34,199,250,0.07);
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 18px 16px;
    gap: 28px;
}
header img {
    height: 48px;
    width: auto;
}
.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    transition: color 0.18s;
    position: relative;
}
.main-nav a:after {
    content: '';
    display: block;
    margin: 0 auto;
    width: 0%;
    height: 2.5px;
    background: var(--color-electric-blue);
    border-radius: 2px;
    transition: width 0.2s;
    margin-top: 3px;
}
.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-electric-pink);
    text-decoration: none;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
    width: 80%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.07rem;
    background: linear-gradient(90deg,var(--color-electric-blue), var(--color-electric-pink));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 32px;
    box-shadow: 0 2px 16px 0 rgba(34,199,250,0.13);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.18s, color 0.18s, transform 0.12s;
    margin-left: 14px;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg,var(--color-electric-pink), var(--color-electric-blue));
    color: #fff;
    box-shadow: 0 6px 24px 0 rgba(250,33,122,0.18);
    transform: scale(1.04);
}

@media (max-width: 900px) {
    header .container {
        flex-direction: row;
        gap: 10px;
    }
    .main-nav {
        gap: 8px;
    }
}
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 8px 10px 8px;
    }
    .main-nav {
        display: none;
    }
    .btn-primary {
        margin-left: 0;
    }
}

/* ----------
   MOBILE MENU
----------- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 22px;
    right: 18px;
    z-index: 102;
    width: 46px;
    height: 46px;
    background: var(--color-electric-blue);
    border: none;
    border-radius: 12px;
    font-size: 2.18rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(34,199,250,0.21);
    transition: background 0.18s, transform 0.14s;
}
.mobile-menu-toggle:active {
    transform: scale(0.95);
    background: var(--color-electric-pink);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-primary);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    transform: translateX(110vw);
    transition: transform 0.32s cubic-bezier(.15,.75,.53,.98);
    padding: 0;
    box-shadow: 0 4px 24px 0 rgba(34,199,250,0.17);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    margin: 18px 24px 0 0;
    cursor: pointer;
    transition: color .16s, transform .13s;
    z-index: 201;
}
.mobile-menu-close:active {
    color: var(--color-electric-pink);
    transform: scale(1.12);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    margin: 54px 0 0 36px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    padding: 12px 4px;
    border-radius: 8px;
    transition: background .18s, color .18s;
    min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-vibrant-orange);
    color: #1A2537;
}

@media (min-width: 769px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* -----------------
   MAIN CONTENT
------------------*/
main {
    width: 100%;
    min-height: 560px;
    margin-bottom: 34px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--color-accent);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 26px rgba(34,199,250,0.06);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
/* --- Cards and Grids -- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 8px 38px 0 rgba(34,199,250,.16), 0 1.5px 10px rgba(250,33,122,0.10);
    transform: translateY(-3px) scale(1.012);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 24px;
    gap: 14px;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    color: #1A2537;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 3px 14px 0 rgba(34,199,250,.14);
    margin-bottom: 20px;
    transition: box-shadow .17s, transform .1s;
    border-left: 6px solid var(--color-electric-blue);
}
.testimonial-card p {
    font-size: 1.06rem;
    flex: 1;
    font-style: italic;
}
.testimonial-card span {
    font-size: 0.99rem;
    color: var(--color-electric-pink);
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 600;
    margin-left: 4px;
}
.testimonial-card:hover {
    box-shadow: 0 8px 38px 0 rgba(250,33,122,0.10), 0 1.5px 10px rgba(34,199,250,.12);
    transform: translateY(-2px) scale(1.013);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ---- Explicit layout for features ---- */
.feature_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin: 28px 0 18px 0;
}
.feature_grid > div {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1.5px 8px 0 rgba(34,199,250,0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 270px;
    padding: 22px 16px 18px 16px;
    margin-bottom: 18px;
    transition: box-shadow .18s, transform .13s;
}
.feature_grid > div:hover {
    box-shadow: 0 8px 38px 0 rgba(250,33,122,0.15), 0 1.5px 10px rgba(34,199,250,.11);
    transform: translateY(-2px) scale(1.018);
}
.feature_grid img {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
}
.feature_grid h3 {
    margin-bottom: 6px;
}
.feature_grid p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #1A2537;
    margin-bottom: 0;
}

.service-detail {
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(250,33,122,0.06);
    margin-bottom: 22px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-detail h3 {
    color: var(--color-electric-blue);
    margin-bottom: 4px;
}
.service-detail p {
    color: #1A2537;
}

/* --- TABLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 16px 0 rgba(34,199,250,0.08);
    margin-bottom: 20px;
    overflow: hidden;
}
thead {
    background: var(--color-electric-blue);
}
thead th {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 10px;
}
tbody td {
    font-size: 1rem;
    color: var(--color-primary);
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}
tbody tr:last-child td {
    border-bottom: none;
}

/* --- Lists --- */
ul, ol {
    padding-left: 28px;
    margin-bottom: 14px;
}
li {
    margin-bottom: 7px;
}

/* --- Decorative Icon Lists --- */
ul li > img {
    vertical-align: middle;
    height: 22px;
    margin-right: 8px;
}

/* --- Thank-you Section --- */
.thank-you-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

/* --- Miscellaneous --- */
section > div > div > div > span > img, section > div > div > div > span img {
    width: 38px;
    height: 38px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ------------------
   FOOTER
-------------------*/
footer {
    background: var(--color-primary);
    color: #fff;
    padding: 34px 0 16px 0;
}
footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.footer-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    margin-bottom: 10px;
}
.footer-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    transition: color .16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-vibrant-orange);
    text-decoration: underline;
}
.footer-contact p {
    font-size: 0.98rem;
    color: #e0e6f0;
}
.footer-contact a {
    color: var(--color-electric-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color .16s;
}
.footer-contact a:hover {
    color: var(--color-electric-pink);
}

/* --------------------------------------------
   RESPONSIVE & MOBILE ADJUSTMENTS (Mobile-first)
-----------------------------------------------*/
@media (max-width: 1024px) {
    .container {
        max-width: 98vw;
        padding: 0 10px;
    }
    .feature_grid {
        gap: 16px;
    }
}
@media (max-width: 900px) {
    .feature_grid > div { min-width: 44vw; max-width: 98vw; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 28px 6px; }
    .card-content { padding: 18px 10px; }
    .feature_grid { flex-direction: column; gap: 18px; }
    .feature_grid > div { min-width: 95vw; max-width: 99vw; align-items: flex-start; text-align: left; }
    .content-grid,
    .card-container {
        flex-direction: column;
        gap: 16px;
    }
    .footer-nav { flex-direction: column; gap: 16px; }
    .footer-contact { text-align: left; }
    .testimonial-card { flex-direction: column; gap: 10px; align-items: flex-start; }
    .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 520px) {
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.1rem; }
    .btn-primary { font-size: 1rem; padding: 9px 12px; }
    .container { padding: 0 4px; }
    .feature_grid > div, .card { padding: 12px 4px; }
}

/* ------------
   ANIMATIONS
------------- */
.btn-primary, .main-nav a, .mobile-nav a, .card, .testimonial-card, .feature_grid > div {
    transition: box-shadow .19s, background .19s, color .16s, transform .14s;
}

/* -----------
   COOKIE BANNER
------------- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    background: rgba(34,199,250,.98);
    color: #fff;
    padding: 18px 16px 22px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    font-size: 1rem;
    box-shadow: 0 -2px 18px 0 rgba(250,33,122,0.12);
    animation: cookie-slide-up .46s cubic-bezier(0.32,0.82,0.57,1.06);
}
@keyframes cookie-slide-up {
    from { transform: translateY(80px); opacity: 0.2; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { margin: 0; color: #fff; }
.cookie-banner .cookie-btn-group {
    display: flex;
    flex-direction: row;
    gap: 13px;
}
.cookie-banner button {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 600;
    box-shadow: 0 2px 11px 0 rgba(34,199,250,0.07);
    cursor: pointer;
    transition: background .18s, color .14s, box-shadow .16s;
}
.cookie-banner .btn-accept {
    background: var(--color-vibrant-orange);
    color: #fff;
}
.cookie-banner .btn-accept:hover { background: var(--color-electric-pink); }
.cookie-banner .btn-reject {
    background: var(--color-primary);
    color: #fff;
}
.cookie-banner .btn-reject:hover { background: var(--color-electric-blue); }
.cookie-banner .btn-settings {
    background: #fff;
    color: var(--color-primary);
    border: 1.5px solid var(--color-electric-pink);
}
.cookie-banner .btn-settings:hover { background: var(--color-electric-pink); color: #fff; }
@media (max-width:600px) {
    .cookie-banner {
        flex-direction: column;
        gap: 14px;
        font-size: 0.92rem;
        align-items: flex-start;
    }
    .cookie-banner .cookie-btn-group {
        width: 100%;
        justify-content: flex-end;
    }
}

/*
   COOKIE MODAL
*/
.cookie-modal-bg {
    position: fixed;
    top: 0; left:0; right:0; bottom:0;
    background: rgba(23,30,45, 0.74);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInBg .32s;
}
@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(250,33,122,0.13);
    max-width: 414px;
    width: 92vw;
    padding: 34px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    animation: fadeInPopup .38s cubic-bezier(.18,.61,.38,1.04);
    position: relative;
    z-index: 501;
}
@keyframes fadeInPopup {
    from { transform: scale(.88) translateY(40px); opacity: 0.2; }
    to {   transform: none; opacity: 1; }
}
.cookie-modal h2 {
    color: var(--color-electric-pink);
    margin-bottom: 8px;
    font-size: 1.35rem;
}
.cookie-modal label {
    font-size: 1rem;
    font-family: 'Montserrat',Arial,sans-serif;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
    accent-color: var(--color-electric-blue);
    width: 20px; height: 20px;
    margin-right: 6px;
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
}
.cookie-modal .btn-close {
    background: none;
    border: none;
    color: var(--color-electric-pink);
    font-size: 2rem;
    position: absolute;
    top: 8px;
    right: 13px;
    cursor: pointer;
    z-index: 2;
}
.cookie-modal .btn-close:hover {
    color: var(--color-vibrant-orange);
}
.cookie-modal-category {
    background: var(--color-grey);
    border-radius: 9px;
    margin-bottom: 11px;
    padding: 10px 14px;
}
.cookie-modal-category label {
    cursor: pointer;
}
.cookie-modal-category input[disabled] { opacity: .7; }

@media (max-width: 440px) {
    .cookie-modal { padding: 20px 6px 18px 6px; }
}

/* ---------
 Z-INDEX LAYERING
---------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-bg { z-index: 999; }

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

input, textarea, select {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 8px;
    border: 1.5px solid #eaecf8;
    padding: 10px 12px;
    background: #fcfcfc;
    margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--color-electric-pink);
    outline: none;
}

/* -----------
   SCROLLBARS
---------- */
html {
    scrollbar-color: var(--color-electric-pink) var(--color-grey);
    scrollbar-width: thin;
}
::-webkit-scrollbar {
    width: 7px;
    background: var(--color-grey);
}
::-webkit-scrollbar-thumb {
    background: var(--color-electric-pink);
    border-radius: 8px;
}

/*
   Vibrant Energetic Touches - accents & micro-interactions
*/
h2:before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 7px;
    margin-right: 11px;
    background: var(--color-electric-blue);
    border-radius: 8px;
    vertical-align: middle;
}
h3:before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    background: var(--color-electric-pink);
    border-radius: 50%;
    vertical-align: middle;
}

/*
----------------------------
ENSURE NO OVERLAP & SPACING
----------------------------*/
.section, .card, .card-container, .feature_grid > div,.testimonial-card,.service-detail {
    margin-bottom: 24px;
}
.card-container, .feature_grid, .content-grid {
    gap: 20px;
}


/*-----------------------------------
  END Vibrant Energetic Styles
-----------------------------------*/
