@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

:root {
    --text: #0F100F;
    --background: #FBFBFB;
    --backgruond-2: #DDDFE4;
    --primary: #355E3B;
    --secondary: #A8C0AC;
    --accent: #4BB359;
    --body: 'Lato';
    --heading: 'Merriweather'
}

html {
    scrollbar-gutter: stable;
}

* {
    box-sizing: border-box;
    scroll-margin-top: 120px;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.3s;
}

.fade-in.visible {
  opacity: 1;
}

#load-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999999999999999999999999999999999999999999;
    animation-name: fadeOut;
    animation-duration: 2s;
}

@keyframes fadeOut {
    from { background-color: var(--background); }
    to { opacity: 0; display: none; }
}

::-webkit-scrollbar {
  background: transparent;
  width: 10px;
  position: overlay;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 1000px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent);
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--secondary);
  }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Lato';
    font-weight: 300;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

b, strong {
    color: var(--primary);
    font-weight: 700;
}

code {
    font-size: calc(1.5rem - 4px);
    background: var(--backgruond-2)
}

* {
    scroll-behavior: smooth;
}

  .self-image {
    height: fit-content;
    width: min(40vw, 800px);
    /* width: 800px; */
    margin-top: auto;
    z-index: 0;
    position: relative;
  }

  @media (min-width: 2850px){ 
    p.hero-text {
        font-size: 2vw !important;
    }
    div.column1 div.buttons button {
        font-size: 32px !important;
        padding: 30px 45px !important;
    }
  }


button {
    position: relative;
    padding: 1.4vw 2.4vw;
    font-size: 1.2rem;
    box-shadow: inset 0 0 0 2px var(--primary);
    border: none;
    background: transparent;
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s;
    font-family: var(--body);
  }
  
  button::before {
    content: "";
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle at center, var(--primary), var(--accent));
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
    z-index: 0;
  }
  
  button:hover::before {
    width: 300%;
    height: 300%;
  }
  
  button span {
    position: relative;
    z-index: 1;
    font-family: var(--body);
    font-weight: 400;
  }
  
  /* optional: keep text color contrasting when hovering */
  button:hover {
    color: #fff;
  }
  

  
  @media (max-width: 1212px) {
    button {
        padding: 2vw 3vw;
    }
  }
  @media (max-width: 800px) {
    button {
        padding: 3vw 4vw;
    }
  }

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 40px 0px 20px;
    background: var(--background);
    width: 100vw !important;
    position: fixed;
    z-index: 9999999;
    height: 100px;
}

nav img {
    height: 40%;
    cursor: pointer;
}

nav img.mobile-icon {
    display: none;
}

@media (max-width: 800px) {
    nav {
        height: 100px;
    }
    nav img:first-child {
        display: none;
    }
    nav img.mobile-icon {
        display: block;
        height: 60%;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    /* font-size: 1.125rem; */
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 400;
}
nav ul li a:hover {
    color: var(--primary);
}

nav ul li:last-child button {
    border-radius: 100px;
    box-shadow: inset 0 0 0 4px var(--primary);
    padding: 25px 40px;
}

nav ul li:last-child button span {
    font-size: 1.4rem;
    font-weight: 400;
}


/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 9999999999999999999999999999999999999999999999999;
    width: 50px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    position: relative;
    z-index: 9999999999999999999999999999999999999999999999999;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -55vw;
    width: 50vw;
    height: 100vh;
    background: var(--background);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9999999;
    padding-top: 110px;
    padding-right: 10px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    flex-direction: column;
    display: flex;
    gap: 0;
    padding: 20px;
    margin: 0;
    list-style: none;
    align-items: center;
    height: 100%;
    position: relative;
}

.mobile-menu ul li {
    width: 100%;
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: larger;
    letter-spacing: 1px;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--secondary);
    text-align: left; /* Ask whether left or right align */
    /* text-align: right; */
}
.mobile-menu ul li a:hover {
    color: var(--primary);
}

