:root {
    /* Base pastel neuromorphic palette */
    --primary: #63b3ed;    /* pastel blue */
    --primary-dark: #367ec7;
    --accent: #fcb900;     /* warm yellow */
    --accent-dark: #c39e3c;
    --secondary: #ffb5d2;  /* pastel rose */
    --secondary-dark: #c76d9d;
    --muted: #f9f6fa;
    --muted2: #f3f0ff;
    --muted3: #fdf6ec;
    --text-main: #222222;
    --text-light: #ffffff;
    --text-muted: #888888;
    --neu-light: #f9f8fb;
    --neu-dark: #d1d2de;
    --neu-shadow-light: #f5f6fa;
    --neu-shadow-dark: #d1ceda;
    --glass-bg: rgba(255,255,255,0.7);
    --gradient-primary: linear-gradient(135deg, #b5e6fc 0%, #fcbec1 100%);
    --gradient-accent: linear-gradient(90deg, #ffe2c6 0%, #caf0f8 100%);
    --section-padding: 54px;
    --border-radius: 20px;
    --card-radius: 18px;
    --card-shadow: 9px 18px 28px 0 rgb(140 146 160 / 8%), 0px 2px 8px 0 rgb(160 160 255 / 10%);
    --transition-main: 0.18s cubic-bezier(0.4,0.2,0.1,1);
}

/* ============ BASE ============ */
html {
    scroll-behavior: smooth;
    background: var(--muted);
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
    font-size: 17px;
    color: var(--text-main);
    background: var(--muted);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2.section-title {
    letter-spacing: -1px;
    font-size: 2.2rem;
    margin-bottom: 32px;
    position: relative;
    text-align: center;
    line-height: 1.1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.14);
}

/* ========== LAYOUT ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    width: 100%;
}

/* HEADER / NAV */
.header {
    width: 100%;
    padding: 0;
    background: var(--muted);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 103;
    box-shadow: 0 2px 20px 0 rgba(220, 210, 240, 0.07);
    transition: background 0.3s;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 8px 0;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -1px;
    display: block;
}
nav.nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li a {
    color: var(--text-main);
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.07rem;
    text-decoration: none;
    padding: 10px 0;
    transition: color var(--transition-main);
    position: relative;
    outline: none;
}
.nav-list li a:focus,
.nav-list li a:hover {
    color: var(--primary-dark);
    text-shadow: 1px 1px 3px rgba(126, 186, 223, 0.20);
}
#burger {
    display: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 0;
    min-width: 44px;
}
.burger-bar {
    width: 27px;
    height: 3px;
    background: var(--primary-dark);
    display: block;
    margin: 6px 0;
    border-radius: 3px;
    transition: all .28s cubic-bezier(.4,0,.2,1);
}

/* HERO */
.hero-section {
    min-height: 440px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center;
    box-shadow: 0 8px 40px 0 rgba(110,130,180,0.12);
}
.hero-section:after {
    content: "";
    display: block;
}
.hero-content {
    width: 100%;
    margin: 64px auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 60px 20px 50px 20px;
    background: linear-gradient(90deg, rgba(50,60,70,0.32) 0%, rgba(20,25,40,0.28) 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 38px -20px rgba(10,30,33,0.17);
    backdrop-filter: blur(2px);
}
.hero-content h1,
.hero-content p {
    color: #fff;
    text-shadow: 1px 1px 9px rgba(0,0,0,0.32),
                 0px 1px 13px rgba(0,0,0,0.19);
}
.hero-content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

/* GLOBALLY: BUTTONS & INPUTS */
.button,
.btn,
button,
input[type="submit"] {
    font-family: 'Source Sans Pro',sans-serif;
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 11px;
    box-shadow: 3px 3px 10px var(--neu-shadow-dark), -2px -2px 5px var(--neu-light);
    cursor: pointer;
    transition: background .14s, box-shadow .14s, transform .09s, color .14s;
    font-size: 1.04rem;
    outline: none;
    margin: 8px 0;
    position: relative;
    display: inline-block;
}
.button:active,
.btn:active,
button:active,
input[type="submit"]:active {
    box-shadow: 1px 1px 4px var(--neu-shadow-dark);
    transform: scale(0.98);
}
.button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
.button:focus,
.btn:focus {
    background: var(--primary-dark);
    color: var(--text-light);
    box-shadow: 0 8px 44px 0 #67bde6aa;
    outline: 0;
}
.neu-button {
    background: var(--primary);
    border-radius: 13px;
    color: #fff;
    box-shadow: 2px 3px 10px var(--neu-shadow-dark),
                -3px -2px 10px var(--neu-light);
    transition: all var(--transition-main);
}
.neu-button-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    box-shadow: none;
    transition: all var(--transition-main);
}
.neu-button-outline:hover,
.neu-button-outline:focus {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
    box-shadow: 0 10px 32px 0 #7dc3ed44;
}

input[type="text"], input[type="email"], textarea, .neu-input {
    width: 90%;
    padding: 12px 18px;
    background: var(--glass-bg);
    border: 1.3px solid #ebeef7;
    border-radius: 9px;
    color: var(--text-main);
    font-size: 1.06rem;
    box-shadow: 2px 2px 10px var(--neu-shadow-light);
    outline: none;
    margin: 6px 0 18px 0;
    transition: border var(--transition-main), box-shadow var(--transition-main);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, .neu-input:focus {
    border-color: var(--primary);
    box-shadow: 0 2px 13px 0 var(--primary-dark);
}

/* =========== SECTIONS ============= */
.section-pad {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

@media (max-width: 800px) {
    .section-pad {
        padding-top: 28px;
        padding-bottom: 32px;
    }
}

/* =========== HISTORY / ABOUT ========== */
.history-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
}
.history-column {
    flex: 1 1 320px;
    max-width: 540px;
    min-width: 260px;
    box-sizing: border-box;
}
.history-column.is-two-thirds {
    flex-basis: 65%;
    max-width: 67%;
}

/* =========== FEATURES ============ */
.features-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 34px;
    justify-content: center;
    align-items: stretch;
}

/* =========== CARDS (UNIVERSAL) ========== */
.card, .item, .testimonial, .team-member, .product-card {
    background: var(--neu-light);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 18px 20px;
    text-align: center;
    margin: 0 auto 18px auto;
    position: relative;
    transition: box-shadow .19s;
}
.card:hover, .item:hover, .testimonial:hover, .team-member:hover, .product-card:hover {
    box-shadow: 0 8px 30px 0 #b6c4ff11, 5px 9px 19px 0 #b7e9f633;
    transform: translateY(-2px) scale(1.018);
}

/* For all card images center horizontally */
.card-image, .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    width: 100%;
    margin-bottom: 14px;
    overflow: hidden;
    background: linear-gradient(120deg, #f9fafc 60%, #f3edff 100%);
}
.card-image img, .image-container img {
    object-fit: cover;
    width: auto;
    min-width: 90px;
    min-height: 60px;
    max-width: 98%;
    max-height: 140px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 4px 14px 0 #bdd4fc2f;
}
.card-content {
    text-align: center;
    width: 100%;
    padding: 2px 6px;
}

@media (max-width: 800px) {
    .history-flex, .features-flex, .careers-flex, .awards-flex, .insights-flex,
    .external-links-flex, .testimonials-gallery, .contact-flex {
        flex-direction: column !important;
        display: flex;
        gap: 28px !important;
    }
    .history-column,
    .history-column.is-two-thirds {
        max-width: 100%;
        flex-basis: 100%;
    }
    .card-image, .image-container {
        min-height: 88px;
        height: 120px;
    }
}
/* For all card parents in grid or flex context */
.external-links-flex, .insights-flex, .awards-flex, .testimonials-gallery, .careers-flex, .workshop-carousel .carousel-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
    gap: 28px 30px;
    justify-content: center;
    align-items: stretch;
}

