/* MOBILE FIRST - Main and Layouts */

* {
    box-sizing: border-box;
}

body, main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

section {
    padding: 1.8em 1em;
    width: 100vw;
    max-width: 740px;
}

.goal-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body {
    background: #EFEFEF;
    color: #2B3673;
    font-family: 'Source Sans 3', sans-serif;
    margin: 0px;
}

main {
    padding: 0 1em;
}

footer {
    padding: 2.5em 0;
    margin: 0 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-color {
    border-radius: 20px;
    border: 1px solid #9CA2C6;
    background: rgb(255, 255, 255);
}

.card-interactive {
    border: 1px solid #9CA2C6;
    transition: box-shadow 0.3s ease-in;
}

.card-interactive:hover {
    border: 1px solid #686a789e;
    box-shadow: 2px 2px 10px 0px #cccfee7d, -2px -2px 40px 0px #cccfeed2;
}


.cards-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2rem;
}

.two-col {
    display: flex;
    flex-direction: column;
}

.founder-card {
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 40px 16px;
}

.founder-card .two-col {
    display: flex;
    flex-direction: column-reverse;
    gap: 36px;
    align-items: center;
}

.founder-text-block {
    display: flex;
    flex-direction: column;
    padding: 1em;
    gap: 20px;
}

.txt-flex {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.services-pricing {
    display: flex;
    flex-direction: column;
}

.subscribe {
    display: flex;
    flex-direction: column;   
    gap: 20px;
}

/* Navigation bar */

header {
    display: flex;
    justify-content: center;
    width: 100%;
}

.notification-bar {
    z-index: 99999;
    background: rgb(54 21 202 / 90%);
    color: white;
    text-decoration: none;
    position: relative;
    display: flex;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100vw;   
}

.container {
    max-width: 1300px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100vw;
}

nav {
    z-index: 99998;
    background:linear-gradient(180deg,#efefef, rgba(255, 255, 255, 0) 100%);

    position: fixed;
    display: flex;
    justify-content: center;
    overflow-y: visible;
    padding: 1em;
    top: 0;
    width: 100vw;
}

.scrolling-el {
    padding-top: 90px;
    transition: padding 0.3s ease;
  }

.menu-icon {
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
    color: #2B3673;
}

.menu-modal {
    z-index: 99999;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 60px 0px 60px 0px;
    background-color: #EFEFEF;
    align-items: center;
    align-self: center;
    justify-content: flex-start;
    flex-direction: column;
}

a {
    color: #2B3673;
    text-decoration: none;   
    width: max-content; 
}

.navbar-links {
    display: flex;
    gap: 50px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.navbar-nav button{
    align-self: center;
    margin-bottom: 0px;
}

.menu-content {
    display: flex;
    flex-direction: column;
    height: fit-content;
    align-items: center;
    border-radius: 5px;
    text-align: center;
    gap: 8px;
    color: var(--palette-1-text-primary, #EFF0F4);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 80vw;
}

.menu-content .cta-filled {
    margin-top: 1em;
    width: 100%;
}

.menu-content details {
    padding: 0.8em 0 0.5em 0;
}

.modal-career-tracks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-left: 16px;
}

.close-modal {
    position: absolute;
    top: 32px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #2B3673;
}

.service-card {
    padding: 32px 16px;
    gap: 16px;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding-bottom: 15px;
    border-bottom: dashed 1px #4C4D58;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;
  }
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 300px auto;
    padding: 20px -5px 20px 20px;
    position: relative;
}
  
.popup .close {
    position: absolute;
    top: 10px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #2B3673;
}

/* Navigation - Drop-downs */

.dropdown {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.popover-toggle {
    border: none;
}

.popover-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 1rem;
  }
  
  .popover-content a {
    display: block;
    text-decoration: none;
    padding: 8px 0;
  }


/* Hero */

.hero {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100vw;
}

.hero-bg {
    padding: 6em 1em;
    background-image: url('/assets/images/hero-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero img {
    display: none;
}

.h-subject{
    flex-direction: column;
    align-items: flex-start;
    height: 5.5rem;
    display: flex;
    position: relative;
    overflow: hidden;
    margin: 2em;
    width: 600px;
}

.h-container{
    z-index: 1;
    margin-top: .3rem;
    line-height: 1.2rem;
    position: relative;
}

.h-row {
    display: flex;
}

.h-container h1 {
    margin: 0;
}

#profession {
    margin: 0;
}
  

#changingProfession {
    transition: opacity 3s ease-in-out;
}
  
.fade-out {
    opacity: 0;
}

  
.hero a {
    width: 100%;
}

.photo img{
    width: 100%;
}

/* ABOUT SECTION */

.abt-section {
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    padding: 16px;
    justify-content: space-between;
    align-items: flex-start;
}

.abt-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.abt-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 470px;
}

