/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #fbfbf9;
    --complimentary-bg: #eeeeea;
    --text-dark: #1a1a1a;
    --text-gray: #a0a0a0;
    --accent-color: #000;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --navbar-height: 60px;
    --typeform-overlay-bg: #000;
    --typeform-close-bg: var(--primary-bg);
    --typeform-close-color: var(--text-dark);
    --typeform-border-radius: 5px;
    --footer-height: 400px;
    --navbar-font: 0.9rem;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
}

h1 span, h2 span {
    font-style: italic;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

@font-face {
    font-family: 'Knuckle Down';
    src: url('../assets/fonts/KnuckleDown.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Main Navbar */
.navbar {
    background-color: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 var(--spacing-sm);
}

.logo {
    display: flex;
    align-items: center;
    position: static;
    transform: none;
    z-index: 1001;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: var(--navbar-font);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .get-started-btn {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    height: 32px;
    display: flex;
    align-items: center;
}

.nav-links .get-started-btn:hover {
    background-color: #333;
}

/* Feature Nav (Secondary Navigation) */
.feature-nav {
    background-color: var(--primary-bg);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: var(--navbar-height);
    z-index: 999;
    border-bottom: 1px solid var(--text-gray);
}

.feature-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--spacing-sm);
}

.section-indicators {
    display: flex;
    gap: 0.5rem;
    padding-right: 0;
}

.indicator {
    color: var(--text-gray);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.indicator.active {
    color: var(--text-dark);
}

.section-title {
    font-size: var(--navbar-font);
    font-weight: 500;
    text-align: right;
    padding-left: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Show fallback image if video fails to load */
.hero-background-video:not([src]) + .hero-background-image,
.hero-background-video:not([src]) ~ .hero-background-image {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.hero-title span {
    font-style: italic;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #f0f0f0;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- Sleek Hero Section Styles --- */
.sleek-hero {
  background: var(--primary-bg);
  padding: 5vw 0 3vw 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4vw;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-col {
  flex: 1 1 0;
  min-width: 0;
}
.hero-col-video {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-box {
  background: radial-gradient(ellipse 120% 100% at 20% 10%, #d6eaf7 0%, #f7f3ee 100%);
  border-radius: 5px;
  box-shadow: 0 8px 32px 0 rgba(60, 80, 120, 0.10);
  padding: 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  min-width: 320px;
}
.hero-main-video {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(60, 80, 120, 0.08);
}
.hero-col-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 320px;
  max-width: 520px;
  padding-left: 1vw;
}
.sleek-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-align: left;
  max-width: 100vw;
  white-space: pre-line;
}
.sleek-hero-subtitle {
  font-size: 1.35rem;
  color: #222;
  margin-bottom: 2.2rem;
  text-align: left;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}
.sleek-hero-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 500;
  padding: 1.1rem 2.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 12px 0 rgba(60, 80, 120, 0.08);
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.sleek-hero-btn:hover {
  background: #222;
  box-shadow: 0 4px 18px 0 rgba(60, 80, 120, 0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Content Sections */
.content-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
    min-height: 80vh;
    gap: var(--spacing-lg);
}

.content-section.reverse {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.content-section .section-text {
    max-width: 440px;
    flex: 0 0 440px;
}

.content-section .section-image {
    max-width: 664px;
    flex: 0 0 664px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section .section-image img,
.content-section .section-image video {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    display: block;
}

.content-section .section-image:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.content-section .section-image:hover video {
    transform: none;
}

.content-section .section-image:hover img {
    transform: none;
}

.content-section .section-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.content-section .section-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* Footer Section */
.footer {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg) var(--spacing-md);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--text-gray);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.footer-logo-img {
    max-width: 70px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    cursor: pointer; /* Indicate the video is clickable */
}

.footer-logo-img:hover {
    opacity: 0.9; /* Subtle hover effect */
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 0.5rem;
}

.footer-column a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: auto;
    padding-top: calc(var(--spacing-lg) * 1.5);
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    flex-direction: column;
}

.footer-bottom-left p,
.footer-bottom-right p {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.footer-bottom-left {
    align-items: flex-start;
    text-align: left;
}

.footer-bottom-right {
    align-items: flex-end;
    text-align: right;
}

/* Modal Styles (Added from Product Section) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent backdrop */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #000;
}

/* Typeform Modal Styles */
.typeform-modal {
    & .tf-v1-popup {
        border-radius: var(--typeform-border-radius);
    }

    & .tf-v1-popup-overlay {
        background-color: var(--typeform-overlay-bg) !important;
        border-radius: 0 !important;
    }

    & .tf-v1-popup-close {
        color: var(--typeform-close-color) !important;
        background-color: var(--typeform-close-bg) !important;
        border-radius: 50%;
        padding: 5px;
    }

    & .tf-v1-iframe {
        border-radius: var(--typeform-border-radius);
    }
}

/* Add this to the existing style.css */

/* Ensure videos and fallback images are styled consistently */
.section-video,
.footer-logo-video {
    display: block;
}

.video-fallback {
    display: none; /* Hidden by default, shown via JavaScript if video fails */
}

/* Update existing .content-section .section-image styles to ensure consistency */
.content-section .section-image video,
.content-section .section-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    display: block;
}

/* Update footer logo styles */
.footer-logo-video,
.footer-logo-video .video-fallback {
    max-width: 70px;
    height: auto;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
}

.footer-logo-video:hover,
.footer-logo-video .video-fallback:hover {
    opacity: 0.9;
}

/* Media query adjustments */
@media (max-width: 1200px) {
    .content-section .section-image video,
    .content-section .section-image img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        display: block;
    }

    .footer-logo-video,
    .footer-logo-video .video-fallback {
        max-width: 100px;
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .content-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-sm);
        gap: var(--spacing-md);
        min-height: auto;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .content-section.reverse {
        flex-direction: column;
        justify-content: center;
    }

    .content-section .section-text,
    .content-section .section-image {
        max-width: 100%;
        width: 100%;
        flex: 0 0 auto;
    }

    .content-section .section-text {
        max-width: 500px;
        margin: 0 auto;
    }

    .content-section .section-image {
        max-width: 500px;
        margin: 0 auto;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .content-section .section-image img,
    .content-section .section-image video {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        display: block;
    }

    .content-section .section-image:hover {
        transform: scale(1.01);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }

    .content-section .section-image:hover img,
    .content-section .section-image:hover video {
        transform: none;
    }

    

    .slideshow-dots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 2;
    }

    .dot {
        width: 6px;
        height: 6px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .begin-btn {
        margin-top: var(--spacing-md);
        order: 2; /* Ensure button appears after the slideshow */
        margin-left: auto;
        margin-right: auto;
    }

    .navbar {
        padding: 0 var(--spacing-sm);
    }

    .navbar-container {
        position: relative;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: 100%;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        position: absolute;
        left: var(--spacing-sm);
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: var(--primary-bg);
        padding: var(--spacing-lg) var(--spacing-sm);
        z-index: 998;
        justify-content: space-between;
        gap: var(--spacing-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .dropdown-toggle.nav-link {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        padding: 1rem 0;
        border-bottom: 1px solid var(--text-gray);
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        display: flex;
        align-items: center;
        background: none;
        border: none;
    }

    .nav-links .nav-dropdown {
        width: 100%;
    }

    .nav-links .dropdown-menu {
        left: 0;
        background: var(--primary-bg); /* or transparent */
        right: auto;
        min-width: 100%;
        border-radius: 0 0 6px 6px;
        margin-top: 0;
        position: static;
        box-shadow: none;
    }

    .nav-links a {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        padding: 1rem 0;
        border-bottom: 1px solid var(--text-gray);
        width: 100%;
        text-align: left;
    }

    .nav-links a:hover {
        color: var(--accent-color);
    }

    .nav-links .get-started-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        width: fit-content;
        margin-top: auto;
    }

    .feature-nav {
        padding: var(--spacing-sm) 0;
    }

    .feature-nav-container {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    .section-title {
        text-align: center;
    }

    .footer {
        padding: var(--spacing-md);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .footer-logo {
        margin-bottom: var(--spacing-md);
    }

    .footer-logo-img {
        max-width: 100px;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .footer-column {
        align-items: center;
    }

    .footer-bottom-left {
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom-right {
        align-items: flex-end;
        text-align: right;
    }

    /* Modal Media Query (Added from Product Section) */
    .modal-content {
        width: 95%;
        height: 70%;
        max-height: 500px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        margin: 0;
    }

    .dropdown-menu a {
        
        font-family: 'Playfair Display', serif;
      }
}

/* New Cards Section */
.new-cards-section {
    padding: calc(var(--spacing-lg) * 2.5) 0;
    background-color: var(--primary-bg); /* Use primary background for consistent light theme */
    text-align: center;
    border-top: 1px solid var(--text-gray);
    overflow: hidden;
    position: relative;
}

.new-cards-section.hidden-section {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.new-cards-section.visible-section {
    opacity: 1;
    transform: translateY(0);
}

.new-cards-section .container {
    max-width: 1200px; /* Reverted to 1200px for consistent alignment with main content */
    margin: 0 auto;
    padding: 0 var(--spacing-sm); /* Adjusted padding to align with other content sections */
}

.new-cards-section .section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-lg) * 2);
    text-align: center;
    letter-spacing: -0.03em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
    margin: 0;
}

.card-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.999), rgba(255, 255, 255, 0.998)); /* Almost invisible white */
    padding: calc(var(--spacing-lg) * 1.8) calc(var(--spacing-lg) * 1);
    border-radius: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.0005), 0 0 0 1px rgba(0, 0, 0, 0.0005); /* Extremely soft, barely visible shadow */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease-out; /* Slightly longer transition */
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity, box-shadow;
}

.card-item.visible-staggered {
    opacity: 1;
    transform: translateY(0);
}

.card-item:hover {
    transform: translateY(-15px); /* Even more lift on hover */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.008), 0 0 0 1px rgba(0, 0, 0, 0.004); /* More pronounced hover shadow */
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0); /* Invisible background */
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0); /* Invisible inner border */
    transition: background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); /* Slightly longer transition for a smoother feel */
    will-change: background-color;
}

.card-item:hover .card-icon {
    background-color: rgba(0, 0, 0, 0.005); /* Even more visible change on card hover */
}

.card-icon svg {
    width: 42px;
    height: 42px;
    stroke: var(--accent-color);
    stroke-width: 1.6;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); /* Slightly longer transition for icon transform */
    will-change: transform;
}

.card-item:hover .card-icon svg {
    transform: scale(1.12); /* Even more pronounced scale on icon hover */
}

.card-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem; /* Slightly increased for better readability */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.15; /* Adjusted for better readability */
    letter-spacing: -0.04em;
}

