* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Base sizing */
    --base-font-size: 16px;

    /* Spacing scale */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2.25rem;  /* 36px */
    --space-xl: 3.75rem;  /* 60px */

    /* Typography scale */
    --text-xs: 1.125rem;  /* 18px */
    --text-sm: 1.5rem;    /* 24px */
    --text-md: 1.75rem;   /* 28px */
    --text-hero: clamp(2rem, 8vw + 0.67rem, 4.61rem); /* 67% of 48px-110px = 32px-73.7px */

    /* Sizing */
    --btn-height-sm: 3.25rem;  /* 52px */
    --btn-height-md: 4rem;     /* 64px */
    --btn-height-lg: 5.5rem;   /* 88px */

    /* Colors */
    --color-primary: #03494B;
    --color-gradient-start: #F99522;
    --color-gradient-end: #FEE478;
    --color-ai-gradient-start: #01A196;
    --color-ai-gradient-end: #06BF84;
}

html {
    font-size: var(--base-font-size);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

/* Header */
.header {
    position: absolute;
    width: 100%;
    height: clamp(3rem, 6vh, 3.6rem);
    top: 0;
    left: 0;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    z-index: 200;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

/* Header with blur effect when scrolled */
.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

/* Header in hero section - transparent background with blur */
.header.in-hero {
    background: transparent;
    backdrop-filter: blur(10px);
}

.header-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: clamp(2rem, 4vh, 2.18rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
}

.header-logo {
    justify-self: start;
    display: flex;
    align-items: center;
}

.logo-image {
    width: clamp(5rem, 10vw, 6.78rem);
    height: auto;
    object-fit: contain;
}

/* Navigation */
.header-nav {
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    line-height: 1.21;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

/* Header Actions */
.header-actions {
    justify-self: end;
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

/* Log In Button */
.login-btn {
    box-sizing: border-box;
    min-width: clamp(4.5rem, 10vw, 6.24rem);
    height: clamp(1.8rem, 4vh, 2.18rem);
    padding: 0 clamp(0.75rem, 2vw, 1rem);
    border: 1.1px solid var(--color-primary);
    border-radius: 99px;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    line-height: 1.22;
    color: var(--color-primary);
    cursor: pointer;
}

.login-btn:hover {
    background: rgba(3, 73, 75, 0.05);
    transition: background 0.2s ease;
}

/* Sign Up Button (Header) */
.signup-btn-header {
    min-width: clamp(4.5rem, 10vw, 6.24rem);
    height: clamp(1.8rem, 4vh, 2.18rem);
    padding: 0 clamp(0.75rem, 2vw, 1rem);
    background: linear-gradient(94.07deg, var(--color-gradient-start) 9.45%, var(--color-gradient-end) 135.58%);
    box-shadow: inset 0px -2.7px 6.7px rgba(255, 214, 93, 0.7);
    backdrop-filter: blur(16.75px);
    border-radius: 91.8px;
    border: none;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    line-height: 1.22;
    color: #FFFFFF;
    cursor: pointer;
}

.signup-btn-header:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Book a Demo Button */
.book-demo-btn {
    min-width: 9.3125rem;
    height: var(--btn-height-sm);
    padding: 0 var(--space-md);
    background: linear-gradient(94.07deg, var(--color-gradient-start) 9.45%, var(--color-gradient-end) 135.58%);
    box-shadow: inset 0px -4px 10px rgba(255, 214, 93, 0.7);
    backdrop-filter: blur(25px);
    border-radius: 137px;
    border: none;
    font-style: normal;
    font-weight: 600;
    font-size: var(--text-xs);
    line-height: 1.22;
    color: #FFFFFF;
    cursor: pointer;
}

.book-demo-btn:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: clamp(5rem, 12vh, 10rem) 1rem 2rem;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: clamp(1.5rem, 4vh, 3rem);
    align-items: start;
    justify-items: center;
}

/* Hero Section Background */
.hero-background {
    position: absolute;
    width: 100%;
    height: 103%;
    left: 0;
    top: 0;
    z-index: 0;
    overflow: hidden;
}

/* Decoration 7 - Base radial gradient */
.decoration-7 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: radial-gradient(72.25% 60.44% at 50% 39.74%, #FFFDF3 0%, #EEF5F1 51.32%, #C6E0D2 100%);
    z-index: 1;
}

/* Decoration 6 - Left blurred gradient */
.decoration-6 {
    position: absolute;
    width: min(140vw, 122.3875rem);
    height: min(80vh, 69.85rem);
    left: calc(50% - min(140vw, 122.3875rem)/2 - 23.7rem);
    top: 15%;
    background: linear-gradient(175.44deg, rgba(247, 243, 113, 0.18) 12.89%, rgba(0, 188, 107, 0.18) 27.36%, rgba(255, 255, 255, 0) 41.85%);
    filter: blur(6.25rem);
    transform: rotate(24.88deg);
    z-index: 2;
}

/* Decoration 5 - Right blurred gradient */
.decoration-5 {
    position: absolute;
    width: min(140vw, 122.3875rem);
    height: min(80vh, 69.85rem);
    left: calc(50% - min(140vw, 122.3875rem)/2 + 5.7rem);
    top: 15%;
    background: linear-gradient(147.56deg, rgba(247, 243, 113, 0.09) 24.89%, rgba(0, 188, 107, 0.09) 34.98%, rgba(255, 255, 255, 0) 45.07%);
    filter: blur(6.25rem);
    transform: matrix(-0.91, 0.42, 0.42, 0.91, 0, 0);
    z-index: 3;
}

/* Decoration 4 - Bottom gradient fade */
.decoration-4 {
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
    background: linear-gradient(359.81deg, #EEF5F1 3.74%, rgba(238, 245, 241, 0) 97.01%);
    z-index: 4;
}

.hero-title {
    position: relative;
    width: auto;
    z-index: 10;
    grid-row: 2;
    
}

.hero-text {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: var(--text-hero);
    letter-spacing: -0.01em;
}

.practice-therapy {
    font-weight: 500;
    text-transform: capitalize;
    color: #000000;
    backdrop-filter: blur(2.5px);
    white-space: nowrap;
}

.second-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.realistic-ai {
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;

    /* Gradient text effect */
    background: linear-gradient(90deg, var(--color-ai-gradient-start) 0%, var(--color-ai-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients {
    font-weight: 500;
    text-transform: capitalize;
    color: #000000;
    backdrop-filter: blur(2.5px);
    white-space: nowrap;
}

.star-icon {
    width: clamp(1.68rem, 5vw, 2.93rem); /* 67% of 2.5-4.375rem */
    height: clamp(1.68rem, 5vw, 2.93rem);
    object-fit: contain;
    margin: 0 0.34rem; /* 67% of 0.5rem */
    flex-shrink: 0;
    vertical-align: middle;
}

/* Hero Sign Up Button */
.hero-signup-button {
    position: relative;
    width: min(90vw, 19.22rem); /* 67% of 28.6875rem */
    height: 3.69rem; /* 67% of 5.5rem (btn-height-lg) */
    z-index: 10;
    grid-row: 1;
}

.signup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem; /* 67% of 0.75rem */
    background: rgba(255, 255, 255, 0.1);
    border: 1.34px solid rgba(34, 144, 133, 0.3); /* 67% of 2px */
    border-radius: 66.3px; /* 67% of 99px */
    box-sizing: border-box;
}

.signup-logo {
    display: flex;
    align-items: center;
    margin-left: 1rem; /* 67% of 1.5rem */
    flex-shrink: 0;
}

.tmind-logo {
    width: 6.78rem; /* 67% of 10.125rem */
    height: 1.29rem; /* 67% of 1.92rem */
    object-fit: contain;
}

.signup-btn {
    position: relative;
    width: 8.92rem; /* 67% of 13.3125rem */
    height: 2.68rem; /* 67% of 4rem (btn-height-md) */
    background: linear-gradient(94.07deg, var(--color-gradient-start) 9.45%, var(--color-gradient-end) 135.58%);
    box-shadow: inset 0px -2.68px 6.7px rgba(255, 214, 93, 0.7); /* 67% of -4px 10px */
    backdrop-filter: blur(16.75px); /* 67% of 25px */
    border-radius: 91.8px; /* 67% of 137px */
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.signup-btn span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-style: normal;
    font-weight: 600;
    font-size: 1.17rem; /* 67% of 1.75rem (text-md) */
    line-height: 1.21;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 1.34px 1.34px rgba(0, 0, 0, 0.1); /* 67% of 2px 2px */
}

.signup-btn:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Interactive Chat Section */
.interactive-chat-section {
    position: relative;
    width: min(95vw, 63.48rem); /* 67% of 94.75rem */
    height: auto;
    z-index: 10;
    grid-row: 3;
}

/* Background Outer */
.background-outer {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) -8.46%, rgba(255, 255, 255, 0.8) 98.39%);
    border: 1.34px solid #FFFFFF; /* 67% of 2px */
    box-shadow: 0px 40.2px 67px rgba(149, 175, 171, 0.1); /* 67% of 60px 100px */
    border-radius: 24.12px; /* 67% of 36px */
}

/* Background Inner */
.background-inner {
    position: relative;
    width: calc(100% - 1.68rem); /* 67% of 2.5rem */
    height: auto;
    min-height: 33.5rem; /* 67% of 50rem */
    margin: 0.84rem; /* 67% of 1.25rem */
    padding-bottom: 1.34rem; /* 67% of 2rem */
    background: radial-gradient(42.68% 78.49% at 50% 78.49%, #FFFDF3 0%, #EDF3F0 76.15%, #E9F1ED 100%);
    border: 0.67px solid rgba(3, 73, 75, 0.25); /* 67% of 1px */
    border-radius: 1rem; /* 67% of 1.5rem */
}

/* Text and Call Abe */
.text-and-call-abe {
    position: relative;
    width: min(95%, 26.3rem); /* 67% of 39.25rem */
    margin: 1.34rem auto 0; /* 67% of 2rem */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* 67% of 1.5rem */
}

/* Abe Profile */
.abe-profile {
    display: flex;
    align-items: center;
    gap: 1rem; /* 67% of 1.5rem */
}

.abe-avatar {
    width: 2.51rem; /* 67% of 3.75rem */
    height: 2.51rem;
    border-radius: 50%;
    object-fit: cover;
    transform: scaleX(-1);
}

.abe-description {
    max-width: 22.15rem; /* 67% of 33.0625rem */
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(0.59rem, 2vw, 0.67rem); /* 67% of 0.875-1rem */
    line-height: 1.48;
    color: #000000;
    margin: 0;
}

/* Call Abe Buttons */
.call-abe-buttons {
    position: relative;
    width: 10.8rem; /* 67% of 16.125rem */
    height: 2.26rem; /* 67% of 3.375rem */
}

.call-abe-buttons::before {
    content: '';
    position: absolute;
    width: 10.25rem; /* 67% of 15.29813rem */
    height: 1.69rem; /* 67% of 2.52625rem */
    left: 0.28rem; /* 67% of 0.4125rem */
    top: 0.54rem; /* 67% of 0.8rem */
    background: rgba(195, 195, 195, 0.4);
    filter: blur(16.75px); /* 67% of 25px */
    border-radius: 66.3px; /* 67% of 99px */
}

.call-abe-buttons::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2.26rem; /* 67% of 3.375rem */
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 0.67px solid #FFFFFF; /* 67% of 1px */
    box-shadow: 0px 2.68px 13.4px rgba(74, 132, 107, 0.1); /* 67% of 4px 20px */
    backdrop-filter: blur(16.75px); /* 67% of 25px */
    border-radius: 91.8px; /* 67% of 137px */
}

.text-abe-btn,
.call-abe-btn {
    position: absolute;
    width: 4.98rem; /* 67% of 7.4375rem */
    height: 1.68rem; /* 67% of 2.5rem */
    top: 0.29rem; /* 67% of 0.4375rem */
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.84rem; /* 67% of 1.25rem */
    line-height: 1.1;
    text-align: center;
    border: none;
    border-radius: 66.3px; /* 67% of 99px */
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.text-abe-btn {
    left: 0.29rem; /* 67% of 0.4375rem */
    background: #1F9A73;
    color: #FFFFFF;
}

.call-abe-btn {
    left: 5.57rem; /* 67% of 8.3125rem */
    background: transparent;
    color: #03494B;
}

.text-abe-btn:hover,
.call-abe-btn:hover {
    transform: scale(1.02);
}

.call-abe-btn.active {
    background: #1F9A73;
    color: #FFFFFF;
}

.text-abe-btn.active {
    background: #1F9A73;
    color: #FFFFFF;
}

/* Cards Container */
.cards-container {
    position: relative;
    width: min(95%, 38.02rem); /* 67% of 56.75rem */
    margin: 5.36rem auto 0; /* 67% of 8rem */
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem; /* 67% of 1.1875rem */
    justify-content: center;
    align-items: flex-start;
}

/* Card */
.card {
    flex: 1 1 calc(33.333% - 0.8rem);
    min-width: min(100%, 10.72rem); /* 67% of 16rem */
    max-width: 12.14rem; /* 67% of 18.125rem */
    background: radial-gradient(48.53% 48.53% at 47.76% 33.82%, #FFFFFF 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0px 6.7px 13.4px rgba(43, 127, 92, 0.1), inset 0px 2.68px 26.8px #FFFFFF; /* 67% */
    border-radius: 0.67rem; /* 67% of 1rem */
    padding: 1.34rem 1.05rem; /* 67% of 2rem 1.5625rem */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2.68px); /* 67% of -4px */
    box-shadow: 0px 10.05px 16.75px rgba(43, 127, 92, 0.15), inset 0px 2.68px 26.8px #FFFFFF; /* 67% */
}

.card-active {
    background: #FFFFFF;
    box-shadow: 0px 13.4px 20.1px rgba(43, 127, 92, 0.2); /* 67% of 20px 30px */
}

.card-icon {
    height: 2.35rem; /* 67% of 3.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.67rem; /* 67% of 1rem */
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem; /* 67% of 1.125rem */
    line-height: 1.5;
    text-align: center;
    color: #03494B;
    margin: 0 0 0.5rem 0; /* 67% of 0.75rem */
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.59rem; /* 67% of 0.875rem */
    line-height: 1.5;
    text-align: center;
    color: #666666;
    margin: 0;
}

/* Textbox Container */
.textbox-container {
    position: relative;
    width: min(95%, 37.98rem); /* 67% of 56.6875rem */
    margin: 6.7rem auto 1.34rem; /* 67% of 10rem and 2rem */
}

.textbox-shadow {
    position: absolute;
    width: calc(100% - 2.68rem); /* 67% of 4rem */
    height: 100%;
    left: 1.34rem; /* 67% of 2rem */
    top: 0;
    background: rgba(152, 198, 184, 0.3);
    filter: blur(16.75px); /* 67% of 25px */
    border-radius: 1rem; /* 67% of 1.5rem */
    pointer-events: none;
}

.textbox {
    position: relative;
    width: 100%;
    min-height: 4.98rem; /* 67% of 7.4375rem */
    background: #FFFFFF;
    border: 0.67px solid rgba(0, 0, 0, 0.1); /* 67% of 1px */
    border-radius: 1.09rem; /* 67% of 1.625rem */
}

.textbox-input {
    position: absolute;
    left: 1rem; /* 67% of 1.5rem */
    top: 0.84rem; /* 67% of 1.25rem */
    width: calc(100% - 2rem); /* 67% of 3rem */
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem; /* 67% of 1.125rem */
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
}

.textbox-input::placeholder {
    color: rgba(0, 0, 0, 0.8);
}

.voice-btn {
    position: absolute;
    right: 3.22rem; /* 67% of 4.8rem */
    bottom: 0.7rem; /* 67% of 1.05rem */
    width: 1.42rem; /* 67% of 2.125rem */
    height: 1.42rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.voice-btn:hover {
    transform: scale(1.1);
}

.voice-btn svg {
    width: 100%;
    height: 100%;
}

.send-btn {
    position: absolute;
    right: 0.47rem; /* 67% of 0.7rem */
    bottom: 0.46rem; /* 67% of 0.6875rem */
    width: 2.01rem; /* 67% of 3rem */
    height: 2.01rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.send-btn:hover {
    transform: scale(1.05);
}

.send-btn svg {
    width: 100%;
    height: 100%;
}

/* Why TMind AI Section */
/* Why Tmind AI Section - Responsive Grid Layout */
.why-tmind-section {
    width: 100%;
    background: #FFFFFF;
    padding: 6rem 0; /* Increased from 3rem to 6rem for more spacing above and below */
    margin-top: 4rem; /* Add spacing between Hero section and Why Tmind AI */
}

.why-tmind-container {
    display: grid;
    grid-template-columns: auto 1fr; /* Bullets column, text column */
    grid-template-rows: auto auto; /* Title row, content row */
    gap: 0 8rem; /* Increased from 6rem to 10rem - even more horizontal gap between bullets and text */
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 25%; /* 25% left padding as specified */
}

/* Row 1: Title spans entire row, left-aligned */
.why-tmind-title {
    grid-column: 1 / -1; /* Span both columns (entire row) */
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 3.6rem; /* 67% of 86px = 57.62px ≈ 3.6rem */
    line-height: 4.19rem; /* 67% of 100px = 67px ≈ 4.19rem */
    color: #03494B;
    margin: 0 0 4rem 0; /* Increased from 4rem to 8rem - even more spacing between title and bullets/descriptions */
    text-align: left;
}

/* Row 2, Left Column: Bullets */
.bullets-container {
    grid-column: 1 / 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.bullets-icon {
    width: 2.9rem; /* 67% of 69.21px = 46.37px ≈ 2.9rem */
    height: auto;
    object-fit: contain;
}

/* Row 1, Column 2: Empty (title only spans entire row) */
/* Row 2, Right Column: Feature list - top aligned with bullets */
.features-list {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 1.26rem; /* 67% of 1.875rem = 1.26rem */
    align-content: flex-start;
    justify-content: flex-start;
}

.feature-item {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2rem; /* 67% of 48px = 32.16px ≈ 2rem */
    line-height: 2.5rem; /* 67% of 60px = 40.2px ≈ 2.5rem */
    color: #00554F;
    margin: 0;
}

/* Carousel Section - Responsive Grid Layout */
.carousel-section {
    width: 100%;
    background: #FFFFFF;
    padding: 3rem 2rem;
    margin-top: 4rem; /* Add spacing between Why Tmind AI and Carousel */
}

.carousel-container {
    display: grid;
    grid-template-rows: auto auto; /* Title row, logos row */
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Row 1: Title */
.carousel-title {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 2.625rem;
    line-height: 1.5;
    text-align: center;
    color: #03494B;
    margin: 0;
}

/* Row 2: University logos in a row */
.logos-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(3, 73, 75, 0.3) transparent;
}

.logos-container::-webkit-scrollbar {
    height: 8px;
}

.logos-container::-webkit-scrollbar-track {
    background: transparent;
}

.logos-container::-webkit-scrollbar-thumb {
    background-color: rgba(3, 73, 75, 0.3);
    border-radius: 10px;
}

.university-logo {
    object-fit: contain;
    flex-shrink: 0;
}

/* University logo sizes (already at 67%) */
.carousel-section .salisbury-logo {
    width: 8.5rem;
    height: auto;
}

.carousel-section .nus-logo {
    width: 4.93rem;
    height: auto;
}

.carousel-section .delaware-logo {
    width: 8.87rem;
    height: auto;
}

.carousel-section .simmons-logo {
    width: 10.86rem;
    height: auto;
}

.carousel-section .uw-logo {
    width: 13.1rem;
    height: auto;
}

.carousel-section .usc-logo {
    width: 15.24rem;
    height: auto;
}

/* Features Section */
/* Features Section - Responsive Grid Layout */
.features-section {
    width: 100%;
    background: #FFFFFF;
    padding: 3rem 6rem 3rem 4rem;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-template-rows: auto auto; /* Title row, content row */
    gap: 3rem 4rem;
    max-width: 1400px; /* Increased max width for more space */
    margin: 0 auto;
}

/* Row 1: Title spans both columns */
.features-title {
    grid-column: 1 / -1; /* Span from first to last column */
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 4.25rem;
    line-height: 1.47;
    text-align: center;
    color: #03494B;
    margin: 0;
}

/* Row 2: Content wrapper spans both columns, contains left and right */
.features-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 3fr; /* Description takes 40%, cards take 60% */
    gap: 4rem;
    align-items: center;
}

/* Left Column: Description */
.features-description {
    display: grid;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    align-content: start;
    padding-left: 3rem; /* Add left spacing for more blank space */
    padding-bottom: 3rem
}

.feature-heading {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2.8rem; /* Reduced from 3.875rem */
    line-height: 1.13;
    color: #03494B;
    margin: 0;
}

.feature-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.1rem; /* Reduced from 1.5rem */
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Right Column: Cards with overlapping */
.features-cards {
    position: relative;
    min-height: 600px; /* Increased height for larger cards */
    width: 95%;
    padding-right: 2rem; /* Add spacing to the right */
}

.feature-card {
    position: absolute;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Card positioning with overlap - web view has more separation */
/* Card 1 - Blue (top-left) */
.card-1 {
    left: -6%; /* Move slightly left for more separation */
    top: 8%; /* Slightly lower for more separation from card 2 */
    width: 70%;
    height: auto;
    z-index: 1;
}

/* Card 2 - Green (top-right) */
.card-2 {
    right: -17%; /* Move slightly right for more separation */
    top: 4%;
    width: 70%;
    height: auto;
    z-index: 3;
}

/* Card 3 - Purple (bottom-left) */
.card-3 {
    left: -4%; /* Move slightly left for more separation */
    bottom: -18%;
    width: 70%;
    height: auto;
    z-index: 2;
}

/* Card 4 - Cyan (bottom-right) */
.card-4 {
    right: -17%; /* Move slightly right for more separation */
    bottom: -18%; /* Slightly higher for more separation from card 3 */
    width: 70%;
    height: auto;
    z-index: 4;
}

/* Blurred background effect for cards */
.features-cards::before {
    content: '';
    position: absolute;
    width: 64%;
    height: 62%;
    left: 18%;
    top: 15%;
    background: rgba(76, 147, 123, 0.2);
    filter: blur(300px);
    z-index: 0;
}

/* ========================================
   Instant Feedback Section with Radar Chart
   ======================================== */

/* Instant Feedback Section - Responsive Grid Layout */
.instant-feedback-section {
    width: 100%;
    background: #FFFFFF;
    padding: 3rem 2rem;
}

.feedback-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* Left Column - Radar Chart (single SVG) */
.radar-chart-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-chart-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Limit max size for very large screens */
    object-fit: contain;
}

/* Right Column - Description */
.feedback-description {
    display: grid;
    grid-template-rows: auto auto; /* Title, then text */
    gap: 1.5rem;
    align-content: start;
}

.feedback-heading {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2.6rem; /* Scaled to 67%: 62px * 0.67 ≈ 41.5px */
    line-height: 2.93rem; /* Scaled to 67%: 70px * 0.67 ≈ 46.9px */
    color: #03494B;
    margin: 0;
}

.feedback-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem; /* Scaled to 67%: 24px * 0.67 ≈ 16px */
    line-height: 1.5rem; /* Scaled to 67%: 36px * 0.67 ≈ 24px */
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* ========================================
<<<<<<< Updated upstream
   Collaborative Features Section (Page 4)
   ======================================== */

.collaborative-features-section {
    position: relative;
    width: 100%;
    height: 67.5rem; /* 1080px */
    background: #FFFFFF;
    display: flex;
    justify-content: center;
}

.collaborative-container {
    position: relative;
    width: 120rem; /* 1920px */
    height: 100%;
    display: flex;
}

/* Common Section Styles */
.section-heading {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 3.875rem; /* 62px */
    line-height: 4.375rem; /* 70px */
    display: flex;
    align-items: center;
    color: #03494B;
    margin: 0;
}

.section-description {
    position: absolute;
    width: 42.4375rem; /* 679px */
    height: 6.75rem; /* 108px */
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem; /* 24px */
    line-height: 2.25rem; /* 36px */
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* ===== Join Courses Section ===== */
.join-courses-section {
    position: relative;
    width: 50%;
    height: 100%;
}

.join-courses-section .section-heading {
    height: 4.375rem; /* 70px */
    left: 18.4375rem; /* 295px */
    top: 8.4375rem; /* 135px */
}

.join-course-card-wrapper {
    position: absolute;
    width: 50.1875rem; /* 803px */
    height: 33.3125rem; /* 533px */
    left: 7.9375rem; /* 127px */
    top: 17.1875rem; /* 275px */
    background: #FFFFFF;
    border-radius: 4.8125rem; /* 77px */
}

/* Group Profiles */
.group-profiles {
    position: absolute;
    width: 19rem; /* 304px */
    height: 4rem; /* 64px */
    left: 20.375rem; /* 454px - 127px (wrapper left) = 327px */
    top: 4.125rem; /* 341px - 275px = 66px */
}

.group-profiles-image {
    width: 100%;
    height: 100%;
}

/* Course Card */
.course-card {
    position: absolute;
    left: 17.5375rem; /* 446px - 127px = 319px */
    top: 7.625rem; /* 445px - 275px = 170px */
}

.course-card-image {
    width: 100%;
    height: 100%;
}

/* Join Course Button */
.join-course-button {
    position: absolute;
    width: 14.8125rem; /* 237px */
    height: 3.6875rem; /* 59px */
    left: 2.125rem; /* 161px - 127px = 34px */
    top: 10.625rem; /* 445px - 275px = 170px */
}

.join-course-btn {
    width: 100%;
    height: 100%;
    background: #1F9A73;
    border-radius: 6.1875rem; /* 99px */
    border: none;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem; /* 24px */
    line-height: 1.75rem; /* 28px */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease;
}

.join-course-btn:hover {
    background: #188762;
}

/* Hand Pointer */
.hand-pointer {
    position: absolute;
    width: 3.75rem; /* 60px */
    height: 5.6875rem; /* 91px */
    left: 13.1875rem; /* 338px - 127px = 211px */
    top: 11.9375rem; /* 466px - 275px = 191px */
}

.hand-pointer-image {
    width: 100%;
    height: 100%;
}

.join-courses-section .section-description {
    left: 10.0625rem; /* 161px */
    top: 52.375rem; /* 838px */
}

/* ===== Group Session Section ===== */
.group-session-section {
    position: relative;
    width: 50%;
    height: 100%;
}

.group-session-section .section-heading {
    height: 4.375rem; /* 70px */
    left: 11.25rem; /* 1180px - 960px (half of 1920) = 220px, adjusted to 11.25rem */
    top: 8.4375rem; /* 135px */
}

.group-session-wrapper {
    position: absolute;
    width: 50.1875rem; /* 803px */
    height: 33.3125rem; /* 533px */
    left: 1.875rem; /* 990px - 960px = 30px */
    top: 17.1875rem; /* 275px */
}

/* Connection Graph */
.connection-graph {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 4.8125rem; /* 77px */
}

.connection-graph-image {
    width: 100%;
    height: 100%;
}

/* Facilitator Label */
.facilitator-label {
    position: absolute;
    width: 23.125rem; /* 370px */
    height: 1.75rem; /* 28px */
    left: 14rem;
    top: 30.9375rem; /* 770px - 275px = 495px */
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem; /* 24px */
    line-height: 1.75rem; /* 28px */
    color: #000000;
}

.group-session-section .section-description {
    left: 5.75rem; /* 1052px - 960px = 92px */
    top: 52.375rem; /* 838px */
}

/* ========================================
   Success Stories Section (Page 5)
   ======================================== */

.success-stories-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: clamp(3rem, 8vh, 5.37rem) clamp(1rem, 5vw, 3rem);
}

.success-stories-container {
    max-width: 80.4rem; /* 67% of 1920px = 1286.4px */
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(5rem, 12vh, 10rem); /* Increased gap between stories */
}

/* Success Stories Title */
.success-stories-title {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 2.85rem); /* 67% of 68px = 45.56px */
    line-height: 1.47;
    color: #03494B;
    margin: 0 auto clamp(2rem, 4vh, 3rem);
    text-align: center;
    grid-column: 1 / -1;
}

/* ===== Salisbury University Story ===== */
.salisbury-story {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Content takes more space, video is smaller */
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Salisbury Content (Left) */
.salisbury-content {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1.34rem);
}

.salisbury-content .salisbury-logo {
    width: clamp(10rem, 20vw, 11.01rem); /* 67% of 263px = 176.21px */
    height: auto;
    object-fit: contain;
}

.salisbury-content .story-heading {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 1.76rem); /* 67% of 42px = 28.14px */
    line-height: 1.24;
    color: #03494B;
    margin: 0;
}
/* =======
   Mission Section
   ======================================== */

  
.mission-section {
    position: relative;
    width: 100%;
    min-height: 45.39rem; /* 67% of 1084px = 726.28px */
    background: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.mission-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
  }

/* Mission decoration 1 - Green gradient ellipse */
.mission-decoration-1 {
    position: absolute;
    width: min(30vw, 382px); /* 67% of 571px = 382.57px */
    height: min(20vw, 248px); /* 67% of 370px = 247.9px */
    left: 50%;
    top: 50%;
    background: radial-gradient(72.25% 60.44% at 50% 39.74%, #9DEDC1 0%, rgba(143, 231, 182, 0.3) 100%);
    filter: blur(100px); /* 67% of 150px = 100.5px */
    transform: translate(-50%, -50%) rotate(-23.3699deg);
    z-index: 2;
    pointer-events: none;
}

/* Mission decoration 2 - Yellow gradient ellipse */
.mission-decoration-2 {
    position: absolute;
    width: min(15vw, 190px); /* 67% of 284px = 190.28px */
    height: min(22vw, 276px); /* 67% of 412px = 276.04px */
    left: 30%;
    top: 60%;
    background: linear-gradient(175.44deg, rgba(244, 225, 79, 0.3) 12.89%, rgba(229, 253, 106, 0.3) 27.36%);
    filter: blur(100px); /* 67% of 150px = 100.5px */
    transform: translate(-50%, -50%) rotate(-38.531deg);
    z-index: 3;
    pointer-events: none;
}

/* Mission decoration 3 - Orange gradient rectangle */
.mission-decoration-3 {
    position: absolute;
    width: min(25vw, 327px); /* 67% of 488px = 326.96px */
    height: min(5vw, 52px); /* 67% of 77px = 51.59px */
    left: 50%;
    top: 75%;
    background: linear-gradient(90deg, rgba(250, 174, 60, 0.3) 0%, rgba(251, 182, 70, 0.2) 100%);
    filter: blur(17px); /* 67% of 25px = 16.75px */
    border-radius: 26px; /* 67% of 38.5px = 25.795px */
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
}

.mission-container {
    position: relative;
    width: 100%;
    max-width: 1287px; /* 67% of 1920px = 1286.4px */
    margin: 0 auto;
    z-index: 10;
}

.mission-content {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    z-index: 10;
    padding: 2rem 1rem;
}

.mission-heading {
    position: relative;
    width: 100%;
    max-width: 271px; /* 67% of 404px = 270.68px */
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(2rem, 3vw, 2.87rem); /* 67% of 68px = 45.56px */
    line-height: 1.47; /* 67% of 100px = 67px relative to 45.56px */
    color: #03494B;
    margin: 0;
    text-align: center;
}

.mission-title {
    position: relative;
    width: 100%;
    max-width: 716px; /* 67% of 1068px = 715.56px */
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(2.5rem, 4.3vw, 4.03rem); /* 67% of 96px = 64.32px */
    line-height: 1.46; /* 67% of 140px = 93.8px relative to 64.32px */
    text-align: center;
    letter-spacing: -0.04em;
    color: #03494B;
    margin: 0;
}


.salisbury-content .story-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.9rem, 2vw, 1.01rem); /* 67% of 24px = 16.08px */
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.salisbury-content .learn-more-btn {
    width: fit-content;
    padding: clamp(0.5rem, 1.5vh, 0.67rem) clamp(1rem, 2vw, 1.34rem);
    background: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4.15rem; /* 67% of 99px = 66.33px */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.34rem;
}

.btn-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.8rem, 1.5vw, 0.75rem); /* 67% of 18px = 12.06px */
    line-height: 1.11;
    color: #229085;
}

.btn-arrow {
    width: 0.75rem; /* 67% of 18px = 12.06px */
    height: 0.07rem; /* 67% of 1.6px */
    background: #229085;
    border-radius: 0.04rem;
}

/* Salisbury Video (Right) */
.salisbury-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: clamp(0.8rem, 2vw, 1.34rem); /* 67% of 32px = 21.44px */
    overflow: hidden;
}

.salisbury-video .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.salisbury-video .play-button {
    position: absolute;
    width: clamp(2rem, 4vw, 2.18rem); /* 67% of 51.96px = 34.81px */
    height: clamp(1.8rem, 3.5vw, 1.88rem); /* 67% of 45px = 30.15px */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 2.68px 6.7px rgba(0, 0, 0, 0.25)); /* 67% of 4px 10px */
    cursor: pointer;
    z-index: 10;
}

.salisbury-video .video-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: inherit;
    z-index: 5;
}

