@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@800&family=Inter&family=Lora&family=Work+Sans:wght@600&display=swap');

*{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

:root {
  --primary-light: #F8ECEA;
  --primary-dark:#3F1D3A;
  --secondary-light: #D67D6E;
  --white: #ffffff;
}


html {
    scroll-behavior: smooth;
}

.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1060; /* ensure it stays above other elements */
  display: none;
}

.toast-header{
    background-color: #fcf6f6;
    font-family: 'Sora';
}

#toastMessage{
    font-family: 'Sora';
}

.toast.show {
  display:inline;
}


.carousel-caption h5{
    font-family: 'Sora';
    font-weight: 900;
    font-size: 28px;
}

/* Welcome Section */
.welcome-page {
    padding: 120px 20px 80px;
    /* background: linear-gradient(135deg, #f8f8ff 0%, #ffffff 100%); */
    background: white;
    position: relative;
    overflow: hidden;
}

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.home-description {
    flex: 1;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

.home-description h1 {
    font-family: 'Sora';
    font-weight: 700;
    font-size: 56px;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.home-description p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--secondary-light);
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.home-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.home-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(44, 42, 74, 0.1);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.3s forwards;
}

.home-img:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(44, 42, 74, 0.15);
}

.home-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.home-img:hover img {
    transform: scale(1.03);
}

/* Button Styles */
.home-buttons button {
    height: 56px;
    width: 170px;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 0px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-buttons a{
    text-decoration: none !important;
}

.btn-get-started {
    background: var(--secondary-light);
    color: white;
    box-shadow: 0 4px 15px rgba(75, 140, 145, 0.3);
}

.btn-get-started:hover {
    background: #c06454;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 197, 247, 0.4);
}

.btn-book_a_demo {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(179, 170, 255, 0.4);
    box-shadow: 0 4px 15px rgba(179, 170, 255, 0.1);
}

.btn-book_a_demo:hover {
    background: rgba(179, 170, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(179, 170, 255, 0.2);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-20deg) translateX(20px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-10deg) translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .home-content {
        gap: 40px;
    }
    
    .home-description h1 {
        font-size: 48px;
    }
    
    .home-description p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .welcome-page {
        padding: 100px 20px 60px;
    }
    
    .home-content {
        flex-direction: column;
    }
    
    .home-description {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .home-buttons {
        justify-content: center;
    }
    
    .home-img {
        width: 100%;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .home-description h1 {
        font-size: 40px;
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .home-description p {
        animation: fadeInUp 0.8s ease-out 0.2s forwards;
    }
    
    .home-buttons {
        animation: fadeInUp 0.8s ease-out 0.4s forwards;
    }
    
    .home-img {
        animation: fadeInUp 0.8s ease-out 0.3s forwards;
    }
}

@media (max-width: 480px) {
    .home-description h1 {
        font-size: 32px;
    }
    
    .home-description p {
        font-size: 14px;
    }
    
    .home-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .home-buttons button {
        max-width: 120px;
        font-size: 12px;
        max-height: 45px;
    }
}

/* Profitability Section */
.profitability-section {
    padding: 80px 20px;
    background-color: var(--primary-light);
    position: relative;
}

.profitability-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2C2A4A;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    padding: 40px 30px;
    text-align: center;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--secondary-light);
    background-color: var(--primary-light);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background-color: var(--secondary-light);
    color: var(--primary-light);
    transform: scale(1.1);
}

.benefit-item h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2C2A4A;
    margin-bottom: 15px;
}

.benefit-item p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #2C2A4A;
    line-height: 1.7;
}

#learn-more-services{
    margin-top: 30px;
    background-color: transparent;
    color: #2C2A4A;
    border: solid 1px gray;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profitability-section {
        padding: 60px 20px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .benefit-item {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}


/* Our Services Section */
.our-services {
    background-color: white;
    padding: 80px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Sora';
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-header .tagline {
    font-family: 'Lora', serif;
    font-size: 11px;
    color: #2C2A4A;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2C2A4A;
    margin-bottom: 10px;
}

.card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #2C2A4A;
    margin-bottom: 20px;
    line-height: 1.5;
}

.details-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    background-color: #2C2A4A;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.details-btn:hover {
    background-color: #4b8c91;
}

/*Animation on scroll*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*Footer*/
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.tagline {
    color: var(--primary-dark);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 1rem 1.5rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    color: var(--primary-light);
    opacity: 0.8;
    line-height: 1.5;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-light);
}

.footer-links {
    list-style: none;
    display: flex;
    padding-left: 0;
    list-style-type: none;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-light);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--primary-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--secondary-light);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}