.card-item p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Slightly increased for better readability */
    color: var(--text-dark);
    line-height: 1.7; /* Adjusted for better readability */
    flex: 1;
    opacity: 0.65; /* Slightly less opaque text for balance */
}

/* Responsive adjustments for New Cards Section */
@media (max-width: 1200px) {
    .new-cards-section .container {
        padding: 0 var(--spacing-sm);
    }

    .new-cards-section {
        padding: calc(var(--spacing-lg) * 2) 0;
    }

    .new-cards-section .section-heading {
        font-size: 3rem;
        margin-bottom: calc(var(--spacing-lg) * 1.5);
    }

    .cards-grid {
        gap: var(--spacing-md);
    }

    .card-item {
        padding: calc(var(--spacing-lg) * 1.5) var(--spacing-md); /* Adjusted padding for smaller screens */
        border-radius: 32px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon svg {
        width: 38px;
        height: 38px;
    }

    .card-item h3 {
        font-size: 2rem;
    }

    .card-item p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .new-cards-section .container {
        padding: 0 var(--spacing-sm);
    }

    .new-cards-section {
        padding: var(--spacing-lg) 0;
    }

    .new-cards-section .section-heading {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-lg);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 90%;
    }

    .card-item {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 28px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-sm);
    }

    .card-icon svg {
        width: 30px;
        height: 30px;
    }

    .card-item h3 {
        font-size: 1.6rem;
    }

    .card-item p {
        font-size: 0.95rem;
    }
}

