*{
    padding: 0;
    margin:0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;;
}
body{
  background-color: #07302E !important;
  padding-top: 90px;
}
nav {
    position:fixed;
    top:0;
    width: 100%; 
    z-index: 200;
    padding: 1.4rem 4rem;
    display: flex; 
    align-items:center; 
    justify-content: space-between;
    background-color: #07302e;
}
nav.scrolled {
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(55,118,110,0.12);
}

.nav-logo .nav-lockup {
    position: absolute;

    top: 50%;
    left: 10%;

    width: 130px;
    height: auto;

    transform: translate(-50%, -50%);

    
}

.nav-lockup {
    height: 36px;
    width: auto;
    display: block;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}


.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; 
  font-weight: 600;
  color: #0E7C72; 
  letter-spacing: 0.04em; 
  text-decoration: none;
}
.nav-logo span { 
    color: #4A5568; 
    font-weight: 300; 
    font-style: italic; 
}
.nav-links { 
    display: flex;
    align-items: center; 
    gap: 1.7rem; 
    list-style: none;
   
}

.nav-links {
    gap: 1.4rem;
}


ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

li {
    display: list-item;
    unicode-bidi: isolate;
}


.nav-links a {
  color: rgba(250, 247, 240, .62);
  font-size: 0.82rem;
  letter-spacing: 0.08em; 
  text-decoration: none; 
  transition: color 0.3s;
  padding-bottom: 8px;
  position: relative;
}

.nav-links a:hover, .nav-links a.active { 
    color: white; 
}
.nav-links a::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:1.5px;
    background-color: #c9a227;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}
.nav-links a:hover::after,
 .nav-links a.active::after{
    transform: scale(1);
}

.nav-cta {
  background:#c9a227; color:#07302e;
  border: none; 
  padding: 0.65rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em; 
  text-transform: uppercase;
  cursor: none; 
  border-radius: 100px;
  transition:all 0.3s ease;
  margin-right: 20px;
  margin-top: px;
   
}
.nav-cta:hover {
  background:#e4c96a;
  box-shadow: 0 6px 24px rgba(15,118,110,0.3);
  transform: translateY(-1px);
}

/* Center navbar links without moving the logo or button */
#nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Keep logo on the left */
#nav .nav-logo {
    flex-shrink: 0;
}

/* Center the navigation links */
#nav .nav-links {
    position: absolute;
    left: 45%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

/* Keep the CTA button on the right */
#nav .nav-cta {
    margin-left: auto;
    flex-shrink: 0;
}


/* Hamburger button - hidden on desktop */
#nav .nav-burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

#nav .nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Tablet and mobile */
@media (max-width: 991px) {
    #nav {
        justify-content: space-between;
        gap: 12px;
    }

    #nav .nav-burger {
        display: block;
        margin-left: auto;
    }

    #nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
        margin: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        white-space: normal;
        background: #064b50;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    #nav .nav-links.active {
        display: flex;
    }

    #nav .nav-links li {
        list-style: none;
        text-align: center;
    }

    #nav .nav-cta {
        display: none;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    #nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    #nav .nav-lockup {
        max-width: 125px;
        height: auto;
    }
}


/* MOBILE NAVBAR SPACING FIX */
@media screen and (max-width: 767px) {
    #nav {
        display: grid !important;
        grid-template-columns: auto auto;
        justify-content: space-between !important;
        align-items: center;
        column-gap: 12px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #nav .nav-logo {
        position: static !important;
        margin: 0 !important;
        justify-self: start;
    }

    #nav .nav-burger {
        position: static !important;
        margin: 0 !important;
        justify-self: end;
    }

    #nav .nav-links {
        left: 0 !important;
        transform: none !important;
    }
}









/*--------------------ABOUT-------------*/
.abt-card{
  background:rgba(255, 255, 255, .04) !important;
  border:1px solid rgba(228, 201, 106, .16) !important;
  border-radius: 28px; 
  padding: 2.0rem 2.5rem;
  text-align: center;
  min-width: 150px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  margin-bottom: 70px;
}
.abt-card:hover {
  background:#1a9e94;
  box-shadow: 0 12px 40px rgba(15,118,110,0.1);
  transform: translateY(-5px);
}
.abt-number {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem; font-weight: 300; color:#e4c96a; line-height: 1;
}
.abt-para { 
    font-size: 0.72rem; 
    letter-spacing: 0.12em; 
    text-transform: uppercase; 
    color: rgba(250, 247, 240, .52); 
    margin-top: 0.5rem;
    align-items: center;
}

/* ===== HOME STATISTICS - MOBILE RESPONSIVENESS ===== */

/* Tablets */
@media (max-width: 767px) {
    #home .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    #home .row {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 15px !important;
        margin-left: 0;
        margin-right: 0;
    }

    #home .abt-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 0;
        box-sizing: border-box;
        padding: 1.5rem 0.75rem;
        margin-bottom: 0;
    }

    #home .abt-number {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
        overflow-wrap: anywhere;
    }

    #home .abt-para {
        font-size: clamp(0.6rem, 2vw, 0.72rem);
        overflow-wrap: anywhere;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    #home .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    #home .row {
        gap: 10px !important;
    }

    #home .abt-card {
        flex-basis: calc(50% - 5px);
        width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 1.3rem 0.5rem;
        border-radius: 22px;
    }

    #home .abt-number {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.1;
    }

    #home .abt-para {
        font-size: 0.62rem;
        line-height: 1.5;
        letter-spacing: 0.06em;
    }
}