/* About Us Section */
.about-us {
    background-color: var(--primary-light);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.8;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-text p:first-of-type {
    margin-top: 30px;
}

.explore-btn {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    background-color: var(--secondary-light);
    color: white;
    border: none;
    padding: 12px 30px;
    /* border-radius: 4px; */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(75, 140, 145, 0.3);
}

.explore-btn:hover {
    background-color: #cf6350;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(75, 140, 145, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 80px 20px;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .about-image {
        width: 100%;
    }
    
    .about-text p:first-of-type {
        margin-top: 20px;
    }
    
    .explore-btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 60px 15px;
    }
    
    .about-container {
        gap: 30px;
    }
}



/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 20px;
    background-color: var(--primary-light);
    position: relative;
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-us .section-header h2 {
    font-family: 'Sora';
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.why-choose-us .section-header .tagline {
    font-family: 'Lora', serif;
    font-size: 11px;
    color: #4b8c91;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card:nth-child(odd) {
    background-color: rgba(179, 170, 255, 0.15); 
    border: 1px solid rgba(179, 170, 255, 0.3);
}

.benefit-card:nth-child(even) {
    background-color: rgba(44, 42, 74, 0.08); 
    border: 1px solid rgba(44, 42, 74, 0.2);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--secondary-light);
    background-color: rgba(75, 140, 145, 0.1);
}

.benefit-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2C2A4A;
    margin-bottom: 15px;
}

.benefit-card p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #2C2A4A;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 80px 20px;
    }
    
    .benefit-card {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .why-choose-us .section-header h2 {
        font-size: 28px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 20px;
    }
}



/* Membership Tiers Section */
.membership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}


.ad-hoc-intro {
    max-width: 800px;
    /* margin: 0 auto 50px; */
    margin-left: 80px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.ad-hoc-content {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4b8c91;
}

.ad-hoc-content i {
    color: #4b8c91;
    font-size: 24px;
    margin-right: 20px;
    margin-top: 3px;
}

.ad-hoc-content h3 {
    font-family: 'Epilogue', sans-serif;
    font-size: 20px;
    color: #2C2A4A;
    margin-bottom: 10px;
}

.ad-hoc-content p {
    color: #555;
    line-height: 1.6;
}


.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tier-card {
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.bronze {
    border-top: 5px solid #cd7f32;
}

.silver {
    border-top: 5px solid #c0c0c0;
}

.gold {
    border-top: 5px solid #ffd700;
}

.ad-hoc{
    border-top: 5px solid #7ac8e0;
}

.tier-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tier-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tier-description {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.tier-audience {
    font-weight: 500;
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.tier-features ul {
    list-style: none;
    padding-left: 0;
}

.tier-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.tier-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.sub-features {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sub-features li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.sub-features li:before {
    content: "•";
    color: #666;
}

/* Ad-Hoc Services */
.ad-hoc-services {
    margin-top: 4rem;
}

.service-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.coming-soon {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed #ccc;
}

.coming-soon h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #666;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

#feature-coming-soon{
    color: #666;
    size: 20px;
    margin-top: 10px;
}

#strategy-coming-soon{
    color: #949393;
}

#business-coming-soon{
    color: #949393;
}

#finance-coming-soon{
    color: #949393;
}

#tiers-footer{
    display: flex;
    justify-content: flex-start; 
    /* padding-left: 95px; */
    gap: 20px;
    margin-top: 10px;
    margin: 0 auto;
    /* width: 300px; */
}

.membership-tiers{
    margin-bottom: 40px;
}

#tiers-getInTouch{
    background-color:#638e91;
  
}



@media (max-width: 768px) {

    .ad-hoc-content {
        flex-direction: column;
    }
    
    .ad-hoc-content i {
        margin-bottom: 15px;
    }

    .ad-hoc-intro{
        margin-left: 0.5%;
    }

    #tiers-footer{
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    
    #tiers-footer {
        flex-direction: row;
        align-items: center;
    }
    
}

/* app adhoc services */

/* Improved Nexa Apps Section */
.nexa-apps-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.nexa-apps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.nexa-apps-header {
    text-align: center;
    margin-bottom: 60px;
}

.nexa-apps-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nexa-apps-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.nexa-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.nexa-app-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(230, 230, 230);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.nexa-app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.app-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nexa-app-card:hover .app-image img {
    transform: scale(1.05);
}

.app-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.app-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    flex-grow: 1;
}

.price {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 20px;
}

.price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