.mobile-menu ul li:last-child {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 200px;
    padding: 15px 20px;
    text-align: center;
    width: 80%;
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
}

.mobile-menu ul li:last-child a {
    border-bottom: none;
    padding: 10px 0;
    text-align: center;
    color: var(--background);
}

.mobile-menu ul li:last-child a::before {
    all: unset;
}

.mobile-menu ul li:last-child a:hover {
    color: var(--background);
}


header {
    padding-top: 100px;
    width: 100%;
    display: flex;
    height: calc(100vh) !important;
}
div.column {
    width: 50vw !important;
}
div.column1 {
    width: 50vw;
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
p.hero-text {
    font-size: 2.5vw;
    font-family: 'Merriweather';
}
span.special {
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

div.column1 div.buttons {
    display: flex;
  gap: 10px; /* spacing between buttons */
  flex-wrap: wrap; /* optional: wraps on smaller screens */
}

div.column1 div.buttons button {
    font-size: 1.4vw;
    font-weight: 400;
}

button#contactb::before {
    background: radial-gradient(circle at center, var(--primary), var(--secondary));
}

button#contactb {
    box-shadow: inset 0 0 0 2px var(--text);
}

div.column2 {
    height: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 1330px) {
    div.column1 {width: 90vw !important;}
    div.column2 {display: none;}
    p.hero-text {
        font-size: 3.5vw;
    }
    div.column1 div.buttons button {
        font-size: 1.6vw;
        padding: 30px 40px;
        font-weight: 500;
    }
}

@media (max-width: 1750px) {
    nav {
        padding: 0px 20px;
        width: calc(100% - 40px);
    }
    
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: flex;
        position: relative !important;
        z-index: 999999999999999999999999999999999999999999999999999999999 !important;
    }
}
@media (max-width: 1310px) {
    
    p.hero-text {
        padding-top: 110px;
        font-size: 4vw;
        padding-left: 40px;
    }
    
    div.column1 {
        display: flex;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
    }
    
    div.column1 div.buttons {
        flex-direction: column;
        gap: 15px;
        display: flex;
        margin-left: 100px;
        align-items: center;
        justify-content: center;
        width: 100vw !important;
    }
    
    div.column1 div.buttons button {
        font-size: 15px;
        padding: 25px 30px;
        width: 90vw;
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 70vw;
        right: -70vw;
    }
    
    p.hero-text {
        font-size: 6.5vw;
        width: 90vw;
        padding: 0;
        margin-top: -40px;
    }
    div.column1 {
        justify-content: center;
        width: 100vw !important;
        padding: 0px !important;
    }

    div.column1 .buttons {
        margin-left: 0 !important;
    }
}

@media (max-width: 550px) {
    p.hero-text {
        font-size: 8vw;
        width: 90vw;
        padding: 0;
        margin-top: -40px;
    }
    div.column1 div.buttons button {
        padding: 20px 25px;
        width: 90vw;
        font-size: 1.5rem;
    }
}

.featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    background: var(--backgruond-2);
    overflow: hidden;
    padding: 20px 0px;
    position: relative;
}