/*--------------------about sanchutary----------*/
.glow-image{
    filter:drop-shadow(0px 0px 15px rgba(185, 212, 185, 0.5));
    transition: filter 0.3s ease;
}
.abt-magik{
    margin-top: 1.3rem;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color:#e4c96a;
}
.abt-rule{
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent,#e4c96a , transparent);
    margin: .8rem auto 0;
}
.abt-sanctuary{
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 300;
    line-height: 1.1;
    color: #faf7f0;
}
.s-col{
    color:#9ed4cb;
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
}
.abt-belief{
    color:#faf7f0bd;
    max-width: 62ch;
    margin-top: 1.1rem;
    line-height: 1.8;
}
.abt-belief strong{
   color: #FAF7F0 !important;
}
.abt-pillar{
    margin-top: 2.6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
    max-width: 700px;
    width: 100%;
}
.each-pillar{
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(228, 201, 106, .16) !important;
    padding: 1.3rem 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(15, 118, 110, 0.08);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.each-pillar:hover { 
    border-color: #c9a227 !important; 
    box-shadow: 0 8px 28px rgba(15,118,110,0.1); 
    transform: translateY(-3px); 
}
.each-pillar h4{
    color:#faf7f0;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.each-pillar p{
    color:rgba(250, 247, 240, .52);
    font-size: 0.78rem;
    line-height: 1.6;
}
/*-----------------philosophy--------------*/
#philosophy{
    padding: 10rem 4rem;
    text-align: center;
}
.philosophy-quote span{
    color: #c9a227;
    font-family: 'Fraunces', serif;
}
.philosophy-quote{
    font-family: 'Lora', serif;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    font-weight: 300;
    color:white;
    font-style: italic;
    line-height: 1.15;
    max-width: 820px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}
.philosophy-quote::before{
    content:'"';
    color:rgba(255, 255, 255, 0.07);
    font-size: 8rem;
    font-weight: 300;
    position: absolute;
    top: -3.5rem;
    left: -2rem;
    line-height: 1;
}
.philosophy-quote::after{
    content:'"';
    color:rgba(255, 255, 255, 0.07);
    font-size: 8rem;
    font-weight: 300;
    position: absolute;
    bottom: -6rem;
    right: 1rem;
    line-height: 1;
}
.philosophy-written{
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
}

/* =========================================
   TESTIMONIAL HEADING
   ========================================= */

.testimonial-heading {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 20px 20px 0;
}


/* =========================================
   TRANSFORMATIONS BADGE
   ========================================= */

.testimonial-heading span {
    display: inline-block;

    padding: 5px 18px;

    border: 1px solid #e4c96a38;
    border-radius: 50px;

    background: rgba(228, 201, 106, .08);

    color: #e4c96a;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 16px;
    opacity: 1;
    margin-top: 50px;
}


/* =========================================
   MAIN HEADING
   ========================================= */

.testimonial-heading h2 {
    margin: 0;

    color: #faf7f0;

    font-family: 'Fraunces', serif;

    font-size: 3.9rem;

    font-weight: 300;

    line-height: 1.1;

    letter-spacing: 1px;
}


/* =========================================
   ITALIC PART
   ========================================= */

   .testimonial-heading h2 em {
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
    line-height: 1px;
    color: #9ed4cb;
    font-family: 'Fraunces', serif;
}


/* =========================================
   DESCRIPTION
   ========================================= */

