/* ===========================
   RESET AND BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    /* Prevent horizontal scroll on html element */
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafb;
    color: #464659;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    /* Ensure container doesn't exceed viewport */
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   HEADER STYLES
   =========================== */

/* Subpage header - solid background (default) */
.subpage .header {
    background: #ffffff;
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.subpage .header.scrolled {
    background: #fff;
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Homepage header - transparent overlay */
.homepage .header {
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    z-index: 10000;
}

.homepage .header.scrolled {
    background: transparent;
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* Legal pages header - solid background like subpages */
.legal-page .header {
    background: #ffffff;
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.legal-page .header.scrolled {
    background: #fff;
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Shared header content styles */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo {
    height: 45px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .header-logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    color: #464659;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #28b8e0;
}

/* ===========================
   DROPDOWN MENU STYLES
   =========================== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid #464659;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown-toggle:hover::after {
    border-top-color: #28b8e0;
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(229, 231, 235, 0.5);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: slideDown 0.3s ease;
}

.dropdown-menu a {
    color: #464659;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(40, 184, 224, 0.08);
    color: #28b8e0;
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 2.7rem !important;
    color: #464659;
    cursor: pointer;
    line-height: 1;
    margin-top: -.75rem !important;
}

/* ===========================
   HERO SECTION
   =========================== */

/* HOMEPAGE HERO - Full screen overlay style */
.homepage .hero {
    background: #f1f5f7;
    color: #464659;
    padding: 200px 0 120px;
    /* Extra top padding for transparent header overlay */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* No margin - header overlays */
    min-height: 80vh;
    /* Make it more impactful */
}



/* SUBPAGE HERO - Clean, professional style */
.subpage .hero {
    background: #f1f5f7;
    color: #464659;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 55px;
    border-bottom: 1px solid #e5e7eb;
}

/* LEGAL PAGES HERO - Same as subpages */
.legal-page .hero {
    background: #f1f5f7;
    color: #464659;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 55px;
    border-bottom: 1px solid #e5e7eb;
}

/* Remove decorative elements from subpages and legal pages */
.subpage .hero::before,
.legal-page .hero::before {
    display: none !important;
}

/* Shared hero content styles */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Homepage hero title - larger and more dramatic */
.homepage .hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

/* Subpage and legal page hero title - more conservative */
.subpage .hero h1,
.legal-page .hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    color: #464659;
    margin-top: -20px;
    /* Adjust for fixed header */
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    color: #6b7280;
}

/* Subpage and legal page specific subtitle styling */
.subpage .hero .subtitle,
.legal-page .hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .problem-statement {
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    color: #6b7280;
}

/* ===========================
   SECTION STYLES
   =========================== */
.section {
    padding: 80px 0;
}

.section.white {
    background: white;
}

.section.gray {
    background: #f8fafb;
}

.main-content {
    padding: 80px 0;
    background: white;
}

.content-section {
    background: white;
    padding: 120px 0;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: #464659;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-intro p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    color: #464659;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.content-section h3 {
    font-size: 1.8rem;
    color: #28b8e0;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.4rem;
    color: #464659;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Legal pages content styling */
.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 1.1rem;
}

.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section ol li {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 1.1rem;
}

/* ===========================
   BUTTON STYLES
   =========================== */
.cta-button {
    display: inline-block;
    background: transparent;
    color: #464659;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    border: 2px solid #464659;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.cta-button:hover {
    background: #464659;
    color: #f1f5f7;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(70, 70, 89, 0.2);
}

.submit-button {
    background: #28b8e0;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 40px;
    border: 2px solid #28b8e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: #1ea3cc;
    border-color: #1ea3cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 184, 224, 0.3);
}

/* ===========================
   AUDIENCE GRID
   =========================== */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.audience-card {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: #28b8e0;
    box-shadow: 0 15px 40px rgba(40, 184, 224, 0.1);
}

.audience-card:nth-child(1) {
    animation-delay: 0.2s;
}

.audience-card:nth-child(2) {
    animation-delay: 0.4s;
}

.audience-card:nth-child(3) {
    animation-delay: 0.6s;
}

.audience-card:nth-child(4) {
    animation-delay: 0.8s;
}

.audience-tag {
    display: inline-block;
    background: white;
    color: #464659;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 1.8rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.audience-quote {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 15px;
    font-size: 1rem;
    border-left: 4px solid #28b8e0;
    padding-left: 20px;
    line-height: 1.4;
}

.audience-description {
    color: #464659;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.audience-cta {
    display: inline-block;
    color: #464659;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid #464659;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.audience-cta:hover {
    background: #464659;
    color: white;
    transform: translateY(-2px);
}

/* ===========================
   5D INTEGRATION VISUAL
   =========================== */
.integration-section {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    padding: 120px 0;
    text-align: center;
}

.integration-visual {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto;
}

.center-logo {
    width: 100px;
    height: 100px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(40, 184, 224, 0.3);
    padding: 10px;
}

.center-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rotating-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: spin 20s linear infinite;
}

.rotating-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle));
    transform-origin: center;
}