.featured p {
    margin-bottom: 3rem;
    color: var(--text);
    text-align: center;
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

.marquee {
    width: 90vw;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
    width: 1000px;
}

.marquee img {
    height: 100px;
    width: auto;
    margin: 0 3rem;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Duplicate the content for seamless loop */
.marquee-content::after {
    content: '';
    display: flex;
    align-items: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .featured p {
        font-size: 2.3rem;
        margin-bottom: 2rem;
    }
    
    .marquee {
        width: 90vw;
        height: 120px;
    }
    
    .marquee img {
        height: 80px;
        margin: 0 2rem;
    }
}

@media (max-width: 480px) {
    .featured p {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .marquee {
        width: 95vw;
        height: 100px;
    }
    
    .marquee img {
        height: 60px;
        margin: 0 1.5rem;
    }
}

div.meet {
    width: 100vw;
    display: flex;
    padding: 40px;
    padding-bottom: 0;
    padding-top: 0;
}

div.meet-heading {
font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

div.meet p {
    font-size: 1.8rem;
    line-height: 35px;
}

div.meet-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: calc(100vw - 20px);
    overflow: hidden;
    margin-right: 20px;
    padding-left: 0px;
    margin-left: 0px;
}

div.meet-mobile img {
    display: none;
    width: 100%;
    margin-bottom: 56px;
}

div.mm-2 img {margin-bottom: 0px !important;}

div.section {
    width: 50%;
    /* outline: 5px solid red; */
}
div.section:first-child {
    padding-right: 20px;
}
div.section:last-child {
    padding-left: 20px;
    padding-right: 10px;
}

div.section img {
    width: 100%;
    border-radius: 1rem;
}

div.section1 {
    height: 100%;
}
div.section2 p {
    width: calc(100% - 20px);
}

span.hi {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 1212px) {
    p.about-text-second {
        padding-left: 20px;
    }
    p.about-text-first {
	padding-right: 20px;
    }
}

@media (max-width: 1212px) {
    div.section img {
        display: none;
    }
    div.meet {
        flex-direction: column;
        padding-inline: 20px;
    }
    div.section {
        width: 100vw !important;
        padding-bottom: 0;
        padding-inline: 0 !important;
    }
    div.meet .section p {
        width: 95vw;
        padding-right: 10px;
        padding-bottom: 1lh; 
    }
    div.meet-mobile {
	display: flex;    
    }
    div.meet-mobile img {
        display: block;
    }
    div.section p {
        margin-top: 0;
        margin-bottom: 0;
    }
}

div.meet-latest-blog {
    position: relative;
    margin-top: 0;
    padding-left: 20px;
    font-size: 1.8rem;
}

div.meet-latest-blog p a {
position: relative;
    padding-left: 5px;
    width: 300%;
}

div.meet-latest-blog p {
    margin: none !important;
}

div.meet-latest-blog p a::before {
    all: unset;
}

a {
    position: relative;
    padding-bottom: 1px; 
    text-decoration: none;
    color: var(--primary);
    font-weight: 400;
    cursor: pointer;
}

a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

a:hover::before {
    transform: scaleX(1);
}

a:hover {
    color: var(--primary);
}

.book-section {
    margin-top: 50px;
    background-color: var(--backgruond-2);
    padding-bottom: 40px;
}

.books-about {
    background-color: var(--backgruond-2);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.books-about p.heading {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

.books-about p.about-text {
    text-align: center;
    font-size: 1.8rem;
    width: 80%;
}

.carousel {
    position: relative;
    width: 400px;
    height: auto;
    margin: auto;
    overflow: hidden;
    font-family: sans-serif;
    transition: all 0.3s ease;
  }

  .carousel:hover {
    transform: scale(1.05);
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
  }

  .book {
    min-width: 100%;
    position: relative;
    cursor: pointer;
    user-select: none;
  }

  .book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 15px;
    box-sizing: border-box;
    font-family: var(--body);
    font-size: 1.4rem;
    overflow-y: auto;
    z-index: 99999 !important;
  }

.overlay b {
    color: var(--accent);
}

  .book:hover .overlay {
    transform: translateY(0);
  }

  /* Arrows */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    user-select: none;
    transition: all 0.1s;
  }

  .arrow.left {
    left: 5px;
  }

  .arrow.right {
    right: 5px;
  }
  .arrow:hover,
.arrow:active {
  transform: translateY(-50%);
}

@media (max-width: 895px) {
    .book-section{margin-top: 100px;}
    .books-about .about-text {width: 90vw !important;}
}

p.ww-heading {
    font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

div.card {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 4px solid var(--primary);
}

div.card div.c-text p {
	display: flex;
	flex-direction: column;
}

div.card div {
    width: 50vw;
}

div.c-vid-container {
    width: 100%;
    overflow: hidden;
    height: 100%;
}

div.c-vid-container iframe {
    max-width: 100% !important;
    aspect-ratio: 16/9;
}

p.card-heading {
    font-family: var(--heading);
    font-size: 3rem !important;
    font-weight: 500;
    margin-bottom: 0;
}

div.card p {
    margin-left: 40px;
    font-size: 1.8rem;
    margin-right: 40px;
    line-height: 1.3;
}

div.card p.quote {
    background-color: var(--backgruond-2);
    padding: 10px;
    font-family: var(--heading);
    font-size: 1.5rem;
}

div.card button {
    margin-top: 20px;
}

div.card img.image {
    width: 100%;
}

@media (max-width: 1212px) {
    div.card {
        border-bottom: 5px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(45deg, var(--primary), var(--accent));
        padding-bottom: 30px;
	flex-direction: column;
        padding-top: 0px;
        padding-bottom: 0px;

    }
    /* div.card img {
        display: none;
    } */   
    div.card div {
        width: 100vw;
    }
    /* div.card div.c-img {
        display: none;
    } */
       div.card button {padding-bottom: margin-bottom: 20px;}
	div.card-reverse {flex-direction: column-reverse !important;}
       p.ww-heading {margin-bottom: 0;}

}

div.keynotes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.keynotes p.desc {
    margin-top: 0;
    font-size: 1.7rem;
    text-align: center;
    width: 70vw;
    line-height: 1.3;
}

div.keynote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 80vw;
}



div.keynote {
    width: 100%;
    background-color: var(--backgruond-2);
    padding: 40px;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}

@media (max-width: 900px) {
    div.keynote-container {
        width: 100vw;
        gap: 0;
    }
    div.keynote {
        border-bottom: 5px solid var(--primary);
    }
    div.keynotes p.desc {
        width: calc(100vw - 40px);
    }    
}

div.keynote p.k-name {
    font-family: var(--heading);
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 500;
}

div.keynote p.k-desc {
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.5;
    
}

div.keynote p.k-outcomes-text {
    font-size: 1.3rem;
    font-weight: 500;
    font-family: var(--heading);
}

div.keynote p.k-outcomes {
    margin-left: 10px;
    font-size: 1.5rem;
}

/* div.keynote:hover {
    transform: scale(1.1);
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 10px;
} */

div.mmm {
    padding: 40px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

p.mmm-heading {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

div.mmm div.self-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.mmm div.self-promo p {
    font-size: 1.7rem;
    text-align: center;
    width: 70vw;
    margin-bottom: 0 !important;
}

div.self-promo div.video-container {
    width: 100vw;
    display: flex;
    justify-content: center;
}

div.mmm div.self-promo iframe {
    width: 50vw;
    height: calc(50vw * 9 / 16);
}

@media (max-width: 1312px) {
    div.mmm div.self-promo iframe {
        width: 90vw;
        height: calc(90vw * 9 / 16);
    }
}

div.musings {
    /* background-color: var(--backgruond-2); */
    padding-bottom: 40px;
}

p.mmm-subheading {
    font-size: 3rem;
    font-family: var(--heading);
    text-align: center;
    margin-bottom: 0;
}

#all-medias {
    display: none;
}

.med-container { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  /* Each media is a square */
  .media-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: white;
    overflow: hidden;
    display: block;
  }
  /* label block bottom-left */
  .media-label {
    position: absolute;
    padding-left: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
  }
  .media-label:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
  }
  .media-overlay {
    z-index: 1 !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0)) !important;
  }
  .media-name {
    font-size: 14px;
    line-height: 1;
    padding: 8px 8px;
    border-radius: 4px;
    overflow: hidden;
    font-size: 2.5vw;
    max-width: 80%;
    text-align: left;
    font-family: var(--heading);
    filter: brightness(1) !important;
    z-index: 999;
    max-height: 6.5lh;
  }

.media-name::before {
    all: unset;
}

  /* arrow circle above the name */
  .media-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    padding-left: 10px;
  }
  .media-arrow .icon {
    font-size: 2vw;
    line-height: 1;
    transform: translateX(0);
    filter: none !important;
  }

  /* Hover animation: move right while fading out, then appear from left and fade in */
  .media-label:hover .media-arrow .icon {
    animation: arrowSlide 0.7s ease forwards;
  }

  @keyframes arrowSlide {
    0%   { transform: translateX(0);   opacity: 1; }
    45%  { transform: translateX(12px);}
    55% {opacity: 0;}
    46%  { transform: translateX(-12px); opacity: 0; }
    100% { transform: translateX(0);   opacity: 1; }
  }

  /* Responsive: collapse to 2 columns on small screens, 1 column on very small */
  @media (max-width: 1100px) {
    .med-container { grid-template-columns: repeat(2, 1fr); }
    .media-name {font-size: 4vw;}
    .media-arrow .icon {
        font-size: 3vw;
    }
  }
  @media (max-width: 520px) {
    .med-container { grid-template-columns: 1fr; }
    .media-name {font-size: 7vw;}
    .media-arrow .icon {
        font-size: 5vw;
    }
  }