.testimonial-heading p {
    max-width: 800px;

    margin: 28px auto 0;

    color: rgb(250 247 240 / 74%);

    font-family: 'Fraunces', sans-serif;

    font-size: 18px;

    font-weight: 300;

    line-height: 1.5;

    text-align: center;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .testimonial-heading {
        margin-bottom: 40px;
        padding: 10px 15px 0;
    }

    .testimonial-heading span {
        font-size: 11px;
        letter-spacing: 2px;

        padding: 8px 18px;

        margin-bottom: 22px;
    }

    .testimonial-heading h2 {
        font-size: 46px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .testimonial-heading p {
        font-size: 16px;
        line-height: 1.5;

        margin-top: 22px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .testimonial-heading h2 {
        font-size: 38px;
    }

    .testimonial-heading p {
        font-size: 15px;
    }
}



/* Swiper */

#testimonial{
    overflow: hidden !important;
}

.TestimonialSwiper {
    width: 100%;
    padding: 80px 0 70px;
    overflow: visible !important;
}

.TestimonialSwiper .swiper-wrapper {
    align-items: center;
    
}
.TestimonialSwiper .swiper-slide-active{
    /*width:250px;
    opacity:1;*/
    transform: scale(0.95) !important;
    opacity:1 !important;
    z-index: 10 !important;
}




/* Cards */

.TestimonialSwiper .swiper-slide {
    width: 360px;
    transition: all 0.8s ease;
    height: auto;
}

.testimonial-card {
    min-height: 350px;
    padding: 45px 38px;

    background:  #07302e;
    border: 1px solid rgba(158, 195, 196, 0.25);
    border-radius: 22px;

    text-align: center;

    transition:
        transform 0.8s ease,
        box-shadow 0.8s ease,
        opacity 2s ease;

    position: relative;
    margin-bottom: 70px;
    margin-top: 60px;
}


/* Quote */

.quote {
    font-family: "Cormorant Garamond", serif;
    font-size: 75px;
    line-height: 50px;
    color: #d4a948;
}


/* Text */

.testimonial-card p {
    color: #e8eeee;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin: 25px 0 30px;
}


/* Author */

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author span {
    width: 35px;
    height: 1px;
    background: #d4a948;
}

.author h5 {
    color: #d4a948;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}


/* Center card becomes bigger */

.TestimonialSwiper .swiper-slide-active .testimonial-card {
    transform: scale(1.12) translateY(-15px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);

    border-color: rgba(244, 178, 24, 0.6);
}


/* Side cards */

.TestimonialSwiper .swiper-slide-prev .testimonial-card {
    transform: scale(0.88) rotate(-5deg);
    opacity: 0.98;
     border-color: rgba(244, 178, 24, 0.6);
}

.TestimonialSwiper .swiper-slide-next .testimonial-card {
    transform: scale(0.88) rotate(5deg);
    opacity: 0.98;
     border-color: rgba(244, 178, 24, 0.6);
}



/* =========================================
   TABLET RESPONSIVENESS
   Animation and transitions remain unchanged
   ========================================= */

@media (min-width: 481px) and (max-width: 1024px) {

    .testimonial-heading {
        max-width: 100%;
        padding: 15px 24px 0;
        margin-bottom: 35px;
    }

    .testimonial-heading h2 {
        font-size: clamp(38px, 5.5vw, 54px);
        line-height: 1.1;
    }

    .testimonial-heading p {
        max-width: 650px;
        font-size: 16px;
        padding: 0 10px;
    }

    .TestimonialSwiper {
        padding: 65px 0 50px;
        width: 100%;
        overflow: visible !important;
    }

    .TestimonialSwiper .swiper-slide {
        width: min(320px, 72vw);
        height: auto;
    }

    .testimonial-card {
        box-sizing: border-box;
        width: 100%;
        min-height: 320px;
        padding: 35px 26px;
        margin-top: 45px;
        margin-bottom: 55px;
    }

    .testimonial-card p {
        font-size: 15px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .quote {
        font-size: 65px;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 480px) {

    .testimonial-heading {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 18px 0;
        margin-bottom: 25px;
    }

    .testimonial-heading span {
        font-size: 9px;
        letter-spacing: 2px;
        padding: 6px 14px;
        margin-top: 25px;
        margin-bottom: 18px;
    }

    .testimonial-heading h2 {
        font-size: clamp(30px, 8.5vw, 38px);
        line-height: 1.1;
        letter-spacing: -0.5px;
        overflow-wrap: break-word;
    }

    .testimonial-heading h2 em {
        line-height: inherit;
    }

    .testimonial-heading p {
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 4px;
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .TestimonialSwiper {
        width: 100%;
        box-sizing: border-box;
        padding: 45px 0 35px;
        overflow: visible !important;
    }

    .TestimonialSwiper .swiper-slide {
        width: min(290px, 76vw);
        height: auto;
        box-sizing: border-box;
    }

    .TestimonialSwiper .swiper-wrapper {
        align-items: center;
    }

    .testimonial-card {
        box-sizing: border-box;
        width: 100%;
        min-height: 280px;
        padding: 30px 22px;
        margin-top: 35px;
        margin-bottom: 45px;
        border-radius: 18px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.7;
        margin: 20px 0 25px;
        overflow-wrap: break-word;
    }

    .quote {
        font-size: 60px;
        line-height: 45px;
    }

    .author {
        gap: 8px;
        flex-wrap: wrap;
    }

    .author span {
        width: 22px;
        flex-shrink: 0;
    }

    .author h5 {
        font-size: 12px;
        overflow-wrap: anywhere;
    }
}


/* =========================================
   EXTRA SMALL PHONES
   ========================================= */

@media (max-width: 360px) {

    .TestimonialSwiper .swiper-slide {
        width: 74vw;
    }

    .testimonial-card {
        padding: 26px 16px;
        min-height: 260px;
    }

    .testimonial-card p {
        font-size: 13px;
    }

    .author h5 {
        font-size: 11px;
    }
}







.vid-heading{
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 20px 20px 0;
}

.vid-heading h2 {
    margin: 0;

    color: #faf7f0;

    font-family: 'Fraunces', serif;

    font-size: 3.9rem;

    font-weight: 300;

    line-height: 1.1;

    letter-spacing: 1px;
}

.vid-heading h2 em {
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
    line-height: 1px;
    color: #9ed4cb;
    font-family: 'Fraunces', serif;
}

.vid-heading p {
    max-width: 800px;

    margin: 15px auto 0;

    color: rgb(250 247 240 / 74%);

    font-family: 'Fraunces', sans-serif;

    font-size: 18px;

    font-weight: 300;

    line-height: 1.5;

    text-align: center;
}


.vid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.4rem;
    margin-top: 100px;
    padding: 0 50px 0 50px;
}

.vid-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.4rem;
    margin-top: 35px;
    padding: 0 50px 0 50px;
    margin-bottom: 100px;
}


.vid-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(228, 201, 106, .16);
    background: rgba(255, 255, 255, .03);
}

.vid-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0E7C72, #07302E);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.vid-soon {
    position: absolute;
    top: .8rem;
    right: .8rem;
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e4c96a;
    background: rgba(7, 48, 46, .6);
    padding: .3rem .7rem;
    border-radius: 100px;
}

.vid-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 162, 39, .92);
    display: grid;
    place-items: center;
    transition: transform .3s;
}    