/* ================ WORKSHOPS: Carousel ================ */
.workshop-carousel.carousel-parent {
    margin-top: 12px;
    position: relative;
    width: 100%;
}
.carousel-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 34px;
    align-items: stretch;
}
.carousel-controls {
    position: relative;
    z-index: 3;
    text-align: center;
    margin: 10px 0 0 0;
}
.carousel-next, .carousel-prev {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 40%;
    font-size: 2.4rem;
    font-weight: 700;
    width: 42px;
  
    margin: 0 7px;
    cursor: pointer;
    box-shadow: 1px 2px 6px #ffcbaf82;
    transition: background .17s, color .17s, box-shadow .19s;
}
.carousel-next:hover, .carousel-prev:hover {
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 8px 22px 0 #bfa83433;
}

/* ================== EXTERNAL RESOURCES =============== */
.resources-section .external-link,
.card-content .external-link {
    display: inline-block;
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 8px;
    margin-bottom: 5px;
    transition: color .15s, box-shadow .13s;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1.5px;
    background: linear-gradient(90deg,rgba(255,212,170,0.12),rgba(222,245,255,0.07));
    border-radius: 3px;
}
.resources-section .external-link:hover,
.card-content .external-link:hover {
    color: var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
}

a.read-more, .read-more {
    color: var(--primary-dark);
    font-weight: bold;
    text-decoration: underline;
    border-bottom: 1.5px solid var(--primary);
    transition: color .13s, border .13s;
}
a.read-more:hover, .read-more:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

