/* =====================================
   VoltStorm Speaking Academy – Style.css
   gradient_modern style, FLEXBOX ONLY
   ===================================== */

/* --- CSS RESET & NORMALIZE --- */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: #F6F9FC;
}
body {
    background: linear-gradient(135deg, #68B3D8 0%, #F8D94F 100%) fixed;
    color: #1C2237;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}
section, main, header, footer, nav, aside {
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
ul, ol { list-style-position: inside; }

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- UNIVERSAL TYPOGRAPHY --- */
h1, .hero h1 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #1C2237;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
@media (min-width: 600px) {
    h1, .hero h1 { font-size: 3.5rem; }
}
h2 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #1C2237;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
@media (min-width: 600px) {
    h2 { font-size: 2.25rem; }
}
h3 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #21294C;
}
h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
}
p, ul, ol, li, blockquote, span, em, strong {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1.07rem;
    color: #22253C;
    line-height: 1.7;
}
strong { font-weight: 700; }
blockquote {
    border-left: 4px solid #68B3D8;
    color: #36658A;
    margin: 28px 0 24px 0;
    padding: 8px 0 8px 20px;
    font-style: italic;
    font-size: 1.2rem;
}

/* --- GENERAL LAYOUT --- */
.container {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    width: 100%;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(255,255,255,0.94);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(30,52,100,0.07);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 3px 24px rgba(60, 80, 118, 0.08);
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
}
.card:hover, .card:focus-within {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 8px 40px rgba(60, 108, 143, 0.12);
    z-index: 1;
}
.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;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: #FCFCFC;
    box-shadow: 0 2px 16px rgba(60, 108, 143, 0.10);
    border: 1px solid #EAF3FA;
    transition: box-shadow 0.16s;
    color: #181E34;
}
.testimonial-card strong {
    color: #253565;
    font-size: 1rem;
    font-weight: 600;
}
.testimonial-card span {
    color: #F8D94F;
    font-size: 1.25rem;
    letter-spacing: 1.2px;
}
.testimonial-card:hover {
    box-shadow: 0 8px 38px rgba(60, 108, 143, 0.13);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
    width: 100%;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 24px rgba(28,34,55,0.078);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: stretch;
    min-height: 60px;
}
.logo img {
    height: 42px;
    margin: 12px 18px 12px 0;
    display: block;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(68,179,216,0.041);
}
.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    color: #253565;
    position: relative;
    transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #68B3D8;
    color: #1C2237;
}
.cta-btn {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.07rem;
    color: #1C2237;
    background: linear-gradient(90deg, #F8D94F 40%, #68B3D8 100%);
    border: none;
    border-radius: 30px;
    padding: 11px 32px;
    margin-left: auto;
    margin-right: 18px;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(248, 217, 79, 0.14);
    transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
    letter-spacing: .03em;
    display: inline-block;
    text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, #68B3D8 7%, #F8D94F 93%);
    box-shadow: 0 7px 28px rgba(104,179,216,.14);
    color: #212133;
    transform: translateY(-1px) scale(1.04);
}
@media (max-width: 960px) {
    .main-nav { gap: 14px; }
    .cta-btn { padding: 10px 16px; }
    .logo img { height: 38px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    header .cta-btn { display: none; }
    .logo img { height: 33px; margin: 7px 14px 7px 0; }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
    display: none;
    background: #68B3D8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 2.1rem;
    padding: 6px 16px;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 102;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(68,179,216,0.08);
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #F8D94F;
    color: #1C2237;
    outline: none;
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(28,34,55,0.97);
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(.78,.17,.38,.89);
    box-shadow: 2px 0 32px rgba(60, 108, 143, 0.13);
    padding: 0 0 60px 0;
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: transparent;
    border: none;
    color: #F8D94F;
    font-size: 2.3rem;
    padding: 14px 14px 5px 5px;
    cursor: pointer;
    align-self: flex-end;
    margin: 24px 26px 12px 0;
    transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #68B3D8;
}
.mobile-nav {
    width: 100%;
    padding: 0 36px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 22px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    padding: 12px 0 10px 6px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
    min-height: 38px;
    min-width: 44px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
    background: #F8D94F;
    color: #1C2237;
}
@media (min-width: 769px) {
    .mobile-menu, .mobile-menu-toggle { display: none; }
}

/* --- HERO & HEADERS --- */
.hero {
    display: flex;
    align-items: center;
    padding: 70px 0 44px 0;
    background: linear-gradient(100deg, #68B3D8 0%, #F8D94F 100%);
    border-radius: 0 0 48px 48px;
    box-shadow: 0 9px 60px -10px rgba(28,34,55,0.09);
    margin-bottom: 34px;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero .content-wrapper {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.hero h1, .hero h2 {
    color: #1C2237;
    text-shadow: 0 3px 15px rgba(248,217,79,0.07);
}
.hero h2 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #253565;
    margin-bottom: 18px;
}
@media (max-width: 768px) {
    .hero {
        padding: 36px 0 30px 0;
    }
    .hero .content-wrapper { max-width: 99vw; }
}

/* --- FEATURES SECTION (UL LISTS) --- */
.features ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
}
.features ul li,
.services ul li,
.team ul li,
.legal ul li,
.about ul li,
.contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.07rem;
    background: #FAFCFE;
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 0;
    box-shadow: 0 1px 6px rgba(24,30,52,0.06);
    font-weight: 500;
    color: #243055;
}
.features ul li img,
.services ul li img,
.contact ul li img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.features h2, .services h2, .team h2, .about h1, .legal h1, .legal h2 {
    margin-bottom: 22px;
}

/* --- SERVICES/COURSES SECTION --- */
.services ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}
.services ul li {
    flex-direction: column;
    background: #fff;
    border: 1px solid #EAF3FA;
    box-shadow: 0 1px 12px rgba(68, 179, 216, 0.05);
    align-items: flex-start;
    gap: 7px;
    border-radius: 13px;
}
.services ul li strong {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    color: #23315A;
    margin-bottom: 3px;
}
.services ul li span,
.services ul li a {
    font-size: 1rem;
    color: #68B3D8;
    margin-top: 3px;
}
.services ul li a {
    color: #253565;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.15s;
}
.services ul li a:hover, .services ul li a:focus {
    color: #F8D94F;
}

/* --- TEAM SECTION --- */
.team {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.team ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
    padding-left: 0;
}
.team ul li {
    background: #F7FAFF;
    border-radius: 13px;
    box-shadow: 0 1px 6px rgba(68,179,216,.07);
    padding: 15px 18px;
    color: #1C2237;
    font-size: 1.05rem;
    display: flex;
    gap: 10px;
}

/* --- CTA SECTIONS --- */
.cta, .cta section {
    background: linear-gradient(100deg, #F8D94F 50%, #68B3D8 100%);
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(68, 179, 216, 0.09);
    margin-bottom: 60px;
    padding: 40px 18px;
}
.cta .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.cta h2 {
    color: #1C2237;
}
.cta-btn {
    margin-top: 18px;
}

/* --- LEGAL/INFO PAGES --- */
.legal {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.legal ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.legal ul li {
    background: #FCFCFD;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(68,179,216,.05);
    padding: 14px 18px;
    color: #182034;
    font-size: 1rem;
}

/* --- CONTACT --- */
.contact ul {
    gap: 18px;
}
.contact .content-wrapper > .map {
    margin-top: 18px;
    background: #F8D94F;
    border-radius: 9px;
    padding: 14px 17px;
    box-shadow: 0 1px 8px rgba(68,179,216,0.05);
    color: #1C2237;
    font-size: 1.07rem;
}

/* --- THANK YOU PAGE --- */
.thank-you {
    margin-bottom: 60px;
    padding: 46px 20px 40px 20px;
    text-align: center;
    background: linear-gradient(to right, #F8D94F 60%, #68B3D8 100%);
    border-radius: 24px;
    box-shadow: 0 2px 38px rgba(68,179,216,0.10);
}
.thank-you ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 25px;
    padding-left: 0;
}
.thank-you a.cta-btn {
    margin-top: 20px;
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(90deg, #253565 85%, #68B3D8 130%);
    color: #fff;
    padding: 36px 0 0px 0;
    box-shadow: 0 -3px 24px rgba(28,34,55,0.085);
}
footer .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding-bottom: 24px;
}
footer a img {
    height: 38px;
    margin-bottom: 9px;
    margin-top: 6px;
    border-radius: 5px;
}
.footer-nav {
    display: flex;
    gap: 17px;
    margin-bottom: 7px;
}
.footer-nav a {
    color: #F8D94F;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: .99rem;
    padding: 4px 7px;
    border-radius: 6px;
    transition: color 0.14s, background 0.14s;
    text-decoration: none;
}
.footer-nav a:focus, .footer-nav a:hover {
    background: #F8D94F;
    color: #1C2237;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #e7eafd;
    font-size: .98rem;
    margin-bottom: 0;
    align-items: flex-start;
}
.contact-info img {
    width: 17px;
    height: 17px;
    margin-right: 7px;
    vertical-align: middle;
}

/* --- SPACING, ALIGNMENT, FLEX RESPONSIVENESS --- */
@media (min-width: 960px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}
@media (max-width: 600px) {
    .section,
    .team,
    .legal,
    .cta {
        padding: 20px 6vw;
        border-radius: 14px;
    }
}

/* --- CARDS & VISUALS --- */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.card-content p { color: #253565; }

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
button,
.cta-btn,
.card,
.main-nav a,
.footer-nav a,
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-nav a {
    transition: background .17s, color .17s, box-shadow .16s, transform .16s;
}
a, button { outline: none; }
a:focus-visible, button:focus-visible {
    outline: 2px solid #F8D94F;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #68B3D877;
}

/* --- RESPONSIVE: FLEX DIRECTION --- */
@media (max-width: 768px) {
    .container { padding-left: 11px; padding-right: 11px; }
    .footer-nav { gap: 9px; flex-wrap: wrap; }
    footer .container { gap: 13px; }
}

/* --- ACCESSIBILITY: FOCUS --- */
:focus-visible {
    outline: 2px solid #68B3D8;
    outline-offset: 2px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: linear-gradient(90deg, #68B3D8 0%, #F8D94F 98%);
    color: #1C2237;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 23px 6vw 19px 6vw;
    box-shadow: 0 -4px 28px rgba(68, 179, 216, 0.09);
    font-size: 1.06rem;
    z-index: 1400;
    animation: cookiebannerfadein 0.45s cubic-bezier(.58,.01,.77,1.03);
}
@keyframes cookiebannerfadein {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
    flex: 1 1 0px;
    color: #1C2237;
    font-size: 1.05rem;
}
.cookie-banner button {
    min-width: 120px;
    padding: 9px 23px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 18px;
    margin-left: 8px;
    background: #fff;
    color: #253565;
    box-shadow: 0 2px 8px rgba(24,36,52,0.03);
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
    outline: none;
}
.cookie-banner .cookie-accept {
    background: #68B3D8;
    color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
    background: #F8D94F;
    color: #1C2237;
}
.cookie-banner .cookie-reject {
    background: #fff;
    border: 1px solid #25356555;
    color: #253565;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
    background: #F8D94F;
    color: #1C2237;
}
.cookie-banner .cookie-settings {
    background: transparent;
    color: #253565;
    text-decoration: underline;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
    color: #68B3D8;
    background: #fff;
}
@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        gap: 12px;
        padding: 21px 12px 16px 12px;
        font-size: .99rem;
    }
    .cookie-banner button {
        min-width: 85px;
        margin-left: 0;
        margin-top: 8px;
    }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(28,34,55,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cookie-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 93vw;
    box-shadow: 0 8px 58px rgba(28,34,55,0.23);
    padding: 38px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: cookiemodalfadein 0.33s cubic-bezier(.56,.03,.77,1.03);
    position: relative;
}
@keyframes cookiemodalfadein {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
    margin-bottom: 0;
    color: #1C2237;
    font-size: 1.35rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin-bottom: 14px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cookie-modal label {
    font-size: 1.09rem;
    color: #243055;
    font-weight: 500;
}
.cookie-toggle {
    appearance: none;
    width: 38px;
    height: 22px;
    background: #E9EDF5;
    border-radius: 13px;
    position: relative;
    outline: none;
    transition: background 0.18s;
    cursor: pointer;
}
.cookie-toggle:checked {
    background: #68B3D8;
}
.cookie-toggle::before {
    content: '';
    display: block;
    position: absolute;
    left: 4px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 6px rgba(28,34,55,0.09);
    transition: transform 0.19s;
}
.cookie-toggle:checked::before {
    transform: translateX(16px);
}
.cookie-modal .cookie-btns {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.cookie-modal .cookie-btns button {
    padding: 10px 21px;
    font-size: 1.05rem;
    border-radius: 14px;
    border: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    background: #68B3D8;
    color: #fff;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-btns button:hover, .cookie-modal .cookie-btns button:focus {
    background: #F8D94F;
    color: #1C2237;
}
.cookie-modal-close {
    color: #68B3D8;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    position: absolute;
    right: 19px;
    top: 15px;
    cursor: pointer;
    transition: color 0.14s;
    z-index: 2;
}
.cookie-modal-close:hover {
    color: #F8D94F;
}
.cookie-category input[disabled] + label {
    color: #999ba6;
    text-decoration: line-through;
}

/* --- MISC ACCESSIBILITY --- */
@media (max-width: 500px) {
    h1, .hero h1 { font-size: 1.65rem; }
    h2 { font-size: 1.19rem; }
}
@media (max-width: 400px) {
    .cookie-banner, .cookie-modal { font-size: .96rem; }
    .cta-btn, .cookie-modal .cookie-btns button { font-size: .97rem; padding: 8px 12px; }
}

/* --- END OF CSS --- */