div.m-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
}

div.m-container p.m-text {
    margin-top: 5px;
    width: 50vw;
    font-size: 1.7rem;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 1312px) {
    div.m-container p.m-text {
        width: 70vw;
    }
}

@media (max-width: 700px) {
    div.m-container p.m-text {
        width: 90vw;
    }
}

div.m-container div.m-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.9rem;
    gap: 20px;
}

div.love {
    width: 100vw;
    padding-bottom: 40px;
}

div.l-quote-container {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

div.l-quote {
    background-color: var(--backgruond-2);
    padding: 20px;
    border-radius: 10px;
    width: 80vw;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 700px) {
    div.l-quote {
        width: 90vw;
    }
}

/* div.l-quote:hover {
    transform: scale(1.1);
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, var(--primary), var(--accent));
} */

p.q-content {
    font-size: 1.5rem;
    font-family: var(--heading);
    margin-bottom: 0;
    margin-top: 0;
}

p.q-author {
    margin-top: 5px;
    font-style: italic;
    margin-bottom: 0;
}

.contact {
    background-color: var(--backgruond-2);
    width: 100vw;
    padding-top: 40px;
    padding-bottom: 40px;
}

.c-container {
    width: 100vw;
    display: flex;
}

.c-column {
    width: 50vw;
}

.c-column:first-child {
    width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cf-container {
    width: 100%;
    margin-left: 20%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm {
    width: 100%;
}
#m {
    background-color: var(--backgruond-2);
    width: 100vw;
    text-align: center;
}

#contactForm input, textarea {
    width: 100%;
    background-color: var(--backgruond-2);
    border: 2px solid var(--text);
    outline: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--body);
    font-weight: 300;
    transition: 0.3s ease-in-out border;
    animation-duration: 6s;
}