.vid-play svg {
    width: 24px;
    height: 24px;
    fill: #07302E;
    margin-left: 3px;
}
.vid-meta {
    padding: 1.1rem 1.3rem;
    text-align: center;
}   

.vid-name {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    color: #faf7f0;
}

.vid-cap {
    font-size: .75rem;
    color: rgba(250, 247, 240, .5);
    margin-top: .3rem;
} 


.contact-heading {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 20px 20px 0;
}

.contact-heading span {
    display: inline-block;

    padding: 7px 20px;

    border: 1px solid #e4c96a38;
    border-radius: 50px;

    background: rgba(228, 201, 106, .08);

    color: #e4c96a;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 30px;
    opacity: 1;
    margin-top: 50px;
}

.contact-heading h2 {
    margin: 0;

    color: #faf7f0;

    font-family: 'Fraunces', serif;

    font-size: 3.9rem;

    font-weight: 300;

    line-height: 1.1;

    letter-spacing: 1px;
}

.contact-heading h2 em {
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
    line-height: 1px;
    color: #9ed4cb;
    font-family: 'Fraunces', serif;
}

.divider {
    background: linear-gradient(90deg, #c9a227, transparent) !important;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, #c9a227, transparent);
    margin: 1.8rem 0;
    border-radius: 2px;
}        

.contact-heading p {
    max-width: 800px;

    margin: 28px auto 0;

    color: rgb(250 247 240 / 74%);

    font-family: 'Fraunces', sans-serif;

    font-size: 17px;

    font-weight: 300;

    line-height: 1.5;

    text-align: center;
}

.dya-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(230, 161, 87, 0.45);
    background: #e6a157 !important;
}


.dya-book-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0e7c72 0%, #0a5c56 100%);
    border-radius: 20px;
    padding: 1.2rem 1.9rem;
    text-decoration: none;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 32px rgba(15, 118, 110, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    width: 47%;
    margin-top: 50px !important;
    margin: 2rem auto;
}

.dya-book-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.dya-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dya-fire {
    font-size: 1.8rem;
    animation: firePulse 1.8s ease-in-out infinite;
    display: block;
}

.dya-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.dya-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
}

.dya-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s;
}

.contact-lines {
    margin: 0 auto 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    align-items: center;
}

.cline {
    font-size: 1.02rem;
    color: #FAF7F0;;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}

.cl-ico {
    font-size: 1rem;
}

.cline a {
    color: #faf7f2;
    text-decoration: none;
    transition: color .25s ease;
}

.cline a:hover {
    color: #E4C96A;
}

.view-section{
    scroll-margin-top: 7rem;
    margin-top: 150px;
}
.view-section.active {
    display: block !important;
}

footer {
    background: rgba(3, 17, 15, .4) !important;
    padding: 5rem 4rem 3rem;
}

.footer-connect {
    text-align: center;
    padding-bottom: .5rem;
}

.footer-connect h4 {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #e4c96a;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.footer-connect-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem 1.8rem;
}

.footer-connect-links a {
    color: rgba(250, 247, 240, .72);
    text-decoration: none;
    font-size: .92rem;
    transition: color .25s;
}

.footer-connect-links a:hover {
    color: #E4C96A;
}


.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin-bottom: 1rem;
    font-size: .8rem;
}

.footer-legal a {
    color: rgba(250, 247, 240, .6);
    text-decoration: none;
    transition: color .25s;
}

.footer-legal a:hover {
    color: #E4C96A;
}



.footer-legal span {
    color: rgba(250, 247, 240, .3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 247, 242, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.25);
}

/* Dissolve Your Anger boxes — mobile responsiveness */
@media (max-width: 600px) {
    /* Replace .your-box-class with the actual box class */
    .dya-book-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .dya-book-btn a {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .dya-fire{
        flex-shrink: 0;
    }

    .dya-title .dya-sub {
        flex: 1;
        min-width: 0;
        overflow-wrap: break-word;
    }
}




.view-section {
    scroll-margin-top: 6rem;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal {
    transition: opacity .85s ease, transform .85s ease;
}

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 5rem;
}

.section-tag, .hero-badge {
    color: #e4c96a !important;
    background: rgba(228, 201, 106, .08) !important;
    border-color: rgba(228, 201, 106, .22) !important;
}

.section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.38rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.section-h2, .hero-h1, .founder-text h2 {
    color: #faf7f0 !important;
}

.section-h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 300;
    line-height: 1.1;
}

.section-h2 em, .hero-h1 em, .founder-text h2 em {
    color: #9ed4cb !important;
}

.section-h2 em {
    font-style: italic;
}

.services-header p, .courses-header p, .contact-info p {
    color: rgba(250, 247, 240, 0.74) !important;
}
.services-header p {
    font-size: 1rem;
    line-height: 1.82;
    margin-top: 1.2rem;
}

.services-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.svc-card {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(243, 196, 27, 0.16) !important;
}