/* ===== York University Story ===== */
.york-story {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Content takes more space, video is smaller */
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* York Video (Left) */
.york-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: clamp(0.8rem, 2vw, 1.34rem); /* 67% of 32px = 21.44px */
    overflow: hidden;
    order: 2; /* Move to right on desktop */
}

.york-video .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.york-video .play-button {
    position: absolute;
    width: clamp(2rem, 4vw, 2.18rem); /* 67% of 51.96px = 34.81px */
    height: clamp(1.8rem, 3.5vw, 1.88rem); /* 67% of 45px = 30.15px */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 2.68px 6.7px rgba(0, 0, 0, 0.25)); /* 67% of 4px 10px */
    cursor: pointer;
    z-index: 10;
}

.york-video .video-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: inherit;
    z-index: 5;
}

/* York Content (Right) */
.york-content {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1.34rem);
    order: 1; /* Move to left on desktop */
}

.york-logo {
    width: clamp(8rem, 18vw, 9.21rem); /* 67% of 220px = 147.4px */
    height: auto;
    object-fit: contain;
}

.york-content .story-heading {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 1.76rem); /* 67% of 42px = 28.14px */
    line-height: 1.24;
    color: #03494B;
    margin: 0;
}

.york-content .story-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.9rem, 2vw, 1.01rem); /* 67% of 24px = 16.08px */
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.york-content .learn-more-btn {
    width: fit-content;
    padding: clamp(0.5rem, 1.5vh, 0.67rem) clamp(1rem, 2vw, 1.34rem);
    background: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4.15rem; /* 67% of 99px = 66.33px */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.34rem;
}