.app-actions {
    display: flex;
    gap: 12px;
    /* align-items: center; */
    align-items: flex-start;
    flex-wrap: wrap;
}

.add-to-cart-btn {
    background-color: var(--secondary-light);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:disabled{
    background-color: #acabab;
    color: white;
}

.add-to-cart-btn:disabled:hover{
    background-color: #acabab;
    color: white;
    cursor: not-allowed;
}

.add-to-cart-btn:hover {
    background-color: #c46a5c;
    transform: translateY(-2px);
}



.poa-add-to-cart-btn {
    background-color: var(--secondary-light);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.poa-add-to-cart-btn:disabled{
    background-color: #acabab;
    color: white;
}

.poa-add-to-cart-btn:disabled:hover{
    background-color: #acabab;
    color: white;
    cursor: not-allowed;
}

.poa-add-to-cart-btn:hover {
    background-color: #c46a5c;
    transform: translateY(-2px);
}



.view-demo-btn {
    background-color: var(--secondary-light);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-demo-btn:disabled{
    background-color: #acabab;
    color: white;
}

.view-demo-btn:disabled:hover{
    background-color: #acabab;
    color: white;
    cursor: not-allowed;
}

.view-demo-btn:hover {
    background-color: #c46a5c;
    transform: translateY(-2px);
}

.view-details-btn {
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 11px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.learn-more{
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 11px 20px;
    cursor: pointer;
    font-family: 'Sora';
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    gap: 8px;
}

.learn-more:hover{
    background-color: var(--primary-dark);
    color: white;
}

.view-details-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.nexa-app-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    width: 100%;
}






/* --------------- */
/* .nexa-apps-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.nexa-apps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.nexa-apps-header {
    text-align:left;
    margin-bottom: 60px;
}

.nexa-apps-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.nexa-apps-header p {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.nexa-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.nexa-app-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-light);
    display: flex;
    flex-direction: column;
    height: 80% !important;
}

.nexa-app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(214, 125, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-light);
    font-size: 24px;
}

.nexa-app-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.nexa-app-card p {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.nexa-app-card .price {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 25px;
}

.nexa-app-card .price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}



.add-to-cart-btn {
    background-color: var(--secondary-light);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: #d05a46;
    transform: translateY(-2px);
}

.add-to-cart-btn i {
    font-size: 0.8rem;
} */

.quantity-controls {
    display: none;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f5f5f5;
    border: none;
    color: var(--primary-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--secondary-light);
    color: white;
}

.quantity-display {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    color: var(--primary-dark);
}

.toggle-services-btn {
    display: block;
    margin: 40px auto 0;
    background: none;
    border: 2px solid var(--secondary-light);
    color: var(--secondary-light);
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-services-btn:hover {
    background-color: var(--secondary-light);
    color: white;
}

/* Initially hide extra services */
/* .nexa-apps-grid .nexa-app-card:nth-child(n+4) {
    display: none;
} */

/* Show all services when expanded */
/* .nexa-apps-grid.show-all .nexa-app-card {
    display: flex;
} */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* @media (max-width: 768px) {
    .nexa-apps-header h2 {
        font-size: 2rem;
    }
    
    .nexa-apps-header p {
        font-size: 0.9rem;
    }
    
    .nexa-app-card {
        padding: 25px;
    }
} */

@media (max-width: 992px) {
    .nexa-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nexa-apps-header h2 {
        font-size: 2rem;
    }
    
    .nexa-apps-header p {
        font-size: 1rem;
    }
    
    .nexa-apps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-actions {
        flex-direction: column;
    }

    .learn-more{
        width: 150px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .nexa-apps-section {
        padding: 60px 15px;
    }
    
    .nexa-apps-header h2 {
        font-size: 1.8rem;
    }

    .learn-more{
        width: 130px;
        height: 40px;
        font-size: 0.7rem;
    }
}

/* Contact Us Section */
.contact-us {
    background-color: #F8ECEA;
    padding: 40px 0;
    width: 100%;
}

.contact-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 5vw, 42px); /* Responsive font size */
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 3vw, 18px); /* Responsive font size */
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-card {
    background-color: #fcf7f6;
    padding: clamp(30px, 5vw, 50px); /* Responsive padding */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--medium-gray);
    max-width: 100%;
    margin: 0 auto;
}

.contact-options {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 40px;
}

.contact-option {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 30px;
}

.contact-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.option-content {
    flex: 1;
    width: 100%;
}

.contact-purpose {
    font-family: 'Sora', sans-serif;
    font-size: clamp(18px, 4vw, 20px); /* Responsive font size */
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.contact-desc {
    font-family: 'Sora', sans-serif;
    font-size: clamp(14px, 3vw, 15px); /* Responsive font size */
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping on very small screens */
}

.contact-email a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
    font-size: clamp(14px, 3vw, 16px); /* Responsive font size */
    transition: all 0.2s ease;
    padding: 5px 0;
    word-break: break-word; /* Prevent long email overflow */
}

.contact-email a:hover {
    color: var(--secondary-light);
}

.contact-email i {
    color: var(--secondary-light);
    font-size: clamp(14px, 3vw, 16px); /* Responsive font size */
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .contact-us {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .contact-options {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding: 20px 20px;
    }
    
    .contact-option {
        gap: 80px;
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .contact-card {
        max-width: 90%;
    }
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4b8c91;
    box-shadow: 0 0 0 2px rgba(75, 140, 145, 0.2);
}

.submit-btn {
    background-color: #4b8c91;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-family: 'Work Sans', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #3c7074;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subheading{
    color: #361a32;
    font-weight: 700;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 11000;
}
.video-modal.active { display: block; }
.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}
.video-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 92vw);
    background: #000;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    overflow: hidden;
}
.video-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    z-index: 2;
}
.video-modal__body { background: #000; }
.video-modal__video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-us {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    .contact-description{
        display: flex;
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: 1fr;
    }

    .contact-description{
        display: flex;
        justify-content: center;
    }

}

.free-trial-badge {
    background: linear-gradient(135deg, #d651b9 0%, #3F1D3A 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    cursor: pointer;
}

.free-trial-badge:hover{
    background: linear-gradient(135deg, #723e67 0%, #794c72 100%);
}

.start-trial-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 100;
}

.start-trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* Chatbot Icon */
.chatbot-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(63, 29, 58, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(63, 29, 58, 0.4);
}

.chatbot-icon i {
    color: var(--white);
    font-size: 24px;
}

/* Chatbot Modal */
.chatbot-modal {
  position: fixed;                    
  right: max(16px, env(safe-area-inset-right)); 
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
  width: clamp(280px, 90vw, 360px);    
  height: clamp(360px, 75vh, 600px);  
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;
  z-index: 1001;
}

.chatbot-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--primary-light);
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message-bot, .message-user {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 5px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.message-bot {
    background: var(--white);
    border: 1px solid #e0e0e0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-bot h1,
.message-bot h2,
.message-bot h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 6px;
    color: var(--primary-dark);
}

.message-bot p {
    margin: 6px 0;
}

.message-bot ul {
    margin: 8px 0 8px 18px;
    padding: 0;
    list-style-type: disc;
}

.message-bot li {
    margin-bottom: 6px;
}

.message-bot strong,
.message-bot b {
    font-weight: 600;
    color: var(--primary-dark);
}

.message-bot a {
    color: var(--secondary-light);
    text-decoration: none;
    font-weight: 500;
}

.message-bot a:hover {
    text-decoration: underline;
}

.message-bot table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 13px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden; /* for rounded corners */
}

.message-bot th,
.message-bot td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.message-bot th {
    background: #f3f5f9;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 2px solid #ddd;
}

.message-bot tr:last-child td {
    border-bottom: none;
}

.message-bot tr:nth-child(even) {
    background: #fafafa;
}

.message-bot ol {
    margin: 8px 0 8px 18px; 
    padding: 0;
    list-style-type: decimal; 
}

.message-bot ol li {
    margin-bottom: 6px;
    line-height: 1.5;
    padding-left: 4px;
}

.message-user {
    background: var(--secondary-light);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 11px;
    color: #888;
    align-self: flex-end;
    margin-top: 2px;
}

.message-user + .message-time {
    align-self: flex-end;
}

.message-bot + .message-time {
    align-self: flex-start;
}

.typing-indicator {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    padding: 10px 15px;
    align-self: flex-start;
    margin-bottom: 15px;
    display: none;
    width: 20%;
    border-bottom-left-radius: 5px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
    animation: typing 1s infinite;
}

.typing-indicator span:nth-of-type(2) {
    animation: typing 1s 0.33s infinite;
}

.typing-indicator span:nth-of-type(3) {
    animation: typing 1s 0.66s infinite;
}

/* Chat Input Area */
.chat-input {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.send-button {
    background: var(--secondary-light);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.send-button:hover {
    background: #b56157;
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: #f0f0f0;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 125, 110, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(214, 125, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 125, 110, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
  .chatbot-modal {
    width: 95vw;            
    max-width: 100%;        
    left: 4%;              
    right: 4%;            
    transform: translateX(-50%) translateY(20px) scale(0.9);
    border-radius: 10px;   
    height: calc(100vh - 35vh);
    }
    
    .chatbot-container {
        right: 15px;
        bottom: 15px;
    }
}

@media (max-height: 560px) {
  .chatbot-modal {
    height: calc(100vh - 100px); /* Use most vertical space */
    width: 90vw;     
    left: 0;         
    transform: translateY(20px) scale(0.9);
  }
}

@media (max-width: 360px) {
  .chatbot-modal {
    width: 100vw;     
    left: 0;         
    transform: translateY(20px) scale(0.9);
    border-radius: 0; 
  }
}

.chatbot-container {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.chat-footer {
    padding: 8px 15px;
    border-top: 1px solid #e0e0e0;
    background: var(--primary-light);
    text-align: center;
}

.tos-link {
    color: var(--secondary-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.tos-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--primary-light);
    padding-bottom: 5px;
}

/* Improved Terms Modal Styles */
.terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.terms-modal.active {
    display: flex;
}

.terms-modal-content {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.terms-modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    position: relative;
    background: var(--white);
    border-radius: 16px 16px 0 0;
}

.terms-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.terms-modal-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.terms-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-light) 0%, #c46a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(214, 125, 110, 0.25);
}

.terms-icon i {
    color: var(--white);
    font-size: 24px;
}

.terms-modal-body {
    padding: 0 32px 24px;
}

.terms-content {
    margin-bottom: 24px;
}

.last-updated {
    text-align: right;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
    font-size: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.terms-section {
    margin-bottom: 24px;
}

.terms-section h3 {
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.terms-section p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 14px;
}

.disclaimer-box {
    background-color: var(--primary-light);
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--secondary-light);
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
}

.disclaimer-box p {
    margin: 0;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
}

.disclaimer-box strong {
    font-weight: 600;
    color: var(--primary-dark);
}

.terms-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.terms-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.terms-option:hover {
    border-color: var(--secondary-light);
    box-shadow: 0 4px 12px rgba(214, 125, 110, 0.1);
    transform: translateY(-1px);
}

.terms-option input[type="checkbox"] {
    margin-right: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-light);
}

.terms-option label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
    flex: 1;
}