.svc-card {
    border-radius: 32px;
    padding: 2.8rem 2.5rem;
    border: 1px solid rgba(15, 118, 110, 0.08);
    position: relative;
    overflow: hidden;
}


.svc-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, transparent 70%);
    transition: transform 0.5s, opacity 0.5s;
}

.svc-num {
    color: rgba(228, 201, 106, .16) !important;
}

.svc-num {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.svc-icon {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: block;
}

.svc-card h3 {
    color: #faf7f0 !important;
}

.svc-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.svc-card p {
    color: rgba(250, 247, 240, .62) !important;
}

.svc-card p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.78;
}

.svc-learn, .founder-title {
    color: #e4c96a !important;
}

.svc-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: gap 0.3s;
}

/* ===== SERVICES SECTION: MOBILE RESPONSIVENESS ===== */

@media screen and (max-width: 767px) {

    .services-flow {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .svc-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 1.5rem 1rem;
        border-radius: 24px;
    }

    .svc-card h3 {
        font-size: 1.15rem;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .svc-card p {
        font-size: 0.82rem;
        line-height: 1.65;
        overflow-wrap: break-word;
    }

    .svc-card img {
        max-width: 100%;
        height: auto;
    }

    .services-header {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        margin: 0 auto 2rem;
        box-sizing: border-box;
    }
}

/* ===== SMALL MOBILE SCREENS ===== */

@media screen and (max-width: 480px) {

    .services-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 0 16px;
    }

    .svc-card {
        padding: 1.8rem 1.4rem;
    }

    .svc-card h3 {
        font-size: 1.3rem;
    }

    .svc-card p {
        font-size: 0.88rem;
    }

    .services-header {
        padding: 0 12px;
    }

    .services-header p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}


/* =========================================
   COURSES SECTION
   Original desktop design preserved
========================================= */

#courses {
    background: transparent !important;
}

.courses {
    padding: 8rem 4rem;
    position: relative;
}

.courses-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
}

.btn-outline {
    border: 1.5px solid #0e7c72;
    border-color: #9ed4cb !important;
    color: #9ed4cb !important;
    padding: 1rem 2.6rem;
    font-size: 0.83rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.course-card2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(201, 162, 39, .18);
    background: #0a3a36;
    transition: transform .4s, box-shadow .4s;
    margin-top: 60px;
    margin-left: 60px;
    margin-right: 60px;
}

.cc-brand {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.cc-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(150deg, #0E7C72 0%, #07302E 100%);
}

.cc-body {
    background: #FAF7F0;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    box-sizing: border-box;
}

.cc-desc {
    font-size: .9rem;
    color: #3d5551;
    line-height: 1.78;
    margin-bottom: 1.4rem;
}

.cc-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1.8rem;
}

.cc-list li {
    font-size: .84rem;
    color: #3d5551;
    display: flex;
    gap: .6rem;
    min-width: 0;
}

.cc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 124, 114, .18);
    min-width: 0;
}

.cc-price {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 300;
    color: #0E7C72;
    line-height: 1;
}

.cc-price s {
    font-size: 1rem;
    opacity: .45;
}

.cc-pricesub {
    font-size: .68rem;
    color: #7a8a86;
    margin-top: .35rem;
}

.cc-cta {
    background: #C9A227;
    color: #07302E;
    padding: .9rem 2rem;
    border-radius: 100px;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: background .3s;
}

/* =========================================
   TABLET — up to 1024px
========================================= */