.mission-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the section while preserving aspect ratio */
    opacity: 0.9;
    z-index: 1;
}

/* Mission Signup Container: Make relative for layering */
.mission-signup-container {
    position: relative;
    width: min(90%, 351px); /* 67% of 524px = 351.08px */
    height: min(15vw, 90px); /* 67% of 135px = 90.45px */
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-signup-container:hover {
    transform: scale(1.02);
}

.signup-button-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-button-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.signup-button-background {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(164.71deg, #F99522 7.29%, #FEE478 131.59%);
    border-radius: 137px;
    box-shadow: inset 0px -4px 10px rgba(255, 214, 93, 0.7);
    backdrop-filter: blur(25px);
    z-index: 1;
}

.signup-button-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    z-index: 2;
}


.signup-text {
    position: absolute;
    top: 31.2px;
    left: 125px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 200; /* lighter */
    font-stretch: 85%; /* slightly condensed width */
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.02em; /* add breathing space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    z-index: 3;
    pointer-events: none;
}

.signup-arrow-container {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3rem; /* 48px */
    height: 3rem; /* 48px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* Arrow 1 - Styled white line */
.signup-arrow-line {
    box-sizing: border-box;
    position: absolute;
    width: 33px;
    height: 0;
    right: 20px; /* centers arrow inside the circle */
    top: 20%;
    transform: translateY(-50%);
    background: #FFFFFF;
    border: 3px solid #FFFFFF;
    border-radius: 2px;
    z-index: 4;
  }


/* ========================================
   Mission Section - Responsive Media Queries
   ======================================== */

/* Tablet and smaller screens */
@media only screen and (max-width: 768px) {
    .mission-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .mission-content {
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .mission-heading {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .mission-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
        line-height: 1.3;
        max-width: 95%;
    }

    .mission-signup-container {
        width: min(85%, 260px);
        height: 65px;
    }

    .signup-button-svg {
        width: 100%;
        height: auto;
    }

    .mission-decoration-1,
    .mission-decoration-2,
    .mission-decoration-3 {
        filter: blur(70px);
    }
}

/* Mobile screens */
@media only screen and (max-width: 480px) {
    .mission-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .mission-content {
        gap: 1.2rem;
        padding: 1rem 0.5rem;
    }

    .mission-heading {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.3;
    }

    .mission-title {
        font-size: clamp(1.6rem, 7.5vw, 2.8rem);
        line-height: 1.25;
        max-width: 98%;
    }

    .mission-signup-container {
        width: min(90%, 220px);
        height: 55px;
    }

    .signup-button-svg {
        width: 100%;
        height: auto;
    }

    .mission-decoration-1,
    .mission-decoration-2,
    .mission-decoration-3 {
        filter: blur(50px);
        opacity: 0.7;
    }
}

  /* ========================================
     FOOTER SECTION - RESPONSIVE GRID
     ======================================== */
  .footer {
    background-color: #F5F9F8;
    width: 100%;
    padding: clamp(2rem, 6.25vw, 5.36rem) clamp(1rem, 8.5vw, 10.9rem) clamp(1.5rem, 3.5vw, 3.35rem);
    color: #03494B;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
  }

  .footer-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 6rem);
    grid-template-areas:
      "left right"
      "bottom bottom";
  }

  /* Left Section */
  .footer-left {
    grid-area: left;
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: clamp(1rem, 2.1vw, 2.01rem);
    align-content: start;
  }

  .footer-logo {
    width: clamp(12.5rem, 14.5vw, 18.63rem);
    height: auto;
    max-width: 100%;
  }

  .footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.25vw, 1.61rem);
    line-height: 1.5;
    color: #03494B;
    max-width: clamp(18rem, 30vw, 30.83rem);
  }

  /* Newsletter Form */
  .newsletter-form {
    display: flex;
    align-items: center;
    border: 2px solid #168870;
    border-radius: 50px;
    padding: clamp(0.25rem, 0.31vw, 0.4rem);
    width: 100%;
    max-width: clamp(20rem, 24vw, 30.83rem);
    background-color: #f5faf8;
  }

  .newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: clamp(0.875rem, 0.83vw, 1.07rem);
    padding: clamp(0.5rem, 0.63vw, 0.8rem) clamp(0.75rem, 0.83vw, 1.07rem);
    border-radius: 50px;
    background-color: transparent;
    color: #0b3c34;
  }

  .newsletter-input::placeholder {
    color: #888;
  }

  .newsletter-btn {
    background-color: #168870;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: clamp(2rem, 2.34vw, 3.02rem);
    height: clamp(2rem, 2.34vw, 3.02rem);
    cursor: pointer;
    font-size: clamp(1rem, 1.04vw, 1.34rem);
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .newsletter-btn:hover {
    background-color: #0f5f4c;
  }

  /* Social Icons */
  .social-icons {
    display: flex;
    gap: clamp(1rem, 1.25vw, 1.61rem);
    align-items: center;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
  }

  .social-icons a:hover {
    transform: scale(1.1);
  }

  .social-icons img {
    width: clamp(1.75rem, 2.08vw, 2.68rem);
    height: clamp(1.75rem, 2.08vw, 2.68rem);
  }

  /* Right Section - Navigation Links */
  .footer-links {
    grid-area: right;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 4rem);
    align-content: start;
  }

  .footer-column {
    list-style: none;
  }

  .footer-column h4 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.9rem, 0.94vw, 1.21rem);
    line-height: 1.5;
    margin-bottom: clamp(0.75rem, 1.04vw, 1.34rem);
    color: rgba(3, 73, 75, 0.5);
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: clamp(0.5rem, 0.83vw, 1.07rem);
  }

  .footer-column a {
    color: #03494B;
    text-decoration: none;
    cursor: pointer;
    font-size: clamp(0.875rem, 0.83vw, 1.07rem);
    line-height: 1.5;
    transition: text-decoration 0.2s ease;
  }

  .footer-column a:hover {
    text-decoration: underline;
  }

  .footer-column li {
    color: #03494B;
    cursor: pointer;
  }

  .footer-column li:hover {
    text-decoration: underline;
  }

  /* Bottom Section */
  .footer-bottom {
    grid-area: bottom;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: clamp(1rem, 1.56vw, 2.01rem);
    border-top: 1px solid rgba(3, 73, 75, 0.15);
    margin-top: clamp(1.5rem, 2.6vw, 3.35rem);
    font-weight: 500;
    font-size: clamp(0.875rem, 0.83vw, 1.07rem);
    color: rgba(0, 0, 0, 0.6);
    gap: 1rem;
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-policy {
    display: flex;
    gap: clamp(0.5rem, 0.52vw, 0.67rem);
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-policy a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: text-decoration 0.2s ease;
  }

  .footer-policy a:hover {
    text-decoration: underline;
  }

  /* ========================================
     FOOTER RESPONSIVE BREAKPOINTS
     ======================================== */

  /* Tablet - max 1024px */
  @media screen and (max-width: 1024px) {
    .footer {
      padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    }

    .footer-container {
      grid-template-columns: 1fr;
      gap: clamp(2.5rem, 5vw, 4rem);
      grid-template-areas:
        "left"
        "right"
        "bottom";
    }

    .footer-links {
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(1.5rem, 4vw, 3rem);
    }
  }

  /* Mobile - max 768px */
  @media screen and (max-width: 768px) {
    .footer {
      padding: 2.5rem 1.5rem 1.5rem;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
    }

    .footer-container {
      gap: 3rem;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .footer-left {
      gap: 1.5rem;
    }

    .footer-logo {
      width: 14rem;
    }

    .footer-title {
      font-size: 1.125rem;
      max-width: 100%;
    }

    .newsletter-form {
      max-width: 100%;
    }

    .footer-links {
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      padding-top: 1.5rem;
      margin-top: 2.5rem;
    }

    .footer-bottom p {
      width: 100%;
      margin: 0;
    }

    .footer-policy {
      width: 100%;
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 0.25rem;
    }

    .footer-policy a {
      white-space: nowrap;
    }
  }

  /* Small Mobile - max 480px */
  @media screen and (max-width: 480px) {
    .footer {
      padding: 2rem 1rem 1rem;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
    }

    .footer-container {
      gap: 2rem;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .footer-left {
      gap: 1.25rem;
    }

    .footer-logo {
      width: 12rem;
    }

    .footer-title {
      font-size: 1rem;
      line-height: 1.4;
    }

    .newsletter-input {
      font-size: 0.875rem;
      padding: 0.5rem 0.75rem;
    }

    .newsletter-btn {
      width: 2.25rem;
      height: 2.25rem;
      font-size: 1rem;
    }

    .social-icons {
      gap: 1rem;
    }

    .social-icons img {
      width: 2rem;
      height: 2rem;
    }

    .footer-links {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
    }

    .footer-column h4 {
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
    }

    .footer-column ul {
      gap: 0.35rem;
    }

    .footer-column a {
      font-size: 0.75rem;
    }

    .footer-bottom {
      font-size: 0.8rem;
      margin-top: 2rem;
      gap: 0.5rem;
    }

    .footer-bottom p {
      width: 100%;
      margin: 0;
    }

    .footer-policy {
      width: 100%;
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 0.25rem;
      font-size: 0.75rem;
    }

    .footer-policy a {
      white-space: nowrap;
    }
  }

  /* ========================================
     RESPONSIVE MEDIA QUERIES - Hero Section
     ======================================== */

/* Tablet - 768px to 1024px */
@media screen and (max-width: 300px) {
    /* Header adjustments */
    .header {
        height: clamp(3.2rem, 6vh, 4rem);
        padding: 0 clamp(1rem, 3vw, 2rem);
    }

    .header-container {
        height: clamp(2rem, 4vh, 2.5rem);
    }

    .logo-image {
        width: clamp(6rem, 12vw, 8rem);
        height: auto;
    }

    .login-btn,
    .signup-btn-header {
        min-width: clamp(5.5rem, 12vw, 7rem);
        height: clamp(2.25rem, 4.5vh, 2.75rem);
        font-size: clamp(0.8rem, 1.5vw, 1rem);
        padding: 0 clamp(0.75rem, 2vw, 1rem);
    }

    /* Hero section */
    .hero-section {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-title {
        width: 90vw;
        top: clamp(10rem, 12vh, 16rem);
    }

    .hero-text {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    .star-icon {
        width: clamp(2rem, 4vw, 3rem);
        height: clamp(2rem, 4vw, 3rem);
    }

    .hero-signup-button {
        width: min(90vw, 24rem);
        height: clamp(4rem, 8vh, 4.5rem);
        top: clamp(6rem, 8vh, 12rem);
    }

    .signup-logo {
        margin-left: 1rem;
    }

    .tmind-logo {
        width: 8rem;
        height: auto;
    }

    .signup-btn {
        width: 11rem;
        height: 3.25rem;
    }

    .signup-btn span {
        font-size: 1.375rem;
    }

    /* Interactive chat section */
    .interactive-chat-section {
        width: min(92vw, 70rem);
        top: clamp(24rem, 30vh, 36rem);
    }

    .background-inner {
        min-height: 45rem;
        padding-bottom: 1.5rem;
    }

    .text-and-call-abe {
        width: min(90%, 35rem);
        margin-top: 1.5rem;
        gap: 1.25rem;
    }

    .abe-avatar {
        width: 3rem;
        height: 3rem;
    }

    .cards-container {
        width: 90%;
        margin-top: 6rem;
        gap: 1rem;
    }

    .card {
        flex: 1 1 calc(50% - 1rem);
        min-width: min(100%, 14rem);
    }

    .textbox-container {
        width: 90%;
        margin-top: 8rem;
    }
}

/* Mobile - up to 767px */
@media screen and (max-width: 300px) {
    /* Header for mobile */
    .header {
        height: clamp(3.5rem, 7vh, 4.5rem);
        padding: 0 clamp(0.75rem, 3vw, 1.5rem);
    }

    .header-container {
        grid-template-columns: auto 1fr;
        gap: clamp(0.5rem, 2vw, 0.75rem);
        height: clamp(2rem, 4vh, 2.5rem);
    }

    .header-nav {
        display: none;
    }

    .logo-image {
        width: clamp(5rem, 15vw, 7rem);
        height: auto;
    }

    .header-actions {
        gap: clamp(0.4rem, 2vw, 0.6rem);
    }

    .login-btn {
        min-width: clamp(4rem, 15vw, 5.5rem);
        height: clamp(2rem, 5vh, 2.5rem);
        font-size: clamp(0.7rem, 2vw, 0.95rem);
        padding: 0 clamp(0.5rem, 2vw, 0.85rem);
    }

    .signup-btn-header {
        min-width: clamp(4.5rem, 16vw, 6rem);
        height: clamp(2rem, 5vh, 2.5rem);
        font-size: clamp(0.7rem, 2vw, 0.95rem);
        padding: 0 clamp(0.5rem, 2vw, 0.85rem);
    }

    /* Hero section mobile */
    .hero-section {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-title {
        width: 95vw;
        top: 8rem;
    }

    .hero-text {
        font-size: clamp(1.75rem, 8vw, 3rem);
        text-align: center;
    }

    .second-line {
        flex-wrap: wrap;
        justify-content: center;
    }

    .star-icon {
        width: clamp(1.5rem, 5vw, 2.5rem);
        height: clamp(1.5rem, 5vw, 2.5rem);
        margin: 0 0.25rem;
    }

    .hero-signup-button {
        width: 95vw;
        height: auto;
        min-height: 4rem;
        top: 5rem;
    }

    .signup-container {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .signup-logo {
        margin-left: 0;
        order: 2;
    }

    .tmind-logo {
        width: 7rem;
        height: auto;
    }

    .signup-btn {
        width: 100%;
        height: 3rem;
        order: 1;
    }

    .signup-btn span {
        font-size: 1.25rem;
    }

    /* Interactive chat section mobile */
    .interactive-chat-section {
        width: 95vw;
        top: 22rem;
        position: relative;
    }

    .background-outer {
        position: relative;
        border-radius: 1.5rem;
    }

    .background-inner {
        min-height: auto;
        padding-bottom: 2rem;
        margin: 0.75rem;
        width: calc(100% - 1.5rem);
        border-radius: 1rem;
    }

    .text-and-call-abe {
        width: 95%;
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .call-abe-buttons {
        width: 14rem;
        height: 3rem;
    }

    .call-abe-buttons::before {
        width: 13.5rem;
        height: 2.25rem;
    }

    .call-abe-buttons::after {
        height: 3rem;
    }

    .text-abe-btn,
    .call-abe-btn {
        width: 6.5rem;
        height: 2.25rem;
        font-size: 1rem;
    }

    .call-abe-btn {
        left: 7.25rem;
    }

    .abe-profile {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .abe-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .abe-description {
        font-size: 0.875rem;
    }

    .cards-container {
        width: 95%;
        margin-top: 4rem;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 20rem;
        flex: 1 1 100%;
        padding: 1.5rem 1.25rem;
        min-height: 12rem;
    }

    .card-icon {
        height: 3rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.8125rem;
    }

    .textbox-container {
        width: 95%;
        margin-top: 4rem;
    }

    .textbox {
        min-height: 6rem;
        border-radius: 1.25rem;
    }

    .textbox-input {
        left: 1rem;
        top: 1rem;
        width: calc(100% - 6rem);
        font-size: 0.9375rem;
    }

    .voice-btn {
        right: 3.5rem;
        bottom: 0.875rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .send-btn {
        right: 0.5rem;
        bottom: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Extra small mobile - up to 480px */
@media screen and (max-width: 480px) {
    /* Header extra small */
    .header {
        height: clamp(3.2rem, 8vh, 4rem);
        padding: 0 clamp(0.5rem, 4vw, 1rem);
    }

    .header-container {
        height: clamp(1.8rem, 5vh, 2.2rem);
        gap: clamp(0.3rem, 2vw, 0.5rem);
    }

    .logo-image {
        width: clamp(4.5rem, 20vw, 6rem);
    }

    .header-actions {
        gap: clamp(0.3rem, 2vw, 0.5rem);
    }

    .login-btn {
        min-width: clamp(3.5rem, 18vw, 4.5rem);
        height: clamp(1.8rem, 5vh, 2.2rem);
        font-size: clamp(0.6rem, 2.5vw, 0.8rem);
        padding: 0 clamp(0.4rem, 2vw, 0.7rem);
    }

    .signup-btn-header {
        min-width: clamp(4rem, 20vw, 5rem);
        height: clamp(1.8rem, 5vh, 2.2rem);
        font-size: clamp(0.6rem, 2.5vw, 0.8rem);
        padding: 0 clamp(0.4rem, 2vw, 0.7rem);
    }

    .hero-text {
        font-size: clamp(1.5rem, 9vw, 2.5rem);
    }

    .hero-signup-button {
        top: 2rem;
    }

    .interactive-chat-section {
        top: 22rem;
    }

    .text-and-call-abe {
        margin-top: 1rem;
    }

    .cards-container {
        margin-top: 3rem;
    }

    .card {
        max-width: 18rem;
        min-height: 11rem;
    }

    .textbox-container {
        margin-top: 3rem;
    }

    .textbox-input {
        width: calc(100% - 5rem);
    }
}

/* ========================================
     RESPONSIVE MEDIA QUERIES - Why TMind AI Section
     ======================================== */

/* Tablet - 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Why Tmind AI Section */
    .why-tmind-section {
        padding: 4rem 0; /* Reduced but still substantial spacing */
        margin-top: 3rem;
    }

    .why-tmind-container {
        padding-left: 15%; /* Reduced left padding for tablet */
        gap: 0 7rem; /* Increased from 4rem to 7rem - more spacing between bullets and text */
    }

    .why-tmind-title {
        font-size: 3rem; /* Proportionally scaled for tablet */
        line-height: 3.5rem;
        margin-bottom: 6rem; /* Increased from 3rem to 6rem - more spacing below title */
    }

    .bullets-icon {
        width: 2.4rem;
    }

    .features-list {
        gap: 1rem;
    }

    .feature-item {
        font-size: 1.7rem;
        line-height: 2.1rem;
    }
}

/* Mobile - up to 767px */
@media screen and (max-width: 767px) {
    /* Why Tmind AI Section */
    .why-tmind-section {
        padding: 3rem 1rem; /* More vertical padding */
        margin-top: 2rem; /* Spacing from Hero section */
    }

    .why-tmind-container {
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: auto auto; /* Title, then features list */
        gap: 2rem;
        padding-left: 1rem; /* Reset padding for mobile */
    }

    .why-tmind-title {
        grid-column: 1 / -1; /* Span entire row (full width) */
        font-size: 2.4rem; /* 67% scaled for mobile */
        line-height: 2.8rem;
        text-align: center;
        margin-bottom: 4rem; /* Increased from 2rem to 4rem - more spacing below title */
    }

    .bullets-container {
        display: none; /* Hide bullets on mobile */
    }

    .features-list {
        grid-column: 1 / -1; /* Span entire row */
        grid-row: 2 / 3;
        align-items: center;
        text-align: center;
        gap: 0.85rem; /* 67% of 1.26rem */
    }

    .feature-item {
        font-size: 1.34rem; /* 67% of 2rem */
        line-height: 1.68rem; /* 67% of 2.5rem */
    }
}

/* Extra small mobile - up to 480px */
@media screen and (max-width: 480px) {
    .why-tmind-section {
        padding: clamp(1.5rem, 5vh, 3rem) clamp(0.75rem, 3vw, 1.5rem);
    }

    .why-tmind-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    }

    .features-list {
        gap: clamp(0.75rem, 2.5vh, 1.25rem);
    }

    .feature-item {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }
}

/* ========================================
     RESPONSIVE MEDIA QUERIES - Carousel Section
     ======================================== */

/* Tablet - 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Carousel Section */
    .carousel-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem; /* Spacing from Why Tmind AI */
    }

    .carousel-container {
        gap: 2rem;
    }

    .carousel-title {
        font-size: 2.2rem;
    }

    .logos-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .carousel-section .salisbury-logo {
        width: 7.5rem;
    }

    .carousel-section .nus-logo {
        width: 4.5rem;
    }

    .carousel-section .delaware-logo {
        width: 8rem;
    }

    .carousel-section .simmons-logo {
        width: 9.5rem;
    }

    .carousel-section .uw-logo {
        width: 11.5rem;
    }

    .carousel-section .usc-logo {
        width: 13.5rem;
    }
}

/* Mobile - up to 767px */
@media screen and (max-width: 767px) {
    /* Carousel Section */
    .carousel-section {
        padding: 2rem 1rem;
        margin-top: 2rem; /* Spacing from Why Tmind AI */
    }

    .carousel-container {
        gap: 2rem;
    }

    .carousel-title {
        font-size: 1.75rem;
    }

    .logos-container {
        padding: 0 1rem;
        gap: 1.5rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-section .salisbury-logo {
        width: 9rem;
        min-width: 9rem;
    }

    .carousel-section .nus-logo {
        width: 6rem;
        min-width: 6rem;
    }

    .carousel-section .delaware-logo {
        width: 9.5rem;
        min-width: 9.5rem;
    }

    .carousel-section .simmons-logo {
        width: 11rem;
        min-width: 11rem;
    }

    .carousel-section .uw-logo {
        width: 13rem;
        min-width: 13rem;
    }

    .carousel-section .usc-logo {
        width: 15rem;
        min-width: 15rem;
    }
}

/* Extra small mobile - up to 480px */
@media screen and (max-width: 480px) {
    /* Carousel Section */
    .carousel-section {
        padding: 1.5rem 0.75rem;
    }

    .carousel-container {
        gap: 1.5rem;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .logos-container {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }

    .carousel-section .salisbury-logo {
        width: 8rem;
        min-width: 8rem;
    }

    .carousel-section .nus-logo {
        width: 5.5rem;
        min-width: 5.5rem;
    }

    .carousel-section .delaware-logo {
        width: 8.5rem;
        min-width: 8.5rem;
    }

    .carousel-section .simmons-logo {
        width: 10rem;
        min-width: 10rem;
    }

    .carousel-section .uw-logo {
        width: 12rem;
        min-width: 12rem;
    }

    .carousel-section .usc-logo {
        width: 14rem;
        min-width: 14rem;
    }
}

/* ========================================
     RESPONSIVE MEDIA QUERIES - Features, Instant Feedback, Success Stories
     ======================================== */

/* Tablet - 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Features Section */
    /* Features Section */
    .features-section {
        padding: 2rem 1.5rem;
    }

    .features-container {
        gap: 2rem 3rem;
    }

    .features-title {
        font-size: 3rem;
    }

    .feature-heading {
        font-size: 2.2rem; /* Scaled down proportionally */
    }

    .feature-text {
        font-size: 1rem; /* Scaled down proportionally */
    }

    .features-description {
        padding-left: 1rem; /* Less padding on tablet */
    }

    /* Instant Feedback Section */
    .instant-feedback-section {
        padding: 2rem 1.5rem;
    }

    .feedback-container {
        gap: 3rem;
    }

    .feedback-heading {
        font-size: 2rem;
        line-height: 2.3rem;
    }

    .feedback-text {
        font-size: 0.9rem;
        line-height: 1.35rem;
    }

    /* Success Stories */
    .success-stories-section {
        min-height: auto;
        padding: clamp(2.5rem, 6vh, 4rem) clamp(1.5rem, 4vw, 2.5rem);
    }

    .success-stories-container {
        gap: clamp(4rem, 8vh, 6rem);
    }

    .success-stories-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .salisbury-story,
    .york-story {
        grid-template-columns: 1.3fr 0.7fr; /* Even smaller videos on tablet */
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Mobile - up to 767px */
@media screen and (max-width: 767px) {
    /* Hero Section - Mobile specific fixes */
    .hero-section {
        padding: 4rem 1rem 2rem;
        gap: 1.5rem;
        min-height: auto;
    }

    .hero-signup-button {
        width: min(95vw, 20rem);
        height: 3.5rem;
        transform: scale(0.95);
    }

    .hero-title {
        width: auto;
        max-width: 95vw;
        transform: scale(1.15);
        top: 1.5rem;
    }

    .hero-text {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .practice-therapy,
    .realistic-ai,
    .clients {
        white-space: normal;
    }

    .second-line {
        flex-wrap: wrap;
    }

    .interactive-chat-section {
        width: 95vw;
        top: 2.5rem;
    }

    /* Features Section */
    /* Features Section */
    .features-section {
        padding: 2rem 1rem;
    }

    .features-container {
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: auto auto; /* Title, then content */
        gap: 2rem;
    }

    .features-title {
        font-size: 2rem;
    }

    .features-content {
        grid-template-columns: 1fr; /* Single column for mobile */
        grid-template-rows: auto auto; /* Description first, cards second */
        gap: 2rem;
    }

    .features-description {
        order: 1;
        text-align: center;
    }

    .feature-heading {
        font-size: 1.75rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    .features-cards {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
        min-height: 350px; /* Reduced height for tighter spacing */
    }

    .feature-card {
        width: 60% !important; /* Override absolute positioning widths */
    }

    /* Mobile: Tighter vertical spacing between top and bottom cards */
    .card-1 {
        left: 0 !important;
        top: 5% !important; /* Reduced spacing */
    }

    .card-2 {
        right: 0 !important;
        top: 0 !important;
    }

    .card-3 {
        left: 1% !important;
        bottom: 5% !important; /* Reduced spacing - closer to card 1 */
    }

    .card-4 {
        right: 0 !important;
        bottom: 5% !important; /* Reduced spacing - closer to card 2 */
    }

    /* Instant Feedback Section */
    .instant-feedback-section {
        padding: 2rem 1rem;
    }

    .feedback-container {
        grid-template-columns: 1fr; /* Single column for mobile */
        grid-template-rows: auto auto; /* Description first, chart second */
        gap: 2rem;
    }

    /* Description comes first on mobile */
    .feedback-description {
        order: 1;
        text-align: center;
    }

    /* Chart comes second on mobile */
    .radar-chart-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .feedback-heading {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .feedback-text {
        font-size: 0.9rem;
        line-height: 1.35rem;
    }

    /* Success Stories Section */
    .success-stories-section {
        min-height: auto;
        padding: clamp(2rem, 5vh, 3rem) clamp(1rem, 3vw, 2rem);
    }

    .success-stories-container {
        gap: clamp(3rem, 8vh, 5rem);
    }

    .success-stories-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: clamp(1.5rem, 4vh, 2rem);
    }

    .salisbury-story,
    .york-story {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vh, 2rem);
    }

    .salisbury-content,
    .york-content {
        gap: clamp(0.8rem, 1.5vh, 1rem);
    }

    /* On mobile, video should come after content for both stories */
    .salisbury-video {
        order: 2;
    }

    .salisbury-content {
        order: 1;
    }

    .york-video {
        order: 2;
    }

    .york-content {
        order: 1;
    }

    .salisbury-content .salisbury-logo,
    .york-logo {
        max-width: 60vw;
    }

    .salisbury-content .story-heading,
    .york-content .story-heading {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .salisbury-content .story-description,
    .york-content .story-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }
}