/* New Section: Demo Video */
.demo-video-section {
    padding: calc(var(--spacing-lg) * 2) 0;
    background-color: var(--complimentary-bg);
    text-align: center;
    border-bottom: 1px solid var(--accent-color); /* Separator line below the video section */
}

.demo-video-section .section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-lg) * 1.5);
    text-align: center;
    letter-spacing: -0.03em;
}

.demo-video-section .video-container {
    position: relative;
    width: 100%;
    max-width: 960px; /* Optimal width for a video, adjust as needed */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-video-section .responsive-video,
.demo-video-section .video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px; /* Match container border-radius */
}

.demo-video-section .video-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem; /* Slightly larger for readability */
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 700px; /* Control line length for readability */
    margin: var(--spacing-lg) auto 0 auto; /* Top margin for spacing, center horizontally */
    opacity: 0.85; /* Slightly less opaque to distinguish from headings */
}

/* Responsive adjustments for Demo Video Section */
@media (max-width: 1200px) {
    .demo-video-section {
        padding: calc(var(--spacing-lg) * 1.5) 0;
    }

    .demo-video-section .section-heading {
        font-size: 3rem;
        margin-bottom: var(--spacing-lg);
    }

    .demo-video-section .video-container {
        max-width: 800px; /* Adjust for smaller screens */
    }

    .demo-video-section .video-description {
        font-size: 1.05rem;
        max-width: 90%;
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .demo-video-section {
        padding: var(--spacing-lg) 0;
    }

    .demo-video-section .section-heading {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-md);
    }

    .demo-video-section .video-container {
        max-width: 90%; /* Fluid width for mobile */
        padding-bottom: 56.25%; /* Maintain aspect ratio */
    }

    .demo-video-section .video-description {
        font-size: 0.95rem;
        margin-top: var(--spacing-md);
    }
}