@media (max-width: 1024px) {
    .courses {
        padding: 6rem 2rem;
    }

    .course-card2 {
        margin-left: 0;
        margin-right: 0;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .cc-body {
        padding: 2rem;
    }

    .cc-foot {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cc-cta {
        padding: .85rem 1.3rem;
    }
}

/* =========================================
   SMALL TABLETS — up to 768px
========================================= */

@media (max-width: 768px) {
    .courses {
        padding: 4.5rem 1.5rem;
    }

    .course-card2 {
        grid-template-columns: minmax(0, 1fr);
        margin: 2rem 0;
        border-radius: 24px;
    }

    .cc-brand {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cc-brand img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cc-body {
        padding: 2rem;
        width: 100%;
    }

    .cc-foot {
        flex-wrap: wrap;
        align-items: center;
    }
}

/* =========================================
   MOBILE — up to 480px
========================================= */

@media (max-width: 480px) {
    .courses {
        padding: 3.5rem 1rem;
    }

    .courses-header {
        gap: 1rem !important;
    }

    .course-card2 {
        width: 100%;
        margin: 1.5rem 0;
        border-radius: 20px;
        grid-template-columns: minmax(0, 1fr);
    }

    .cc-brand {
        aspect-ratio: 4 / 3;
    }

    .cc-body {
        padding: 1.25rem;
        min-width: 0;
    }

    .cc-desc {
        font-size: .88rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .cc-list li {
        font-size: .82rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .cc-foot {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-top: 1.2rem;
    }

    .cc-price {
        font-size: 1.7rem;
    }

    .cc-price s {
        font-size: .9rem;
    }

    .cc-cta {
        max-width: 100%;
        padding: .8rem 1.1rem;
        font-size: .7rem;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }

    .btn-outline {
        max-width: 100%;
        padding: .85rem 1.5rem;
        font-size: .75rem;
        box-sizing: border-box;
    }
}

/* Prevent accidental horizontal overflow */
#courses,
.courses {
    min-width: 0;
    box-sizing: border-box;
}

#courses *,
.courses * {
    box-sizing: border-box;
}

@media (max-width: 360px) {
    .cc-body {
        padding: 1rem;
    }

    .cc-foot {
        align-items: flex-start;
    }

    .cc-cta {
        padding: .75rem .9rem;
    }
}


@media (max-width: 768px) {
    .courses-header {
        width: 100%;
        align-items: center !important;
        text-align: center !important;
    }

    .courses-header p {
        width: 100%;
        max-width: 600px;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }
}







.section-h2 em {
    font-style: italic;
    font-family: 'Fraunces', serif;
}  

.view-section {
    scroll-margin-top: 6rem;
}

#founder {
    padding: 5rem 2rem 6rem !important;
}

#founder {
    background: transparent !important;
}

#founder {
    position: relative;
    overflow: hidden;
}

.founder-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(167, 196, 160, 0.18);
    top: -150px;
    right: -150px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.founder-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(212, 163, 115, 0.12);
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.founder-centered {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-name {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size:  3rem;
    color: #faf7f0;
    line-height: 1.05;
    margin-top: .9rem;
}

.rd1 {
    transition-delay: .12s;
}

.founder-centered .founder-title {
    margin-top: .8rem;
    max-width: 60ch;
}

.founder-title {
    color: #e4c96a !important;
}

.founder-title {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.founder-centered .founder-rings {
    margin: 2rem auto 1rem;
}

.founder-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-centered .founder-ring-1 {
    border-color: rgba(158, 212, 203, .38) !important;
}

.founder-ring-1 {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(15, 118, 110, 0.20);
    animation: ringSpin 25s linear infinite;
}

.founder-centered .founder-ring-2 {
    border-color: rgba(228, 201, 106, .24) !important;
}

.founder-ring-2 {
    position: absolute;
    inset: -36px;
    border-radius: 50%;
    border: 1px dashed rgba(15, 118, 110, 0.14);
    animation: ringSpin 35s linear infinite reverse;
}

.founder-centered .founder-ring-3 {
    border-color: rgba(158, 212, 203, .30) !important;
}
.founder-ring-3 {
    position: absolute;
    inset: -54px;
    border-radius: 50%;
    border: 1px solid rgba(212, 163, 115, 0.18);
    animation: ringSpin 48s linear infinite;
}

.founder-centered .founder-ring-4 {
    border-color: rgba(228, 201, 106, .20) !important;
}
.founder-ring-4 {
    position: absolute;
    inset: -72px;
    border-radius: 50%;
    border: 1px dashed rgba(167, 196, 160, 0.15);
    animation: ringSpin 60s linear infinite reverse;
}

.founder-centered .founder-ring-5 {
    border-color: rgba(158, 212, 203, .16) !important;
}
.founder-ring-5 {
    position: absolute;
    inset: -90px;
    border-radius: 50%;
    border: 1px solid rgba(15, 118, 110, 0.08);
    animation: ringSpin 75s linear infinite;
}

.founder-centered .founder-ring-6 {
    border-color: rgba(228, 201, 106, .14) !important;
}

.founder-ring-6 {
    position: absolute;
    inset: -110px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 163, 115, 0.08);
    animation: ringSpin 90s linear infinite reverse;
}

.founder-centered .founder-circle {
    width: 330px;
    height: 330px;
}
.founder-circle {
    overflow: hidden;
    border: 2px solid rgba(15, 118, 110, 0.15);
    box-shadow: 0 0 70px rgba(15, 118, 110, 0.12), 0 30px 80px rgba(0, 0, 0, 0.08);
    animation: founderMorph 12s ease-in-out infinite;
    position: relative;
    z-index: 1;
    background: #faf7f2;
}

.founder-centered .founder-circle img {
    object-position: center 22% !important;
    border-color: rgba(228, 201, 106, .4) !important;
    background: #0a3a36 !important;
    box-shadow: 0 0 70px rgba(14, 124, 114, .28), 0 30px 80px rgba(0, 0, 0, .42) !important;
}
.founder-circle img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: saturate(0.9);
    margin-left: -5%;
}

.founder-p {
    color: rgba(250, 247, 240, .74);
    max-width: 64ch;
    margin-top: 1.1rem;
    line-height: 1.85;
}

.rd2 {
    transition-delay: .24s;
}

.founder-p strong {
    color: #faf7f0;
}

.founder-creds.centered {
    margin-top: 2.4rem;
    display: flex;
    gap: 2.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cred {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(228, 201, 106, .16) !important;
}

.cred {
    border-radius: 22px;
    padding: 1.3rem 1.6rem;
    border: 1px solid rgba(15, 118, 110, 0.1);
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.07);
}

 .cred-num{
    color: #e4c96a !important;
}

.cred-num {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1;
}

.cred-label  {
    color: rgba(250, 247, 240, .52) !important;
}

.cred-label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.founder-cta.centered {
    margin-top: 2.4rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: #c9a227 !important;
    color: #07302e !important;
}

.btn-primary {
    padding: 1rem 2.6rem;
    font-size: 0.83rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    border-radius: 100px;
    transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
    display: inline-block;
}

.btn-outline {
    border-color: #9ed4cb !important;
    color: #9ed4cb !important;
}

.btn-outline {
    border: 1.5px solid #0e7c72;
    padding: 1rem 2.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.founder-ig {
    margin-top: 1.4rem;
}

.btn-primary:hover {
  background:#e4c96a;
  box-shadow: 0 6px 24px rgba(15,118,110,0.3);
  transform: translateY(-1px);
}

.btn-outline:hover {
    background: #9ed4cb !important;
    color: #07302e !important;
    box-shadow: 0 6px 24px rgba(158, 212, 203, .25) !important;
}


/* =========================================
   FOUNDER PHOTO + RIPPLES
   ========================================= */

.founder-img-wrap {
    position: relative;

    width: 680px;
    height: 430px;

    margin: 10px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   PHOTO
   ========================= */

.founder-circle {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 350px;
    height: 350px;

    border-radius: 50%;
    overflow: hidden;

    z-index: 10;

    border: 2px solid rgba(212, 163, 115, 0.8);

    box-sizing: border-box;
}


.founder-circle img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    border-radius: 50%;
    margin: 0;
    padding: 0;

    transform: scale(1.01);
}


/* =========================
   RIPPLE RINGS
   ========================= */

.founder-ring-1,
.founder-ring-2,
.founder-ring-3,
.founder-ring-4,
.founder-ring-5,
.founder-ring-6 {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;

    animation: waterRipple 5s ease-out infinite;
}


/* First ripple */
.founder-ring-1 {
    width: 385px;
    height: 385px;

    border: 1.5px solid rgba(158, 212, 203, 0.45);

    animation-delay: 0s;
}


/* Second ripple */
.founder-ring-2 {
    width: 440px;
    height: 440px;

    border: 1.5px solid rgba(15, 118, 110, 0.38);

    animation-delay: .5s;
}


/* Third ripple */
.founder-ring-3 {
    width: 495px;
    height: 495px;

    border: 1.5px solid rgba(158, 212, 203, 0.32);

    animation-delay: 1s;
}


/* Fourth ripple */
.founder-ring-4 {
    width: 550px;
    height: 550px;

    border: 1px solid rgba(212, 163, 115, 0.25);

    animation-delay: 1.5s;
}


/* Fifth ripple */
.founder-ring-5 {
    width: 610px;
    height: 610px;

    border: 1px solid rgba(158, 212, 203, 0.22);

    animation-delay: 2s;
}


/* Sixth ripple */
.founder-ring-6 {
    width: 670px;
    height: 670px;

    border: 1px solid rgba(15, 118, 110, 0.18);

    animation-delay: 2.5s;
}


/* =========================
   RIPPLE ANIMATION
   ========================= */

@keyframes waterRipple {

    0% {
        transform: translate(-50%, -50%) scale(.96);
        opacity: .15;
    }

    30% {
        opacity: .55;
    }

    70% {
        opacity: .3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.03);
        opacity: .05;
    }
}


/* =========================
   SOFT GLOW
   ========================= */

.founder-img-wrap::before {

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 370px;
    height: 370px;

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(15, 118, 110, .18),
        0 0 70px rgba(15, 118, 110, .10);

    z-index: 2;

    pointer-events: none;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .founder-img-wrap {
        width: 420px;
        height: 330px;
        margin-top: 5px;
    }

    .founder-circle {
        width: 250px;
        height: 250px;
    }

    .founder-ring-1 {
        width: 280px;
        height: 280px;
    }

    .founder-ring-2 {
        width: 320px;
        height: 320px;
    }

    .founder-ring-3 {
        width: 360px;
        height: 360px;
    }

    .founder-ring-4 {
        width: 400px;
        height: 400px;
    }

    .founder-ring-5 {
        width: 440px;
        height: 440px;
    }

    .founder-ring-6 {
        width: 480px;
        height: 480px;
    }
} 



/* FIX: Center the complete founder portrait composition */
@media (max-width: 768px) {
    #founder .founder-centered {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #founder .founder-img-wrap.founder-rings {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        margin-inline: auto !important;
        align-self: center;
        width: min(420px, 100%) !important;
        max-width: 100%;
        flex-shrink: 0;
    }

    #founder .founder-circle {
        left: 50% !important;
        margin-left: 0 !important;
    }
}






