:root{
    --main-gradient: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
    --primary-color: #25285A;
    --secondary-color: #232323;
    --tertiary-color: #095238;
    --quaternary-color: #383743;
    --fs16: 1rem;
    --fs18: 1.125rem;
    --fs20: 1.25rem;
    --fs24: 1.5rem;
    --fs32: 2rem;
    --fs36: 2.25rem;
    --fs40: 2.4rem;
    --fs42: 2.5rem;
    --fs48: 3rem;
    --fs60: 3.75rem;
    --fs64: 4rem;
    --fs72: 4.5rem;
}

*{
    box-sizing: border-box;
}

html, body{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; /* optional for smooth snap */

}

body{
    scroll-snap-type: y mandatory;
    font-family: 'Instrument Sans', sans-serif;
    font-size: var(--fs18);
}

section{
    scroll-snap-align: start;
}

h1{
    font-size: var(--fs48);
}

h2{
    font-size: var(--fs36);
    text-decoration: underline;
    text-underline-offset: 25px;
    text-decoration-thickness: 5px;
    text-align:center;
}

h3{
    font-size: var(--fs32);
}

h4{
    font-style: italic;
}

p{
    letter-spacing: 1px;
}

button{
    font-size: var(--fs16);
    width: 220px;
    height: 60px;
    box-shadow: 3px 3px 3px #393838;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover{
    transform: scale(1.05);
}

button:active{
    transform: scale(0.95);
}

/*------------------------------------------------HEADER-----------------------------------------------------*/

header{
    display: flex;
    background: var(--main-gradient);
    width: 100%;
    height: 75px;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 999;
    position: sticky;
    top: 0;
}

nav{
    display: flex;
    gap: 40px;
}

#navlogo{
    height: 60px;
    width: 120px;
    margin-left: 20px;
}

#navlogo img{
    width: auto;
    height: 55px;
}

.navlinks{
    display: flex;
    gap: 30px;
}

.navlinks li{
    list-style: none;
}

.navlinks li a{
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navlinks li a:hover{
    font-weight: bold;
}

.dropdown{
    position:sticky;
    display: none;
    width: 100%;
    transition: all 0.3s ease;
    top: 70px;
    z-index: 998;
    background: var(--main-gradient);
    margin:0;
    padding-top: 20px;
}

.dropdown.active{
    display: block;
    transition: all 0.3s ease;
}

.dropdown ul{
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
    margin:0;
    text-align: center;
}

.dropdown li a{
    color: white;
}

.hamburger{
    width: 40px;
    height: 40px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.burger-line{
    width: 100%;
    height: 5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}


.hamburger.active > span:first-child {
    transform: rotate(45deg) translateY(15px) translateX(10px);
    background: darkred;
}

.hamburger.active > span:nth-child(2) {
    opacity: 0;
}

.hamburger.active > span:nth-child(3) {
    transform: rotate(-45deg) translateY(-15px) translateX(10px);
    background: darkred;

}

/* Container */
.achievement-bar {
    background: linear-gradient(to bottom, #3BCCAF, #1D6658);
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}


/* Fades on sides */
.achievement-bar::before, .achievement-bar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


.achievement-bar::before {
    left: 0;
    background: linear-gradient(to right, #1D6658, transparent);
}


.achievement-bar::after {
    right: 0;
    background: linear-gradient(to left, #1D6658, transparent);
}


/* Scrolling Wrapper */
.achievement-track {
    white-space: nowrap;
    display: inline-block;
    animation: scroll-left 15s linear infinite;
    font-size: 1.1rem;
    color: white;
    font-weight: 800;
}


@keyframes scroll-left {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}



@media (max-width:700px){
    nav button{
        display: none;
    }

    .container{
        padding: 0 20px;
    }


    nav{
        display: none;
    }

    .hamburger{
        display: flex;
    }
}

/*----------------------------------------------HERO SECTION--------------------------------------------------------*/
#hero{
    background-image: url(assets/hero_background.jpg);
    background-size: cover;
    background-position: center;   /* keeps center in view */
    background-repeat: no-repeat;
    width: 100%;
    min-height: clamp(80vh, 90vh, 150vh);
    margin: 0;
    position: relative;
}

.overlay{
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 120px 5vw;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
}

.highlight {
    position: relative;
    width: 350px;
    height: 40px;
    border-radius: 30px;
    background-color: rgba(255,255,255,0.4);
    z-index: 1;
    padding: 7px 0;
}

.highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 7px; /* same as your original border thickness */
    border-radius: inherit;
    background: var(--main-gradient);

    /* Create the hollow center (real gradient border) */
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}


.highlight p{
    font-size: var(--fs16);
    text-align: center;
    margin:0;
    line-height: 1;
    padding: 5px 0 0 10px;
    font-weight: bold;
    color: white;
    text-shadow:
            2px 2px 8px black,
            -2px 2px 8px black,
            2px -2px 8px black,
            -2px -2px 8px black;
}

.hero-text h1{
    color: white;
    text-shadow: 3px 3px 10px black;
    margin-bottom: 10px;
}

.subtitle{
    font-size: var(--fs20);
    color: white;
    text-shadow: 3px 3px 10px black;
}

.hero-buttons{
    display: flex;
    gap: 30px;
    margin: 50px 0;
}

.onboarding{
    background-color: #181A3C;
    color: white;
}

.book-consult{
    color:black;
}




/*--------------------------------SERVICES SECTION------------------------------------------------*/
#services{
    padding: 200px 0;
}

.container{
    width: 80%;
    min-width: clamp(400px, 80%, 700px);
    margin-inline:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container h2{
    text-align: center;
    margin-bottom: 60px;
}

.services-cards{
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin: 80px 0;
}

.s-card{
    width: 280px;
    height: 280px;
    color: white;
    background: linear-gradient(to bottom, var(--primary-color), #484881);
    padding: 0 20px;
    margin: 20px 0;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 3px 3px 10px black;
    transition: all 0.3s ease;
}

.s-card:hover{
    transform: scale(1.05);
}

.view-services{
    border: 3px solid black;
    background-color: white;
}

.angled-lines{
    width: 100%;
    height: 100px;
    overflow: hidden;
    padding: 30px 0;
}

.line {
    width: 120%;
    height: 4px;
    margin: 15px 0;
    transform: rotate(-2deg);
}


@media(max-width:700px){
    .container{
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }
}

/*---------------------------------DIVIDER--------------------------------*/

.l-1{
    background-color: var(--primary-color);
}

.l-2{
    background-color: var(--tertiary-color);
}

/*---------------------------------TIPS--------------------------------*/
#tips{
    padding: 100px 0;
    background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
    color: white;
    transform:skewY(-2deg);
}

#tips p{
    text-align: center;
    padding: 50px 15px;
    font-size: var(--fs20);
}

#tips > *{
    transform: skewY(2deg);
}

#tip-text{
    opacity: 1;
    transition: opacity 1s ease-in-out; /* smooth fade */
}