/* Styles copied from HER.css for index.html hero and Who We Serve sections */

/* Who We Serve Section */
.who-we-serve-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--primary-bg);
    position: relative;
    z-index: 1;
}

.who-we-serve-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.who-we-serve-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-lg) * 1.5);
    text-align: center;
}

.who-we-serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-lg) * 1.5);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 1000px;
}

.who-we-serve-card {
    background: #fff;
    padding: calc(var(--spacing-lg) * 2.5) calc(var(--spacing-lg) * 1.2);
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.who-we-serve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.who-we-serve-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-md) * 1.5);
    max-width: 100%;
}

.who-we-serve-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.who-we-serve-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    letter-spacing: -0.01em;
    font-weight: 400;
    padding-bottom: 0.5rem;
    opacity: 0.8;
}

.who-we-serve-card-text strong {
    color: var(--text-dark);
    font-weight: 600;
    opacity: 1;
}

.who-we-serve-card-cta {
    margin-top: auto;
    padding-top: calc(var(--spacing-lg) * 1.2);
}

.who-we-serve-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.who-we-serve-button:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.who-we-serve-button::after {
    content: '→';
    margin-left: 12px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 1.2rem;
}

.who-we-serve-button:hover::after {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .who-we-serve-section .container {
        padding: 0 var(--spacing-sm);
    }

    .who-we-serve-grid {
        gap: calc(var(--spacing-lg) * 1);
        max-width: 900px;
    }

    .who-we-serve-card {
        min-height: 480px;
        padding: calc(var(--spacing-lg) * 2) var(--spacing-md);
    }

    .who-we-serve-card-title {
        font-size: 1.6rem;
    }

    .who-we-serve-card-text {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
  .hero-section {
    min-height: unset;
    height: auto;
    padding: 2.5rem 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: var(--primary-bg);
  }
  .hero-section .container,
  .hero-inner {
    padding: 0 0.5rem;
    gap: 1.2rem;
    width: 100%;
    max-width: 100vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-col-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    padding: 0;
    margin: 0;
    max-width: 100vw;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .hero-title,
  .sleek-hero-title {
    font-size: 2.5rem;
    line-height: 1.22;
    margin-bottom: 0.5rem;
    color: #111;
    text-align: center;
    word-break: normal;
    hyphens: auto;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
  }
  .hero-subtitle,
  .sleek-hero-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.7rem;
    line-height: 1.4;
    text-align: center;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
    hyphens: auto;
    font-weight: 400;
  }
  .sleek-hero-btn,
  .hero-content .begin-btn {
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
    width: 100%;
    max-width: 340px;
    margin: 0.5rem auto 0 auto;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .hero-image-slideshow,
  .hero-col-video,
  .hero-video-box {
    max-width: 100vw;
    width: 100%;
    min-width: 0;
    margin: 0 auto 1.2rem auto;
    aspect-ratio: 16/10;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(60,80,120,0.07);
  }
  .hero-image-slideshow img,
  .hero-image-slideshow video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  hero-section .container,
  .hero-inner {
    padding: 0 3vw; /* Add more side padding */
    max-width: 100vw;
  }
  .hero-col-video,
  .hero-video-box {
    max-width: 600px; /* Make video box a bit smaller */
    min-width: 0;
  }
  .hero-title,
  .sleek-hero-title {
    font-size: 3rem; /* Larger text */
    line-height: 1.18;
  }
  .hero-subtitle,
  .sleek-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
  }
}

@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--navbar-height));
    padding: var(--spacing-md) 0;
  }
  .hero-section .container,
  .hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 var(--spacing-sm);
    gap: var(--spacing-md);
  }
  .hero-content {
    max-width: 100%;
    margin: 0;
    text-align: center;
    padding: 0;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .hero-image-slideshow {
    max-width: 100%;
    margin-top: var(--spacing-md);
    aspect-ratio: 16/9;
    border-radius: 5px;
  }
}