.dimension-point {
    position: absolute;
    top: -160px;
    left: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    text-align: center;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dimension-point:hover {
    transform: scale(1.1);
}

.mindset {
    background-color: #cb357d;
}

.sleep {
    background-color: #ff9f43;
}

.exercise {
    background-color: #e0de28;
    color: white;
}

.posture {
    background-color: #555692;
}

.nutrition {
    background-color: #abd86e;
}

.connector {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    border-top: 4px dotted #888;
    background: none;
    transform-origin: left center;
    transform: rotate(var(--angle));
    z-index: 0;
    opacity: 1;
}

.connector::before,
.connector::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #888;
    border-radius: 50%;
    top: -4px;
}

.connector::before {
    left: -4px;
}

.connector::after {
    right: -4px;
}

.description {
    text-align: center;
    margin-top: 40px;
}

.description p {
    font-size: 1.2rem;
    color: #464659;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.8s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28b8e0;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #464659;
    font-weight: 500;
}

/* ===========================
   DIMENSIONS SECTION
   =========================== */
.dimensions-section {
    background: #f8fafb;
    padding: 80px 0;
}

.dimensions-intro {
    text-align: center;
    margin-bottom: 50px;
}

.dimensions-intro h2 {
    font-size: 2.2rem;
    color: #464659;
    margin-bottom: 20px;
    font-weight: 600;
}

.dimensions-intro p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.dimension-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    position: relative;
    z-index: 5;
}

.dimension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dimension-card:nth-child(1) {
    animation-delay: 0.2s;
}

.dimension-card:nth-child(2) {
    animation-delay: 0.4s;
}

.dimension-card:nth-child(3) {
    animation-delay: 0.6s;
}

.dimension-card:nth-child(4) {
    animation-delay: 0.8s;
}

.dimension-card:nth-child(5) {
    animation-delay: 1.0s;
}

.dimension-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dimension-line {
    width: 6px;
    height: 40px;
    border-radius: 3px;
    margin-right: 20px;
    flex-shrink: 0;
}

.dimension-line.mindset {
    background-color: #cb357d;
}

.dimension-line.sleep {
    background-color: #ff9f43;
}

.dimension-line.exercise {
    background-color: #e0de28;
}

.dimension-line.posture {
    background-color: #555692;
}

.dimension-line.nutrition {
    background-color: #abd86e;
}

.dimension-card h3 {
    font-size: 1.8rem;
    color: #464659;
    margin: 0;
    font-weight: 700;
}

.dimension-card p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.integration-summary {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #28b8e0;
    grid-column: 1 / -1;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 1.2s;
}

.integration-summary h3 {
    font-size: 1.8rem;
    color: #28b8e0;
    margin-bottom: 15px;
    font-weight: 700;
}