@keyframes form-ok-border {
    0% {
        border-color: inherit;
    }
    20% {
        border-color: green;
    }
    80% {
        border-color: green;
    }
    100% {
        border-color: inherit;
    }
}

@keyframes form-no-border {
    0% {
        border-color: inherit;
    }
    20% {
        border-color: red;
    }
    80% {
        border-color: red;
    }
    100% {
        border-color: inherit;
    }
}


#contactForm input:focus, textarea:focus {
    border: 2px solid var(--accent);
}

#contactForm label {
    align-self: normal;
    margin-left: 15px;
    line-height: 1.5;
}


.cf-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

#status {
    font-size: 1.2rem;
    font-weight: 700;
}

#contact .c-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
#contact .c-column .c-info {
    display: flex;
    gap: .5rem;
    font-size: 2rem;
    min-width: 400px;
    width: 50%;
}

#contact .c-column:last-child img {
  border-radius: 10px;
  width: 75%;
}

#contact .c-column:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact .c-column .c-info svg {
    aspect-ratio: 1;
    max-height: 2.5rem;
    width: auto; /* Fallback for browsers without aspect-ratio support */
}

#map { height: 100%; aspect-ratio: 16/9; }


@media (max-width: 1400px) {
    .c-column {
        width: 100vw !important;
    }
    #contact .c-column:last-child {
        display: none;
    }
    .cf-container {
        margin-left: 10%;
        width: 80%;
    }
    .c-container {
        gap: 40px;
        flex-direction: column;
    }
}