#experience.page-light {
    max-height: 200vh;
}
#experience.page-light {
    background: #FFFFFF !important;
    color: #3D2A55 !important;
}

#stage > .view-section {
    scroll-margin-top: 10rem;
    scroll-margin-bottom: 10rem;
}
#experience {
    padding: 9rem 4rem;
    position: relative;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--teal-dim);
    padding: 0.38rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.xm-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

#experience.page-light .section-tag {
    color: #3D2A55 !important;
    background: rgba(61, 42, 85, .06) !important;
    border-color: rgba(61, 42, 85, .22) !important;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

#experience.page-light .section-h2 {
    color: #2A1D3D !important;
}

#experience.page-light .section-h2 em {
    color: #3D2A55 !important;
}

.section-h2 em {
    font-style: italic;
}

.section-h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--slate);
}

#experience.page-light .xm-lede {
    color: #3D2A55 !important;
}

#experience.page-light .xm-lede em {
    color: #2A1D3D !important;
    font-style: italic;
}

.xm-lede {
    max-width: 60ch;
    margin: 1.6rem auto 0;
    font-size: 1.25rem;
    line-height: 1.85;
}

.rd1 {
    transition-delay: .12s;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}


#experience.page-light .xm-cards {
    grid-template-columns: minmax(0, 560px) !important;
    justify-content: center !important;
}