@media (max-width: 420px) {
    .hero-title {
    font-size: 1.5rem;
    }
}


@media (max-width: 600px) {
  .hero-section {
    min-height: unset;
    height: auto;
    padding: 2.5rem 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: var(--primary-bg);
  }
  .hero-section .container,
  .hero-inner {
    padding: 0 0.5rem;
    gap: 1.2rem;
    width: 100%;
    max-width: 100vw;
  }
  .hero-col-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .who-we-serve-button.hero-cta-btn {
    display: block;
    margin: 0.5rem auto 0 auto;
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
  .hero-content {
    padding: 0;
    margin: 0;
    max-width: 100vw;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .hero-title,
  .sleek-hero-title {
    font-size: 2.5rem;
    line-height: 1.22;
    margin-bottom: 0.5rem;
    color: #111;
    text-align: center;
    word-break: normal;
    hyphens: auto;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
  }
  .hero-subtitle,
  .sleek-hero-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.7rem;
    line-height: 1.4;
    text-align: center;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
    hyphens: auto;
    font-weight: 400;
  }
  .sleek-hero-btn,
  .hero-content .begin-btn {
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
    width: 100%;
    max-width: 340px;
    margin: 0.5rem auto 0 auto;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .hero-image-slideshow,
  .hero-col-video,
  .hero-video-box {
    max-width: 100vw;
    width: 100%;
    min-width: 0;
    margin: 0 auto 1.2rem auto;
    aspect-ratio: 16/10;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(60,80,120,0.07);
  }
  .hero-image-slideshow img,
  .hero-image-slideshow video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  .who-we-serve-section {
    padding: var(--spacing-md) 0;
  }
  .who-we-serve-grid {
    gap: var(--spacing-md);
    max-width: 100vw;
    padding: 0;
  }
  .who-we-serve-card {
    padding: var(--spacing-md) var(--spacing-sm);
    min-height: 220px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .who-we-serve-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  .who-we-serve-card-text {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
  }
  .who-we-serve-card-cta {
    padding-top: var(--spacing-sm);
    margin-top: 0.5rem;
  }
  .who-we-serve-button {
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem 0;
    border-radius: 7px;
    margin: 0 auto;
    display: block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    letter-spacing: 0.01em;
  }
  .who-we-serve-button::after {
    font-size: 1.1rem;
    margin-left: 8px;
  }
}



@media (max-width: 768px) {
    .who-we-serve-section {
        padding: var(--spacing-lg) 0;
    }

    .who-we-serve-section .container {
         padding: 0 var(--spacing-md);
    }

    .who-we-serve-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-lg);
    }

    .who-we-serve-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 90%;
        margin: 0 auto;
        padding: 0;
    }

     .who-we-serve-card {
        padding: calc(var(--spacing-lg) * 2) var(--spacing-lg);
        min-height: 460px;
    }

    .who-we-serve-card-content {
        gap: var(--spacing-md);
    }

    .who-we-serve-card-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .who-we-serve-card-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .who-we-serve-button {
        justify-content: center;
    }
}