footer {
    background-color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    padding: 20px;
    color: var(--background);
    font-size: 1.4rem;
    padding-bottom: 0;
}

.f-top {
    display: flex;
    justify-content: space-between;
    width: 90vw;
    padding: 20px;
    
}

.f-top img:first-child {
    width: 40vw;
    min-width: 300px;
    height: 100%;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.f-top img.mobile-footer {
    display: none;
    width: 30vw !important;
    min-width: none;
}

@media (max-width: 750px) {
    .f-top img:first-child {
        display: none;
    }
    .f-top img.mobile-footer {
        display: block;
    }
}

.f-top img:hover {
    transform: scale(1.05);
}

.f-right {
    display: flex;
}

.f-nav {
    display: flex;
    flex-direction: column;
}

.f-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.f-nav ul li a {
    color: var(--background);
}

.f-nav ul li a:hover {
    color: var(--accent);
}

.f-nav ul li:first-child {
    font-weight: 800 !important;
}

.f-socials {
    display: flex;
    flex-direction: column;
}

.f-socials ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 5px;
}

.f-socials ul li {
    display: flex;
    align-items: center;
    margin-bottom: 7.5px;
}


.f-socials ul li:not(:first-child) {
    height: 3rem;
}
.f-socials ul li:first-child {
    font-weight: 800;
}

.f-socials ul li a {
    color: var(--background);
}

.f-socials ul li a:hover {
    color: var(--accent);
}

.f-socials ul li svg {
    width: 50px;
    fill: var(--secondary);
}

.bottom {
    text-align: center;
}

.pp-heading, .tos-heading {
    font-size: 3.5rem;
    text-align: center;
    font-family: var(--heading);
    color: var(--primary);
    font-weight: 500;
}

.pp-content, .tos-content {
    font-size: 1.5rem;
    padding: 20px;
    line-height: 1.35;
    /* Not 1.6? */
    width: 90%;
    margin: auto;
    margin-bottom: 5rem;
}

#pp-back, #tos-back {
    position: fixed;
    transform: rotate(180deg);
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text);
    top: 5px;
    left: 15px;
    transition: all 0.3s ease;
}

#pp-back:hover, #tos-back:hover {
    color: var(--primary);
    transform: scale(1.1) rotate(180deg);
}

.f-active {
    color: var(--accent) !important;
}

@media (max-width: 1180px) {
    .f-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .f-right {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .f-nav ul, .f-socials ul {
        align-items: center;
        padding-left: 0 !important;
    }
    .f-nav ul li, .f-socials ul li {
        font-size: 1.7rem;
        text-align: center;
    }
    .f-socials ul li:not(:first-child) {
        height: 2.5rem;
    }
    .f-socials ul li svg {
        width: 40px;
    }
    .f-top img:first-child {
        width: 60vw;
    }
}

.cookie-notice {
    position: fixed;
    bottom: 10px;
    left: calc(340px / 2 + 10px);
    width: 340px;
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
    background: var(--backgruond-2);
    color: var(--text);
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 5px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 1;
  }
  
  .cookie-notice.hide {
    transform: translateX(-50%) translateY(100px) rotate(5deg);
    opacity: 0;
  }
  
  .cookie-notice button {
    padding: 10px 20px;
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
  }
  
  .cookie-notice button span {
    font-weight: 300;
  }
  