.xm-cards {
    margin-top: 3.5rem;
    display: grid;
    gap: 1.6rem;
    text-align: left;
}

#experience.page-light .xm-cards .xm-card:nth-child(1) {
    background: radial-gradient(130% 90% at 100% 0%, rgba(209, 230, 227, .55), transparent 58%), #FFFFFF !important;
}

#experience.page-light .xm-cards .xm-card {
    text-align: center;
}

#experience.page-light .xm-cards .xm-card {
    border: 1px solid rgba(61, 42, 85, .12) !important;
    box-shadow: 0 14px 40px rgba(61, 42, 85, .10) !important;
}

#experience.page-light .xm-cards .xm-card:nth-child(1)::before {
    background: linear-gradient(120deg, #D9E2BE, #D1E6E3) !important;
}

#experience.page-light .xm-cards .xm-card::before {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    width: auto !important;
    height: 5px !important;
}

.xm-card::before {
    content: "";
    position: absolute;
}

#experience.page-light .xm-status {
    color: #2A1D3D !important;
}

.xm-status {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.xm-card {
    position: relative;
    border-radius: 24px;
    padding: 2.6rem 2.4rem;
    overflow: hidden;
    transition: transform .4s, box-shadow .4s, border-color .4s;
}

#experience.page-light .xm-card h3 {
    color: #2A1D3D !important;
}

.xm-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: .8rem;
}

#experience.page-light .xm-card p {
    color: #3D2A55 !important;
}

.xm-card p {
    font-size: .9rem;
    line-height: 1.8;
}

#experience.page-light .xm-cta {
    color: #3D2A55 !important;
    border-color: #3D2A55 !important;
    background: rgba(255, 255, 255, .55) !important;
}

.xm-cta {
    display: inline-block;
    margin-top: 1.6rem;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid #c9a227;
    border-radius: 2px;
    padding: .7rem 1.4rem;
    text-decoration: none;
    transition: background .25s, color .25s;
}

.xm-cta:hover{
    box-shadow: 0 6px 24px rgba(15,118,110,0.3);
    transform: translateY(-1px);
}




/* Full-screen splash intro */
#magik-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff;
    overflow: hidden;

    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

#magik-intro img {
    display: block;
    width: 110%;
    height: 110%;
    object-fit: contain;

    clip-path: circle(0% at 50% 50%);
    transform: scale(0.3) rotate(-8deg);
    opacity: 0;
}

/* Splash effect */
#magik-intro.play img {
    animation: magikSplash 1.8s
        cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes magikSplash {
    0% {
        clip-path: circle(0% at 50% 50%);
        transform: scale(0.3) rotate(-8deg);
        opacity: 0;
    }

    40% {
        clip-path: circle(40% at 50% 50%);
        transform: scale(1.08) rotate(3deg);
        opacity: 1;
    }

    75% {
        clip-path: circle(100% at 50% 50%);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        clip-path: circle(150% at 50% 50%);
        transform: scale(1);
        opacity: 1;
    }
}

/* Hide the splash */
#magik-intro.hide-intro {
    animation: magikFadeOut 0.7s ease forwards;
}

@keyframes magikFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


/* Hide navbar only around Experience Magik */
nav.hide-on-magik {
    transform: translateY(-100%);
    pointer-events: none;
}


/* ==========================================
   EXPERIENCE MAGIK — RESPONSIVE IMPROVEMENTS
   Keeps the existing visual design intact
   ========================================== */

/* Prevent horizontal overflow */
#experience,
#experience * {
    box-sizing: border-box;
}

#experience {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Keep the content centered */
#experience .xm-inner {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Introductory paragraph */
#experience .xm-inner > .xm-lede {
    width: 100%;
    max-width: 60ch;
    margin: 1.6rem auto;
    text-align: center;
    line-height: 1.85;
    overflow-wrap: break-word;
}

/* Tablet and mobile card layout */
@media (max-width: 900px) {
    #experience .xm-inner {
        padding-inline: 28px;
    }

    #experience .xm-cards {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        margin-inline: auto !important;
        gap: 24px;
    }

    #experience .xm-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 2rem;
    }

    #experience .xm-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
        line-height: 1.8;
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    #experience .xm-inner {
        padding: 3.5rem 18px;
    }

    #experience .xm-inner > .xm-lede {
        max-width: 100%;
        margin: 1.2rem auto 2rem;
        font-size: 1rem;
        line-height: 1.75;
        text-align: center;
    }

    #experience .xm-cards {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
    }

    #experience .xm-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }

    #experience .xm-card h3 {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    #experience .xm-status {
        max-width: 100%;
        font-size: 0.7rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    #experience .xm-card p {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    #experience .xm-cta {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    #experience .xm-inner {
        padding-inline: 14px;
    }

    #experience .xm-card {
        padding: 1.25rem 1rem;
    }

    #experience .xm-status {
        font-size: 0.66rem;
        letter-spacing: 0.04em;
    }
}