.integration-summary p {
    color: #464659;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===========================
   METHODS SECTION
   =========================== */
.methods-section {
    background: white;
    padding: 120px 0;
}

.methods-intro {
    text-align: center;
    margin-bottom: 60px;
}

.methods-intro h2 {
    font-size: 2.5rem;
    color: #464659;
    margin-bottom: 20px;
    font-weight: 600;
}

.methods-intro p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.method-card {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: #28b8e0;
    box-shadow: 0 15px 40px rgba(40, 184, 224, 0.1);
}

.method-card:nth-child(1) {
    animation-delay: 0.2s;
}

.method-card:nth-child(2) {
    animation-delay: 0.4s;
}

.method-card h3 {
    font-size: 1.8rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.method-card p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.approach-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #28b8e0;
}

.approach-card:nth-child(1) {
    animation-delay: 0.2s;
}

.approach-card:nth-child(2) {
    animation-delay: 0.4s;
}

.approach-card:nth-child(3) {
    animation-delay: 0.6s;
}

.approach-card:nth-child(4) {
    animation-delay: 0.8s;
}

.approach-card h3 {
    font-size: 1.4rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.approach-card p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.connection-card {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    border: 2px solid #28b8e0;
}

.connection-card h3 {
    color: #28b8e0;
}

/* ===========================
   TOOLS SECTION
   =========================== */
.tools-section {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    padding: 120px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tool-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(40, 184, 224, 0.15);
    border-color: #28b8e0;
}

.tool-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tool-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tool-card:nth-child(3) {
    animation-delay: 0.6s;
}

.tool-card:nth-child(4) {
    animation-delay: 0.8s;
}

.blog-visual {
    background: #cb357d;
    /* Mindset color - solid pink/magenta */
}

.shop-visual {
    background: #e0de28;
    /* Exercise color - solid yellow */
}

.community-visual {
    background: #555692;
    /* Posture color - solid purple */
}

.training-visual {
    background: #abd86e;
    /* Nutrition color - solid green */
}

.workout-visual {
    background: #667eea;
    /* Workout builder - Train5D blue */
}

/* Optional: Add a subtle texture or pattern if you want some visual interest */
.tool-visual {
    position: relative;
    height: 10px;
    /* You can adjust this height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    /* Rounded corners on top only */
}

/* Optional: Add a subtle overlay for depth */
.tool-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.tool-content {
    padding: 30px;
}

.tool-content h3 {
    font-size: 25px;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 700;
}

.tool-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.most-popular-text {
    display: inline-block;
    background: #FF6B6B;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.tool-cta {
    display: inline-block;
    background: transparent;
    color: #28b8e0;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #28b8e0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tool-cta:hover {
    background: #28b8e0;
    color: white;
    transform: translateY(-2px);
}

.tool-cta.primary {
    background: #28b8e0;
    color: white;
}

.tool-cta.primary:hover {
    background: #1ea3cc;
    border-color: #1ea3cc;
}

.featured-tool {
    border: 2px solid #28b8e0;
}

.featured-tool .tool-content {
    background: #fff;
}

/* ===========================
   METHOD PAGE STYLES
   =========================== */

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0 auto;
}

.process-step {
    background: white;
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Individual step colors */
.process-step:nth-child(1) {
    border-left: 6px solid #cb357d;
}

.process-step:nth-child(2) {
    border-left: 6px solid #ff9f43;
}

.process-step:nth-child(3) {
    border-left: 6px solid #e0de28;
}

.process-step:nth-child(4) {
    border-left: 6px solid #555692;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Step number colors */
.process-step:nth-child(1) .step-number {
    background: #cb357d;
}

.process-step:nth-child(2) .step-number {
    background: #ff9f43;
}

.process-step:nth-child(3) .step-number {
    background: #e0de28;
}

.process-step:nth-child(4) .step-number {
    background: #555692;
}

.step-tag {
    background: rgba(40, 184, 224, 0.1);
    color: #28b8e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-content h3 {
    font-size: 1.8rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.detail-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Detail icon colors */
.process-step:nth-child(1) .detail-icon {
    background: #cb357d;
}

.process-step:nth-child(2) .detail-icon {
    background: #ff9f43;
}

.process-step:nth-child(3) .detail-icon {
    background: #e0de28;
}

.process-step:nth-child(4) .detail-icon {
    background: #555692;
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: #fafafa;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #28b8e0;
    box-shadow: 0 15px 40px rgba(40, 184, 224, 0.1);
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid #6b7280;
    background: white;
    transition: all 0.3s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-icon {
    border-color: #28b8e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 184, 224, 0.2);
}

.contact-card:hover .contact-icon svg {
    color: #28b8e0;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #464659;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-link {
    color: #28b8e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1ea3cc;
}

.form-container {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.form-intro {
    margin-bottom: 30px;
}

.form-intro h2 {
    font-size: 2rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-intro p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

.contact-form {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: #28b8e0;
    box-shadow: 0 10px 30px rgba(40, 184, 224, 0.1);
}

/* ===========================
   FORM STYLES
   =========================== */
.form-section {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    padding: 120px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #464659;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28b8e0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
    background: white;
    padding: 120px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fafafa;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #28b8e0;
}

.faq-question {
    padding: 25px 30px;
    background: #fafafa;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #464659;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f7;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #28b8e0;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* ===========================
   FOOTER CTA SECTION
   =========================== */
.footer-cta {
    background: #fff;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="0.5" fill="rgba(40,184,224,0.1)"/><circle cx="90" cy="20" r="0.8" fill="rgba(40,184,224,0.08)"/><circle cx="20" cy="80" r="0.6" fill="rgba(40,184,224,0.1)"/><circle cx="80" cy="70" r="0.4" fill="rgba(40,184,224,0.12)"/><circle cx="50" cy="30" r="1" fill="rgba(40,184,224,0.06)"/><circle cx="30" cy="50" r="0.7" fill="rgba(40,184,224,0.09)"/></svg>') repeat;
    opacity: 0.3;
    animation: float 25s ease-in-out infinite;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-main h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #464658;
}

.cta-main p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    color: #464658;
}

.footer-cta .cta-button {
    background: transparent;
    border-color: #464658;
    font-size: 1.1rem;
    padding: 18px 36px;
}

.footer-cta .cta-button:hover {
    background: transparent;
    transform: translateY(-3px);
}

.assessment-details {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.footer-cta .cta-button:hover {
    background: transparent !important;
    color: #464658;
    transform: translateY(-3px);
    box-shadow: 0 0px 0px rgba(40, 184, 224, 0.3);
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.assessment-preview {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    color: #464659;
}

.preview-header {
    margin-bottom: 25px;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28b8e0;
    margin-bottom: 15px;
}

.preview-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28b8e0, #1ea3cc);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.preview-question p {
    font-size: 1.1rem;
    color: #464659;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.preview-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.option.active {
    border-color: #28b8e0;
    background: rgba(40, 184, 224, 0.05);
    color: #28b8e0;
    font-weight: 500;
}

.option:hover {
    border-color: #28b8e0;
    background: rgba(40, 184, 224, 0.02);
}

/* ===========================
   CTA SECTION (Alternative)
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #28b8e0 0%, #1ea3cc 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-top: 80px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .cta-button {
    background: white;
    color: #28b8e0;
    border-color: white;
}

.cta-section .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1ea3cc;
}

/* ===========================
   CARD STYLES (Generic)
   =========================== */
.card {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #28b8e0;
    box-shadow: 0 15px 40px rgba(40, 184, 224, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    color: #464659;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================
   HIGHLIGHT BOX
   =========================== */
.highlight-box {
    background: #f1f5f7;
    border-left: 4px solid #28b8e0;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin-bottom: 15px;
    font-weight: 500;
    color: #464659;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.highlight-box li {
    margin-bottom: 8px;
    color: #464659;
}

/* ===========================
   QUOTE SECTION
   =========================== */
.quote-section {
    background: #f1f5f7;
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #28b8e0;
}

.quote-section p {
    font-style: italic;
    color: #464659;
    font-size: 1.1rem;
    margin: 0;
}

/* ===========================
   TIMELINE STYLES (FOR ABOUT PAGE)
   =========================== */
.timeline-section {
    background: white;
    padding: 120px 0;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #28b8e0 0%, #1ea3cc 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 60px;
    text-align: left;
}

.timeline-content {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: #28b8e0;
    box-shadow: 0 15px 40px rgba(40, 184, 224, 0.15);
}

.timeline-content.active {
    border-color: #28b8e0;
    background: white;
    box-shadow: 0 10px 30px rgba(40, 184, 224, 0.2);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 20px;
    height: 20px;
    background: #28b8e0;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-dot:hover,
.timeline-item.active .timeline-dot {
    width: 24px;
    height: 24px;
    background: #1ea3cc;
    box-shadow: 0 0 20px rgba(40, 184, 224, 0.4);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: #28b8e0;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #464659;
    margin-bottom: 15px;
}

.timeline-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.timeline-content.active .timeline-details {
    max-height: 200px;
}

.timeline-details p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

/* ===========================
   FOOTER STYLES
   =========================== */
.footer {
    background: #f8fafb;
    padding: 60px 0 0;
    border-top: 1px solid #e5e7eb;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.logo-and-tagline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #464659;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #28b8e0;
}

.footer-bottom-wrapper {
    background: white;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social span {
    color: #6b7280;
    font-size: 0.9rem;
    margin-right: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #28b8e0;
    color: #28b8e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 184, 224, 0.2);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }

    .footer-content {
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .audience-grid {
        gap: 30px;
    }

    .audience-card {
        padding: 30px;
    }

    .methods-grid {
        gap: 30px;
    }

    .approach-grid {
        gap: 25px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact-methods {
        gap: 30px;
    }

    .form-grid {
        gap: 20px;
    }
}

/* ===========================
   MOBILE NAVIGATION FIX
   =========================== */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 10001;
        /* Ensure toggle is always clickable */
    }

    /* Hide dropdown on mobile when in navigation menu */
    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        margin: 10px 0;
        padding: 0;
    }

    .nav-menu.active .dropdown-toggle::after {
        display: none;
    }

    .nav-menu.active .dropdown-menu a {
        font-size: 1.4rem;
        padding: 10px 20px;
        background: rgba(40, 184, 224, 0.1);
        margin: 5px 0;
        border-radius: 25px;
    }

    .homepage .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
    }

    .homepage .nav-menu,
    .homepage .nav-menu.active {
        z-index: 10002 !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .homepage .mobile-menu-toggle {
        z-index: 10003 !important;
    }

    .homepage .nav-menu::before {
        z-index: 10005 !important;
    }

    .nav-menu {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0px;
        padding: 20px;
        z-index: 10000 !important;
        animation: fadeIn 0.3s ease;
    }

    /* Close button styling */
    .nav-menu::before {
        content: '✕';
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 2.5rem;
        color: #464659;
        cursor: pointer;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 10004 !important;
    }

    .nav-menu::before:hover {
        background: rgba(40, 184, 224, 0.1);
        color: #28b8e0;
        transform: rotate(90deg);
    }

    /* Menu items styling */
    .nav-menu a {
        color: #464659 !important;
        font-size: 1.8rem;
        font-weight: 600;
        text-decoration: none;
        padding: 15px 30px;
        border-radius: 50px;
        transition: all 0.3s ease;
        text-align: center;
        min-width: 200px;
    }

    .nav-menu::before:hover {
        background: rgba(40, 184, 224, 0.1);
        color: #28b8e0;
        transform: rotate(90deg);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #28b8e0;
        background: rgba(40, 184, 224, 0.1);
        transform: translateY(-2px);
    }

    /* Active state for mobile menu */
    .nav-menu.active {
        display: flex !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Ensure menu items don't overlap with content */
    .nav-menu li {
        margin: 0;
        list-style: none;
    }

    /* Hide desktop navigation completely on mobile */
    .header-content .nav-menu:not(.active) {
        display: none;
    }

    .hero {
        padding: 160px 0 80px;
        margin-top: 0;
    }

    .tool-visual {
        position: relative;
        height: 10px;
        /* You can adjust this height */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 20px 20px 0 0;
        /* Rounded corners on top only */
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .homepage .header {
        padding: 15px 0;
    }

    .homepage .header.scrolled {
        padding: 12px 0;
    }

    body:not(.homepage) .hero,
    body:not(.homepage) .main-content:first-child,
    body:not(.homepage) section:first-child {
        margin-top: 50px;
    }

    /* Legal pages responsive adjustments */
    .legal-page .hero {
        margin-top: 100px;
        padding: 140px 0 50px;
    }

    .header-logo {
        height: 45px;
    }

    .header.scrolled .header-logo {
        height: 35px;
    }

    .hero {
        padding: 140px 0 50px;
        margin-top: 100px;
        /* Default for non-homepage */
    }

    /* Homepage hero - no top margin, header overlays */
    .homepage .hero {
        margin-top: 0;
        padding: 120px 0 50px;
        z-index: 1;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero .problem-statement {
        font-size: 1rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .audience-card {
        padding: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dimensions-intro h2 {
        font-size: 1.8rem;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dimension-card {
        padding: 25px;
    }

    .integration-summary {
        padding: 30px;
    }

    .methods-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .approach-card {
        padding: 25px;
    }

    .tools-section {
        padding: 80px 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tool-visual {
        height: 10px;
    }

    .tool-content {
        padding: 25px;
    }

    .tool-content h3 {
        font-size: 22px;
    }

    .tool-content p {
        font-size: 0.9rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .assessment-details {
        justify-content: center;
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-methods {
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        height: 50px;
    }

    .section-intro h2 {
        font-size: 2rem;
    }

    /* Method page responsive */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step-details {
        justify-content: center;
    }

    /* Dropdown mobile adjustments */
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
        margin-top: 10px;
    }

    .dropdown:hover .dropdown-menu {
        animation: none;
    }

    .dropdown-toggle::after {
        display: none;
    }

    /* Legal pages mobile responsive */
    .content-section h2 {
        font-size: 2rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .content-section h4 {
        font-size: 1.2rem;
    }

    /* Timeline mobile adjustments */
    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 60px;
        padding: 30px;
        text-align: left;
    }

    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .homepage .header {
        padding: 12px 0;
    }

    .homepage .header.scrolled {
        padding: 10px 0;
    }

    .header-logo {
        height: 40px;
    }

    .header.scrolled .header-logo {
        height: 35px;
    }

    body:not(.homepage) .hero,
    body:not(.homepage) .main-content:first-child,
    body:not(.homepage) section:first-child {
        margin-top: 70px;
    }

    /* Legal pages mobile */
    .legal-page .hero {
        margin-top: 70px;
        padding: 120px 0 60px;
    }

    .hero {
        padding: 120px 0 60px;
        margin-top: 70px;
        /* Default for non-homepage */
    }

    /* Homepage hero - no top margin, header overlays */
    .homepage .hero {
        margin-top: 0;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .main-content {
        padding: 60px 0;
    }

    .integration-section {
        padding: 60px 0;
    }

    .footer-cta {
        padding: 50px 0;
    }

    .form-section {
        padding: 80px 0;
    }

    .faq-section {
        padding: 80px 0;
    }

    .content-section {
        padding: 80px 0;
    }

    .audience-card {
        padding: 20px;
    }

    .audience-card h3 {
        font-size: 1.5rem;
    }

    .audience-quote {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .dimensions-grid {
        gap: 20px;
    }

    .dimension-card {
        padding: 20px;
    }

    .tools-section {
        padding: 60px 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tool-visual {
        height: 10px;
    }

    .tool-content {
        padding: 20px;
    }

    .tool-content h3 {
        font-size: 20px;
    }

    .tool-content p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-section {
        justify-content: center;
    }

    .footer-logo {
        height: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Interactive visual responsive */
    .integration-visual {
        width: 300px;
        height: 300px;
    }

    .dimension-point {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
        top: -120px;
        left: -35px;
    }

    .center-logo {
        width: 80px;
        height: 80px;
    }

    .connector {
        width: 120px;
    }

    /* Method page mobile styles */
    .process-step {
        padding: 25px 20px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .detail-item {
        font-size: 0.85rem;
    }

    .detail-icon {
        width: 16px;
        height: 16px;
    }

    /* Legal pages mobile content */
    .content-container {
        padding: 0 15px;
    }

    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .content-section h3 {
        font-size: 1.4rem;
        margin: 30px 0 15px 0;
    }

    .content-section h4 {
        font-size: 1.1rem;
        margin: 25px 0 10px 0;
    }

    .content-section p,
    .content-section li {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 20px;
        margin: 30px 0;
    }

    .quote-section {
        padding: 20px;
        margin: 20px 0;
    }

    /* Timeline mobile styles */
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 50px;
        padding: 25px;
    }

    .timeline-section {
        padding: 80px 0;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }
}