.fade-out {
    opacity: 0;
}

/*--------------------------FINAL CALL TO ACTION SECTION----------------------------------*/
#finalCallToAction{
    padding: 200px 0;
    text-align: center;
}

#finalCallToAction p{
    margin-bottom: 80px;
}

.get-started{
    background-color: #181A3C;
    color:white;
}

/*----------------------------------FOOTER------------------------------------------------*/
footer{
    background: var(--main-gradient);
    color: white;
    width: 100%;
    padding: 100px 0;
}

.topfooter{
    border-bottom: 1px solid gray;
    display: flex;
    justify-content: space-around;
    margin-bottom: 2px;
    padding-bottom: 20px;
    gap: 30px;
    flex-wrap:wrap;
}

.social-media img:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.column{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    min-width: 250px;
}

.column h4{
    margin-bottom: 0;
}

.column a{
    text-decoration: none;
    color: gray;
    transition: all 0.3s ease;
}

.column a:hover{
    font-weight: bold;
    color: white;
}

.footer-contact{
    display: flex;
    gap: 10px;
}

.footer-contact img{
    width: 25px;
    height: 25px;
}

.footerlogo{
    width: 200px;
    height: auto;
    margin: 20px;
}

.topfooter .column .social-media{
    display: flex;
    gap: 20px;
}

.topfooter .column .social-media img{
    width: 40px;
    height: 40px;
}

.copyright{
    text-align: center;
}

/*=============================================SERVICE PAGE=============================================*/
.page-intro{
    background: var(--primary-color);
    width: 100%;
    padding: 100px 0;
    color: white;
    border: 1px solid var(--primary-color);
}

.service{
    border-radius: 20px;
    display: flex;
    padding: 20px;
    max-width: 1000px;
    min-width: 400px;
    min-height: 400px;
    flex-wrap:wrap;
    margin: 60px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.key-offerings{
    flex:1;
    min-width: 150px;
}

.key-offerings ul li{
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.details{
    flex: 2;
    min-width: 300px;
}

.additional-services{
    margin: 40px 0 0 0;
    color: #474545;
    width: 80%;
}

#core-services .container  .get-started{
    margin-bottom: 100px;
}

/*=============================================ABOUT PAGE=================================================*/
.expo{
    line-height: 1.5;
    padding: 100px 50px;
}

.core-values{
    background: var(--primary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    color:white;
    padding: 100px 0;
}

.values-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    text-shadow:  2px 2px 5px gray;
    text-align: center;
    margin: 80px 0;
}

.value{
    min-width: 200px;
    max-width: 250px;
    padding: 50px 10px;
}

.value h3{
    font-size: var(--fs60);
}

.value img{
    width: auto;
    height: 120px;
}

#core-team{
    padding: 100px 0;
}

#core-team .container{
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap:wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

#core-team .container img{
    width: 300px;
    height: 300px;
}

.cofounder{
    min-width: 400px;
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 0;
}

.bio{
    line-height: 1.5;
    letter-spacing: 1px;
    padding: 0 20px;
}

.name{
    font-size: var(--fs24);
    font-weight: bold;
    margin-bottom: 5px;
}

.title{
    margin:0 0 50px 0;
    font-style: italic;
}

#closeCalendly{
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow:none;
}

#calendlyModal{
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    position: relative;
    overflow: hidden;
}

#calendlyOverlay{
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.calendly-inline-widget{
    min-width:320px;
    height:100%;
}

/*========================================CONTACT PAGE======================================================*/
#core-contact .container{
    display: flex;
    flex-direction: row;
    padding:100px 0;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

#core-contact .container form{
    color: white;
    background: black;
    min-width: 500px;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#core-contact .container form > input{
    width: 100%;
    height: 40px;
    padding: 3px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: var(--fs18);
    font-family: inherit;
}

.form-btn{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.form-btn input{
    width: 200px;
    height: 50px;
    border-radius: 15px;
    background-color: white;
    color: black;
    margin: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn input:hover{
    background-color: gray;
    color: white;
    transform: scale(1.05);
}

textarea{
    border-radius: 10px;
    padding: 3px;
    font-size: var(--fs18);
    font-family: inherit;
}

.contactMethod{
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
}

.contactMethod div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.contactMethod div a{
    text-decoration: none;
    color: gray;
    transition: all 0.3s ease;
}

.contactMethod div a:hover{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.contactMethod div img{
    width: auto;
    height: 30px;
    filter: invert(1);
}

@media (max-width:700px){
    #core-contact .container form{
        min-width: 300px;
        padding: 15px;
    }
}