.terms-modal-footer {
    display: flex;
    justify-content: center;
    padding: 0 32px 32px;
}

.accept-terms-btn {
    background: linear-gradient(135deg, var(--secondary-light) 0%, #c46a5c 100%);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(214, 125, 110, 0.25);
    position: relative;
    overflow: hidden;
}

.accept-terms-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.accept-terms-btn:hover:before {
    left: 100%;
}

.accept-terms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(214, 125, 110, 0.35);
}

.accept-terms-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(214, 125, 110, 0.25);
}

.accept-terms-btn:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.accept-terms-btn:disabled:hover:before {
    left: -100%;
}

/* Close button */
.terms-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    z-index: 10001;
}

.terms-close:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .terms-modal {
        padding: 16px;
    }
    
    .terms-modal-content {
        max-width: 100%;
        margin: 0;
    }
    
    .terms-modal-header {
        padding: 24px 20px 20px;
    }
    
    .terms-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .terms-icon {
        width: 50px;
        height: 50px;
    }
    
    .terms-icon i {
        font-size: 20px;
    }
    
    .terms-modal-body {
        padding: 0 20px 20px;
    }
    
    .terms-option {
        padding: 14px 16px;
    }
    
    .terms-option label {
        font-size: 15px;
    }
    
    .terms-modal-footer {
        padding: 0 20px 20px;
    }
    
    .accept-terms-btn {
        padding: 12px 24px;
    }
    
    .terms-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 482px) {
    .terms-modal-content {
        padding: 20px;
    }
    
    .terms-modal-header h2 {
        font-size: 1rem;
    }
    
    .terms-modal-body p {
        font-size: 13px;
    }
    
    .terms-option {
        padding: 12px 14px;
    }
    
    .terms-option label {
        font-size: 14px;
    }
}


@media (max-width: 380px) {
    .terms-modal-content {
        padding: 20px;
    }
    
    .terms-modal-header h2 {
        font-size: 1rem;
    }
    .terms-close{
        width: 25px;
        height: 25px;
    }
    
    .terms-modal-body p {
        font-size: 15px;
    }
    
    .terms-option {
        padding: 12px 14px;
    }
    
    .terms-option label {
        font-size: 14px;
    }
}

/* (Removed custom scrollbar rules to use native scrolling) */