.who-appear.hidden-on-load {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.who-appear.visible-on-scroll {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-link, .dropdown-toggle.nav-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-size: var(--navbar-font);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-link:hover, .dropdown-toggle.nav-link:hover {
  color: var(--accent-color);
}

.dropdown-arrow {
  margin-left: 0.4em;
  font-size: 0.8em;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 1001;
  border-radius: 5px;
  margin-top: 8px;
  right: 0;
  flex-direction: column;
}

.dropdown-menu a {
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--complimentary-bg);
}

.nav-dropdown.open .dropdown-menu {
  display: flex;
}

@media (max-width: 450px) {
    .hero-title,
    .sleek-hero-title {
        font-size: 2rem;
    }

    .who-we-serve-title {
        font-size: 2.5rem;
    }

    .nav-links a,
    .nav-dropdown .dropdown-toggle,
    .nav-links .dropdown-toggle.nav-link {
        font-size: 1.3rem !important;
        font-family: 'Playfair Display', serif !important;
        font-weight: 700 !important;
        padding: 0.7rem 0 !important;
    }
    .dropdown-menu a {
        font-size: 1rem;
        padding: 0.6rem 0 0.6rem 1.5rem;
    }
}

.becomepartner-main {
    max-width: 600px;
    margin: 60px auto 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    text-align: center;
}

.becomepartner-main h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.becomepartner-main p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.becomepartner-form-placeholder {
    margin-top: 2rem;
    font-size: 1rem;
    color: #333;
}

.becomepartner-form-placeholder a {
    color: #000;
    text-decoration: underline;
}

/* Ensure dropdown works on all screen sizes */
.nav-dropdown.open .dropdown-menu {
    display: flex !important;
}

/* --- What is Permly Section --- */
.what-is-permly-section {
  background: #fff;
  padding: 14vw 0 14vw 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.what-is-permly-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
.what-is-permly-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  text-align: left;
}
.what-is-permly-desc {
  font-size: 1.25rem;
  color: #222;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.what-is-permly-desc strong {
  font-weight: 600;
  color: #000;
}
.what-is-permly-summary {
  font-size: 1.18rem;
  color: #333;
  font-family: 'Inter', sans-serif;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.permly-superpowered {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

.what-is-permly-title,
.what-is-permly-desc,
.what-is-permly-summary {
  width: 100%;
  text-align: left;       /* Left-align the text inside the centered block */
  margin-left: 0;
  margin-right: 0;
}

/* Typewriter animation base styles */
.typewriter-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.typewriter-animate.typewriter-visible {
  opacity: 1;
  transform: translateY(0);
}
.typewriter-animate.typewriter-visible.typewriter-delay-1 {
  animation-delay: 0.7s;
}
.typewriter-animate.typewriter-visible.typewriter-delay-2 {
  animation-delay: 1.4s;
}
@keyframes typewriter {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .what-is-permly-section {
    padding: 40vw 0 40vw 0; /* Increase as needed */
  }
  .what-is-permly-container {
    max-width: 98vw;
    gap: 1.2rem;
  }
  .what-is-permly-title {
    font-size: 1.5rem;
  }
  .what-is-permly-desc {
    font-size: 1.02rem;
  }
  .what-is-permly-summary, .permly-superpowered {
    font-size: 1rem;
  }
}

.what-is-permly-container {
  gap: 0.7rem; /* Reduce vertical gap between blocks */
}

.what-is-permly-desc,
.what-is-permly-summary {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  line-height: 1.4; /* Tighter line height */
}


.permly-verified-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}
.permly-verified-link:hover {
  color: #0077b5; /* LinkedIn blue or your accent color */
  text-decoration: underline;
}