/* ============ INSIGHTS (REPORTS) ============ */
.insights-flex .card {
    border-left: 5px solid var(--primary);
}

/* ============ TESTIMONIALS ============ */
.testimonials-gallery .card-image, .testimonials-gallery .image-container {
    height: 80px;
    max-width: 80px;
    min-width: 80px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ CAREERS ============ */
.careers-flex .card-image, .careers-flex .image-container {
    height: 140px;
}

/* ============= CONTACT ============= */
.contact-flex {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    margin-top: 24px;
    margin-bottom: 18px;
}
.contact-form.card {
    flex: 1 1 350px;
    max-width: 470px;
    min-width: 300px;
    padding-top: 34px;
    padding-bottom: 30px;
}

.contact-info-card {
    background: var(--muted3);
    min-width: 260px;
    max-width: 370px;
    flex: 1 1 260px;
    align-items: center;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-actions {
    margin-top: 8px;
    text-align: left;
}

/* ============= AWARDS ============= */
.awards-flex .card-image, .awards-flex .image-container {
    height: 105px;
    max-width: 120px;
    min-width: 80px;
    margin: 0 auto 7px auto;
}
.awards-flex .card {
    max-width: 360px;
    border-left: 4px solid var(--accent);
}
.awards-flex {
    gap: 30px 34px !important;
}

/* ============= FOOTER ============= */
.footer {
    background: var(--muted2);
    margin-top: 44px;
    padding: 45px 0 24px 0;
    box-shadow: 0 -4px 44px 0 rgba(119, 185, 250, 0.04);
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.footer-section {
    flex-basis: 28%;
    min-width: 160px;
}
.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav li {
    display: inline-block;
    margin: 0 7px 0 0;
}
.footer-nav li a {
    color: var(--primary-dark);
    font-size: 1.03rem;
    font-family: 'Source Sans Pro',sans-serif;
    font-weight: 600;
    opacity: 0.97;
    transition: color .14s;
    text-decoration: none;
}
.footer-nav li a:hover, .footer-nav li a:focus {
    color: var(--accent-dark);
    text-shadow: 1px 1px 2px #ffd4442f;
}
.footer-section a {
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 600;
    margin-right: 8px;
    transition: color .14s;
}
.footer-section a:hover, .footer-section a:focus {
    color: var(--accent-dark);
}
.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #ecebf7;
    margin-top: 20px;
}
.footer-section span {
    margin-bottom: 7px;
    display: block;
}
.footer-section .icon {
    display: inline;
    font-size: 1.06em;
    margin-right: 6px;
    vertical-align: middle;
}

/* TEXT SOCIAL ICONS (text only, no images!) */
.footer-section a[rel~="noopener"]:not(:last-child):after {
    content: "•";
    color: #bbb;
    margin: 0 9px;
}

/* =========== GLOBAL LINKS =========== */
a, .link, .external-link {
    transition: color .14s, border-bottom .12s;
    outline: none;
}
a:focus, a:active, .external-link:focus, .external-link:active {
    color: var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
}
a {
    color: var(--primary-dark);
}
a:hover {
    color: var(--accent-dark);
}

/* ============ SECTION BACKGROUNDS ============ */
.history-section { background: var(--muted); }
.features-section { background: var(--muted2);}
.workshops-section { background: var(--muted3);}
.resources-section { background: #eafdff; }
.insights-section { background: #f6f8f2;}
.awards-section { background: var(--muted2);}
.testimonials-section { background: #f5f5ff;}
.careers-section { background: #f7fff9;}
.contact-section { background: #fdf8f1;}
/* Ensure bg images settings */
.hero-section,
section[style*='background-image'] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: relative;
}
.hero-section:before,
section[style*='background-image']:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(130deg, rgba(15,20,38,0.5) 18%, rgba(40,35,60,0.40) 100%);
}

/* Add translucent overlay for text contrast where text overlays images */
.hero-section .container,
.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

@media (max-width:900px) {
    .footer-flex {
        flex-direction: column;
        gap: 22px;
    }
    .footer-section {
        flex: 1 1 100%;
        min-width: 160px;
        margin-bottom: 8px;
    }
    .header-flex {
        flex-direction: row;
        gap: 16px;
    }
}

/* MODAL WINDOW */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(25,28,38,0.46);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
}
.modal-content {
    background: var(--glass-bg);
    border-radius: 22px;
    box-shadow: 0 12px 48px -20px #b5aef1dd;
    padding: 44px 36px 28px 36px;
    min-width: 340px;
    max-width: 97vw;
    min-height: 200px;
    position: relative;
    text-align: center;
    color: var(--text-main);
}
.modal-close {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--accent-dark);
    background: none;
    border: none;
}

/* =========== SUCCESS PAGE =========== */
html.success-page, 
body.success-page {
    min-height: 100vh;
    background: var(--muted2);
}
.success-wrap {
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted2);
    flex-direction: column;
    text-align: center;
}
.success-message {
    padding: 45px 30px;
    background: linear-gradient(120deg, #fafffd 60%, #e2f4fc 100%);
    border-radius: 21px;
    box-shadow: 0 4px 24px 0 #cfdfff2f;
    font-size: 1.22rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display',serif;
}

/* =========== PRIVACY & TERMS =========== */
.privacy-content, .terms-content {
    padding-top: 100px !important;
    background: var(--muted);
}

/* =========== PARALLAX/GLASS/HOVER =========== */
/* Soft neuromorphic glass effect on cards and modals */
.card, .modal-content, .footer, .header, .neu-header, .neu-footer {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.card, .item, .testimonial {
    background: var(--glass-bg);
}
/* Micro-animations for cards and images */
.card,
.item,
.team-member,
.testimonial,
.product-card,
.contact-form,
input,
button,
.image-container img,
.card-image img {
    transition: box-shadow .17s, transform .17s, border-color .15s, background .12s;
}

/* Hover lift effect + slight tilt for asymmetry */
.card:hover,
.item:hover,
.team-member:hover,
.testimonial:hover,
.product-card:hover {
    transform: translateY(-4px) rotateZ(-1deg) scale(1.016);
}

/* Microanimation growing underline for section titles */
.section-title:after {
    content: "";
    display: block;
    margin: 13px auto 0 auto;
    background: var(--primary);
    height: 4px;
    width: 55px;
    border-radius: 8px;
    opacity: 0.15;
    transition: width .18s;
}
.section-title:hover:after,
.section-title:focus:after {
    width: 95px;
    opacity: 0.30;
}

::-webkit-scrollbar {
    width: 9px;
    background: var(--muted2);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 12px;
}

/* ========== RESPONSIVE NAV & CARDS ========== */
@media (max-width: 920px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 64px;
        right: 0;
        z-index: 120;
        background: var(--muted2);
        box-shadow: 0 8px 44px 0 #c8e0f728;
        flex-direction: column;
        min-width: 210px;
        padding: 24px 34px 18px 24px;
        gap: 18px;
        border-radius: 0 0 20px 20px;
        animation: animate__fadeInDown 0.4s both;
    }
    .nav-list.show {
        display: flex;
    }
    #burger {display: block;}
}
@media (max-width: 800px) {
    .container { padding: 0 8px;}
    .footer-section { min-width: 120px;}
}
@media (max-width: 600px) {
    .card, .item, .testimonial, .product-card, .contact-form.card {
        padding: 7vw 4vw 26px 4vw;
        min-width: 0;
    }
    .external-links-flex .card-content,
    .insights-flex .card-content,
    .careers-flex .card-content,
    .awards-flex .card-content,
    .testimonials-gallery .card-content {
        padding-left: 1vw; padding-right: 1vw;
    }
    .carousel-content {
        grid-template-columns: 1fr;
    }
}

/* Parallax: generic .parallax-bg utility (to be controlled via JS if desired) */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: background-position;
    transition: background-position 0.22s;
}

/* Utility classes */
.d-flex {display: flex;}
.flex-wrap {flex-wrap: wrap;}
.grid-center {display:grid;place-content:center;}
.text-center {text-align:center;}
.mt-2 {margin-top:12px;}
.mt-4 {margin-top:18px;}
.mb-2 {margin-bottom:12px;}
.mb-4 {margin-bottom:18px;}

/* =========== Z-INDEX FOR NAV =========== */
.header, .neu-header {z-index:200;position:sticky;top:0;background:var(--muted);}

/* =========== GLASSMORPHIC HEADER/FOOTER =========== */
.neu-header,
.neu-footer {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(128deg,rgba(245,245,255,0.93) 80%,rgba(240,235,255,0.72) 100%);
}

/* Overrride Animate.css fadeIn as needed */
.animate__animated {
    will-change: opacity, transform;
}
/* Cookie popup style is inline only, required by restriction. */
html,body{
    overflow-x: hidden;
}
@media (max-width: 1024px) {
    
}