.abt-right a {
    border-bottom: 1px solid #2B3673;
}

/* UNLEASH YOUR POTENTIAL */

.potential-card {
    padding: 24px;
    /* width: 33.3%; */
}

.potential-card h4,
.perks-info h4 {
    /* font-size: 36px; */
    font-weight: 900;
}

.potential-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: stretch;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;

}

/* WHY DATA PROFESSIONALS CHOOSE SURFALYTICS */

.perks-wrap {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.perks-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.perks-card img {
    max-width: 100%;
}

.perks-info {
    max-width: 556px;
}

.perks-info a {
    font-size: 1.125rem;
    border-bottom: 1px solid #2b3673;
}

.perks-info a:hover {
    border-bottom: 1px solid #2b36737c;
}

/* swag section */

.swag-section {
    display: flex;
    flex-direction: column-reverse;
    padding: 32px 16px;
    align-items: center;
    gap: 32px;
}

.swag-img {
    width: 300px;
    mix-blend-mode: multiply; 
    flex-shrink: 0;
    border-radius: 20px;
}

.margin-m {
    margin-bottom: 1em;
}

/* Mobile burger menu */

@media only screen and (max-width: 1400px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-icon {
        display: block;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-nav.show {
        display: block;
        width: 100%;
        position: absolute;
        background-color: #333;
        text-align: center;
    }

    .navbar-nav a {
        display: block;
        padding: 15px;
    }

}

.founder-photo {
    width: 310px;
    height: 100%;
    margin-bottom: 1.5em;
}

footer > .two-col {
    gap: 30px;
}

/* Drop-down list */

.drop-down {
    margin: 1em 0 1.5em 0;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1024px;
}

summary {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

details {
    display: flex;
    flex-direction: column;
    padding: 0.8em 1em 0.5em 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid #CCCFEE;
    max-width: 1024px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
}

.left-aligned details {
    align-items: baseline;
}

/* Buttons and links */

.navbar-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    line-height: 24px;
    transition: border 0.3s ease;
}

.navbar-links a:hover {
    border-bottom: 1px solid #2B3673;
}

.service-card a{
    align-self: stretch; 
    width: 100%; 
    text-decoration: none;
}

button {
    color: var(--palette-1-text-primary, #EFF0F4);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: inherit;
    border-radius: 10px;
    padding: 12px 24px;
    margin-bottom: 10px;
    width: 100%;
    cursor: pointer;
}

button:disabled {
    border: none;
    background: rgba(67, 64, 82, 0.60);
    pointer-events: none;
}

.hero-price {
    border: 1px solid #9CA2C6;
    background-color: #EDEDEE;
    color: #2B3673;
    transition: background 0.3s ease;
}

.hero-price:hover {
    border: 1px solid #9CA2C6;
    background-color: #DFDFE0;
}

.cta-filled{
    border: 1px solid #374594;
    background: linear-gradient(45deg, rgb(49 69 176) 48%, rgb(37 7 186) 100%);
    /* transition: 0.3s; */
}

.secondary {
    border-radius: 10px;
    border: solid 1px #2b3673;
    background: #2b3673;
    color: #fff;
}

nav .cta-filled,
.menu-content .cta-filled {
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
}

.cta-filled:hover {
    color: whitesmoke;
    border: solid 1px #2B3673;
    background: #1b2457;
}


.cta-outlined:hover {
    border-radius: 10px;
    border: 1px solid rgba(18, 38, 148, 0.90);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%), linear-gradient(0deg, rgba(58, 9, 255, 0.07) 0%, rgba(58, 9, 255, 0.07) 100%), #181A21;
}

.mobile-hidden-btn {
    display: none;
}

/* COLOR STYLES */

.gradient {
    background: var(--h-grad, linear-gradient(90deg, #2B3673 0%, #657BF3 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography */

@font-face {
    src: url("assets/fonts/supreme-font/futura medium bt.ttf");
    font-family: Futura;
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'Source Sans 3';
    font-size: 32px;
    text-align: center;
    font-weight: 900;
    line-height: 135%;
    margin: 2rem 0 0 0;
}

h2 {
    color: #2B3673;
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    margin: 0px;
}

h3 {
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

h4 {
    font-size: 22px;
    font-weight: 400;
    margin: 0;
}

.col-left h4 {
    font-weight: 900;
    margin: 1em 0 0.5em 0;
}

.col-left h2 {
    text-align: center;
    margin: 1em 0 0.5em 0;
}

.col-left p {
    display: none;
}

h5 {
    font-size: 18px;
    font-weight: 500;
}

.hero p {
    text-align: center;
}

.bigger-p {
    font-size: 20px;
}

.founder-text-block p {
    margin: 0;  
}

footer p {
    color: #2b3673b1;
    text-align: left;
    margin: 2rem 0 0 0;
}

footer p > a{
    color: #2b3673b1;
    border-bottom: 1px solid #2b3673b1;
}

.crossed-price {
    text-decoration: line-through;
    color: #B1B5D0;
}

.orange-txt {
    color: #fe804c;
    font-weight: 700;
}

.centered {
    text-align: center;
    max-width: none;
}

/* Logos and socials list */

ul {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.membership-ul {
    margin: 1.5em 0;
}

.service-card li {
    padding: 0.4em 0;
}

.founder-ul {
    line-height: 180%;
}

.socials {
    list-style: none;
    display: flex;
    align-self: stretch;
    justify-content: space-between;
    margin: 2em 1em 0 1em;
    gap: 30px;
}

.logos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: stretch;
    gap: 40px;
    margin: 2rem 0 0 0;
}

/* Input */

input {
    color: #2B3673 !important;
    background: #EFEFEF !important;
    display: flex;
    width: 100%;
    height: 30px;
    padding: 20px 20px;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid var(--palette-1-text-secondary, #A7A7BA);
}

/* Images */

.logo {
    display: block;
    align-self: center;
    width: 80%;
    height: auto;
    padding: 0px;
    border: none;
    background: none;
}


.tab-block {
    display: none;
    border-radius: 15px;
    border: 1px solid #4C4D58;
    background: #fafafa;
}

.course-img {
    display: none;
}



/* Career track page styles */

.article-wrap {
    display: flex;
    flex-direction: row;
    gap: 100px;
    max-width: 1300px;
}

.article-container {
    max-width: 768px;
    width: 100vw;
}

.article-container img {
    width: 100%;
}

.article-container h1,
.article-container h2 {
    margin: 120px 0 0.5em 0;
}

.article-wrap ul {
    list-style-position: inside;
}

.sticky-nav {
    display: none;
}

.testimonials button {
    margin: 1em auto;
    padding: 12px 56px;
    max-width: max-content;
}

.overlay { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.overlay:target { opacity: 1; pointer-events: auto; }

.auth-screen {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
}

.auth-screen.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.auth-screen.is-active { transition-delay: 60ms; }

/* Desktop styles */
@media screen and (min-width: 769px) {

    .hero img {
        display: block;
        width: 42%;
    }

    .hero button {
        padding: 14px 40px;
        font-size: 18px;
        border-radius: 10px;
        min-width: 360px;
        max-width: max-content;
    }

    .hero a {
        width: max-content;
    }

    .hero-bg {
        padding: 10em 1em;
    }

    .abt-section {
        flex-direction: row;
        max-width: 1300px;
        padding: 64px;
    }

    .abt-left h5 {
        font-size: 28px;
    }

    .abt-left h2 {
        font-size: 46px;
        font-weight: 900;
    }

    .potential-wrap {
        flex-direction: row;
        margin-top: 64px;
    }

    .potential-card {
        padding: 32px 40px;
        max-width: 375px;
    }

    .potential-card h4,
    .perks-info h4 {
        font-size: 36px;
        font-weight: 900;
    }

    .perks-card {
        flex-direction: row;
        padding: 24px 48px;
        gap: 48px;
    }

    .perks-card img {
        max-width: 500px;
    }

    .course-img {
        display: block;
        max-width: 47%;
        padding: 16px;
        mix-blend-mode: darken;
        box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.10);
    }

    .photo {
        padding-top: 6rem;
    }

    .col-left h2 {
        text-align: left;
    }

    .membership-ul {
        margin: 0;
    }

    .feedback-card-quote {
        height: 51px;
    }

    .feedback-card-text {
        height: 204px;
    }

    /* swag section */
    .swag-section {
        display: flex;
        flex-direction: row;
        padding: 32px 48px;
        align-items: center;
        gap: 64px;
    }

    .swag-text h2 {
        margin: 1em 0;
    }

    .swag-text a,
    .swag-text button {
        width: 300px;
        margin-top: 2em;
    }

    .swag-img {
        width: unset;
        max-width: 420px;
    }

    /* Career track page styles */
    .article-wrap {
        display: flex;
        flex-direction: row;
        gap: 100px;
        max-width: 1300px;
    }

    .article-container {
        max-width: 768px;
        width: 100vw;
    }

    .article-container img {
        width: 100%;
    }

    .article-container h1,
    .article-container h2 {
        margin: 100px 0 0.5em 0;
    }

    .article-wrap ul {
        list-style-position: inside;
    }

    .sticky-nav {
        display: block;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding: 10px;
        height: min-content;
        margin-top: 17em;
    }

    .sticky-nav h4 {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 0.5em;
    }

    .sticky-nav ul {
        list-style: none;

    }

    .sticky-nav li {
        padding: 1em 1em 1em 0;
        border-bottom: 1px solid #CCCFEE;
        transition: padding 0.3s ease, background 0.3s ease;
    }

    .sticky-nav li:hover {
        background-color: #E8E9EE;
        border-radius: 8px;
        padding: 1em 0.5em 1em 0.5em;
    }

    /* General desktop styles */
    section {
        padding-top: 150px;
        max-width: 1300px;
    }

    nav .container,
    footer .container {
        width: 100vw;
    }

    .course-promo {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .course-promo details {
        width: 540px;
    }

    .two-col {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 80px;
    }

    .course-promo .two-col {
        align-items: flex-start;
        margin-top: 3em;

    }

    .btn-block {
        display: flex;
        align-items: flex-start;
        align-self: stretch;
        gap: 25px;
    }

    .btn-block a {
        align-self: stretch;
        width: 100%;
        text-decoration: none;
    }

    .two-col {
        display: flex;
        flex-direction: row;

    }

    .col-left {
        display: flex;
        flex-direction: column;
        max-width: 540px;
    }

    .cards-block {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: 2rem;
    }

    .service-card {
        display: flex;
        padding: 32px;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        flex: 1 0 0;
        align-self: stretch;
        flex-shrink: 0;
    }

    .card-header {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        border-bottom: dashed 1px #4C4D58;
    }

    .card-header p {
        margin: 0 0 0.5em 0;
    }

    .card-description {
        height: 350px;
        margin: 0 0 1em 0;
    }

    .goal-section {
        gap: 50px;
    }

    .cards-block .card-header {
        height: 158px;
    }

    .services-pricing {
        display: block;
    }

    footer {
        display: block;
        padding: 90px 0;
    }

    footer > .two-col {
        align-items: flex-end;
        gap: 300px;
    }

    .founder-photo {
        width: 430px;
    }

    .founder-card .two-col {
        display: flex;
        flex-direction: row;
        gap: 40px;
        padding: 24px 32px;
    }

    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 200ms;
        visibility: hidden;
        opacity: 0;
    }

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

    .popup {
        margin: 300px auto;
        padding: 20px;
        /* background: #fff;
        border-radius: 20px; */
        width: 45%;
        /* height: 20%; */
        position: relative;
        transition: all 5s ease-in-out;
    }

    .popup .close {
        position: absolute;
        top: 10px;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #2B3673;
    }

    /* Desktop - drop down list */
    details {
        display: flex;
        flex-direction: column;
        padding: 0.8em 1em 0.5em 0;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        border-bottom: 1px solid #CCCFEE;
        max-width: 1024px;
        font-size: 18px;
        font-weight: 400;
        line-height: 150%;
        cursor: pointer;
        transition: padding 0.3s ease, background 0.3s ease;
    }

    details:hover {
        background: #ebecf0;
        /* padding: 0.8em 0 0.5em 1em; */
    }

    summary {
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    /* Navigation - Desktop */
    .popover-content {
        display: none;
        position: absolute;
        top: 30px;
        background-color: #EFEFEF;
        box-shadow: 0 2px 8px rgba(106, 102, 102, 0.165);
        padding: 8px 24px 8px 16px;
        border-radius: 5px;
    }

    .popover-content a {
        display: block;
        text-decoration: none;
        padding: 8px 0;
    }

    /* logo in navigation */
    .logo {
        width: auto;
        height: auto;
    }

    /* Fade in tabs */
    @-webkit-keyframes fadeEffect {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes fadeEffect {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Typography - Desktop */
    h1 {
        font-size: 70px;
        line-height: 125%;
    }

    .card-header h2 {
        font-size: 54px;
    }

    h2 {
        font-size: 42px;
        width: auto;
        max-width: 900px;
    }

    .col-left h2 {
        font-size: 58px;
        font-weight: 900;
    }

    h3 {
        font-size: 38px;
        max-width: 560px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .col-left h3 {
        font-size: 46px;
    }

    .col-left p {
        display: block;
    }

    .col-left a {
        font-size: 20px;
    }

    h4 {
        align-self: stretch;
        font-size: 28px;
    }

    footer h4,
    .surfalytics-focus h4 {
        margin: 0;
    }

    h5 {
        margin: 0px;
    }

    .course-promo h2 {
        max-width: 700px;
    }

    .col-left h4 {
        font-size: 28px;
        font-weight: 700;
        margin: 1em 0 0.5em 0;
    }

    .col-left a {
        margin-top: 0.5em;
    }

    p {
        font-size: 1.125rem;
    }

    .hero p {
        font-size: 1.3rem;
        margin: 1.5em 0 5em 0;
    }

    footer p {
        text-align: right;
        margin: 2rem 0 0 0;
    }

    button {
        font-size: 1rem;
    }

    /* Instagram feed */
    .instagram-feed {
        display: flex;
        gap: 24px;
    }

}

  